Thanks for the response Martin, I did look at that documentation and added the downloadSources and downloadJavadocs elements in the pom for the eclipse plugin.
However, I have a profile named "assemble". This profile depends on a property named "assemble". So when I run maven like mvn eclipse:eclipse -Dassemble It executes the "assemble" profile. I want to achieve something similar (i.e. execute the assemble profile) with the following command (i.e. without setting the assemble property): mvn eclipse:eclipse How do I do this? On Wed, Jun 18, 2008 at 3:45 AM, Martin Höller <[EMAIL PROTECTED]> wrote: > On Monday 16 June 2008 Karan Malhi wrote: > > Hi, > > > > I have a requirement to configure the eclipse plugin within the pom so > > that I can replace the following > > > > mvn eclipse:eclipse -DdownloadSources=true -DdownloadJavadocs=true > > -DsomeProperty > > > > with something in the pom so that I should be able to simply run > > mvn eclipse:eclipse and download sources and javadocs. > > See the eclipse plugin documentation at > > http://maven.apache.org/plugins/maven-eclipse-plugin/examples/attach-library-sources.html > > hth, > - martin > -- Karan Singh Malhi
