ops4j / org.ops4j.pax.construct

Build, manage and deploy many types of OSGi bundles
https://ops4j1.jira.com/wiki/display/paxconstruct/Pax+Construct
24 stars 14 forks source link

mvn pax:eclipse does not attach sources & javadocs as expected [PAXCONSTRUCT-130] #142

Closed ops4j-issues closed 14 years ago

ops4j-issues commented 14 years ago

Holger Hoffstätte created PAXCONSTRUCT-130

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.


Affects: 1.4 Votes: 0, Watches: 0

ops4j-issues commented 14 years ago

Stuart McCulloch commented

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.

ops4j-issues commented 14 years ago

Holger Hoffstätte commented

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