The sources mojo doesn't have that even though I swore it did. You can use the copy dependencies instead, set the classifier to sources, and set the failOnMissingClassifierArtifact = false. This will take the list of dependencies (filtered optionally) and then try to retrieve the classified version (sources in this case). The sources mojo is using the exact same code, it just doesn't have all the options.
(if you could file a jira for that, then I won't forget to add the param to the other mojos) -----Original Message----- From: Adrian Gonzalez [mailto:[EMAIL PROTECTED] Sent: Monday, September 17, 2007 5:05 PM To: Maven Users List Subject: copy-dependencies and sources Hello, I'm using dependency plugin to load my project jar dependencies. I would like to use it to download source dependencies, but it generates an error whenever there's no source available in mvn repo. Is there a way to ignore unavailable sources ? I looked at similar thread http://www.nabble.com/copy-dependecies---sources-tf3599434s177.html#a100 53803, but there's no answer. Thanks very much ! ________________________________________________________________________ _____ Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]