Sweet. Thanks. PS : I figured out that setting an IDEA Path Variable pointing to the local maven repository before generating the IDEA project files results in the generated files having library paths with the Path Variable. This is very useful when sharing project files with other team members.
On 7/28/06, Roald Bankras <[EMAIL PROTECTED]> wrote:
Hey Sanjiv By placing the following in your pom, your idea project will contain the sources and javadocs as far as they are available in the maven repository. <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-idea-plugin</artifactId> <configuration> <jdkName>1.5.0_06</jdkName> <downloadSources>true</downloadSources> <downloadJavadocs>true</downloadJavadocs> <dependenciesAsLibraries>true</dependenciesAsLibraries> </configuration> </plugin> </plugins> </build> Roald Bankras Software Engineer JTeam b.v. -----Original Message----- From: Sanjiv Jivan [mailto:[EMAIL PROTECTED] Sent: Friday, July 28, 2006 5:56 AM To: users@maven.apache.org Subject: Fwd: mvn idea:idea question Not sure if my first mail went through as I was not subscribed to the list. ---------- Forwarded message ---------- From: Sanjiv Jivan <[EMAIL PROTECTED]> Date: Jul 27, 2006 11:42 PM Subject: mvn idea:idea question To: users@maven.apache.org Anyone know how to use this plugin so that it creates an IDEA project with the dependencies as project modules with ability to attach source/javadocs as opposed to the default where the individual jar are included (not as libraries). I also found a new idea plugin here : http://ci.codehaus.org:8002/continuum/servlet/continuum/target/WorkingCopy.vm/view/WorkingCopy/id/45?userDirectory=target How do I install this? Thanks, Sanjiv -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.4/401 - Release Date: 7/26/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.4/401 - Release Date: 7/26/2006 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]