You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rave.apache.org by ca...@apache.org on 2012/01/10 19:19:50 UTC

svn commit: r1229667 - /incubator/rave/trunk/pom.xml

Author: carlucci
Date: Tue Jan 10 18:19:49 2012
New Revision: 1229667

URL: http://svn.apache.org/viewvc?rev=1229667&view=rev
Log:
RAVE-414: Generate source jars as part of maven build process

Modified:
    incubator/rave/trunk/pom.xml

Modified: incubator/rave/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/rave/trunk/pom.xml?rev=1229667&r1=1229666&r2=1229667&view=diff
==============================================================================
--- incubator/rave/trunk/pom.xml (original)
+++ incubator/rave/trunk/pom.xml Tue Jan 10 18:19:49 2012
@@ -582,9 +582,29 @@
                 		</lifecycleMappingMetadata>
                 	</configuration>
                 </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-source-plugin</artifactId>
+                    <version>2.1.2</version>
+                </plugin>
             </plugins>
         </pluginManagement>
-
+        <!-- execute the maven source plugin as part of the verify phase -->
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-source-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>attach-sources</id>
+                        <phase>verify</phase>
+                        <goals>
+                            <goal>jar-no-fork</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
     </build>
     <reporting>
         <plugins>