mvn pax:eclipse does not attach sources & javadocs as expected

Description

Despite having -Ddownload{Sources|Javadocs}=true in MAVEN_OPTS and/or specifying it as first argument, pax:eclipse does not attach sources or javadocs to dependencies in the generated .classpath file.

Environment

maven 2.2.1, Windows XP

Activity

Show:
StuartS
December 7, 2009, 7:15 AM

I think you'll need to provide a testcase that shows this problem. I tried "mvn clean install pax:eclipse -DdownloadSources -DdownloadJavadocs" for a simple project just now and it correctly attached both source and javadoc.

Holger Hoffstätte
December 7, 2009, 7:33 AM

You are absolutely right - pilot error. mvn clean did the trick; simply deleting .classpath did not work. Sorry for the noise!

Assignee

StuartS

Reporter

Holger Hoffstätte

Labels

None

Components

Affects versions

Priority

Major
Configure