Author: rhauch
Date: 2008-05-07 09:36:32 -0400 (Wed, 07 May 2008)
New Revision: 118
Modified:
trunk/pom.xml
Log:
Added production of source JARs to the 'verify' phase.
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2008-05-06 22:25:58 UTC (rev 117)
+++ trunk/pom.xml 2008-05-07 13:36:32 UTC (rev 118)
@@ -19,7 +19,7 @@
<module>dna-maven-classloader</module>
</modules>
<properties>
- <dna-version>0.1-SNAPSHOT</dna-version>
+ <dna-version>${project.version}</dna-version>
</properties>
<profiles>
<profile>
@@ -136,7 +136,21 @@
<showWarnings>false</showWarnings>
</configuration>
</plugin>
+ <!-- Produce source jars during the 'verify' phase -->
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<includes>
Show replies by date