You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@excalibur.apache.org by sh...@apache.org on 2006/02/26 00:01:44 UTC
svn commit: r381014 - /excalibur/trunk/pom.xml
Author: shash
Date: Sat Feb 25 15:01:43 2006
New Revision: 381014
URL: http://svn.apache.org/viewcvs?rev=381014&view=rev
Log:
Add config for maven-source-plugin so that the source plugin is attached to install process
Add config for eclipse plugin to use above source, and also to generate classes in different dir than Maven
Modified:
excalibur/trunk/pom.xml
Modified: excalibur/trunk/pom.xml
URL: http://svn.apache.org/viewcvs/excalibur/trunk/pom.xml?rev=381014&r1=381013&r2=381014&view=diff
==============================================================================
--- excalibur/trunk/pom.xml (original)
+++ excalibur/trunk/pom.xml Sat Feb 25 15:01:43 2006
@@ -106,6 +106,20 @@
</configuration>
</plugin>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <configuration>
+ <attach>true</attach>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
@@ -163,6 +177,37 @@
</goals>
</execution>
</executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-eclipse-plugin</artifactId>
+ <configuration>
+ <!--
+ This will avoid Maven and Eclipse sharing each-others generated classes
+ since they use different compilers.
+ Make sure to ignore eclipse-classes for SCM checkin/diff in Eclipse:
+ Window->Preferences->Team->Ignored Resources
+ -->
+ <buildOutputDirectory>${basedir}/eclipse-classes</buildOutputDirectory>
+ <wtpversion>1.0</wtpversion>
+ <useProjectReferences>false</useProjectReferences>
+ <downloadSources>true</downloadSources>
+ <buildcommands>
+ <buildcommand>org.eclipse.jdt.core.javabuilder</buildcommand>
+ </buildcommands>
+ <!--
+ <projectnatures>
+ <projectnature>org.eclipse.jdt.core.javanature</projectnature>
+ </projectnatures>
+ -->
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>eclipse</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
</plugins>
</build>
---------------------------------------------------------------------
To unsubscribe, e-mail: scm-unsubscribe@excalibur.apache.org
For additional commands, e-mail: scm-help@excalibur.apache.org