On Mon, Dec 8, 2008 at 6:48 AM, Adam Hardy <[EMAIL PROTECTED]> wrote: > I'm using > > mvn dependency:source -Dclassifier=javadoc > > to try to get maven to retrieve the javadoc jars for all my dependencies > from the central repo and put them into my local repo. > > It's not working though.
The 'sources' goal (typo above?) says it's a "Goal that resolves the project source dependencies from the repository" so I wouldn't expect it to work for javadocs. (Most likely it hard-codes the classifier to get the -sources jar, which would explain the behavior you see.) I agree the docs are confusing, listing the classifier as something you can set. http://maven.apache.org/plugins/maven-dependency-plugin/sources-mojo.html Either a new goal like dependency:javadoc might be in order, or try one of the other goals and see if one of them will respect -Dclassifier on the command line. -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
