Hi Alas, the jar does not include the binaries. So you have to add both the jars. Three if you also want the javadoc available. Futhermore, all jars will automatically be packaged into a war file, which is something I don't like. Is there an easy way to exclude the source/javadoc jars from your final package? Finally I haven't been able to make the idea-plugin setup the classpath correctly for the modules. Instead of adding the source-jar as source to the binary jar, it adds it as just another jar. Does anybody know how the handle this? Any help is appreciated.
Roald Bankras Software Engineer JTeam b.v. -----Original Message----- From: Alexandre Poitras [mailto:[EMAIL PROTECTED] Sent: Monday, May 08, 2006 10:25 PM To: Maven Users List Subject: Re: [m2] download sources to local repo Add this to your dependency : <type>java-source</type> *I don't know if you need to add both a normal jar dependency and a java-source dependency. My guess is that a java-source dependency automatically include the binary jar in the build but I could be wrong. On 5/8/06, delasoul <[EMAIL PROTECTED]> wrote: > > > Hello, > > for certain projects our build generates an additional > ***-sources.jarfile which is deployed to our remote repository. > If I have a dependency on one of these projects I want this > ***-source.jar to be downloaded to my local repo together with the artifact > jar. > > Is there a possibility to do this without using the eclipse plugin? > > thanx in advance for any help, > > michael > > -- > View this message in context: > http://www.nabble.com/-m2-download-sources-to-local-repo-t1577673.html > #a4283001 Sent from the Maven - Users forum at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.392 / Virus Database: 268.5.5/333 - Release Date: 5/5/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.392 / Virus Database: 268.5.5/333 - Release Date: 5/5/2006 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
