You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rave.apache.org by mp...@apache.org on 2011/08/10 22:18:50 UTC

svn commit: r1156348 - /incubator/rave/trunk/rave-portal/pom.xml

Author: mpierce
Date: Wed Aug 10 20:18:50 2011
New Revision: 1156348

URL: http://svn.apache.org/viewvc?rev=1156348&view=rev
Log:
(RAVE-171) Modifications for makging both a rave-portal.war and rave-portal.jar and button both in the local repository.  There may be an easier way to do this.

Modified:
    incubator/rave/trunk/rave-portal/pom.xml

Modified: incubator/rave/trunk/rave-portal/pom.xml
URL: http://svn.apache.org/viewvc/incubator/rave/trunk/rave-portal/pom.xml?rev=1156348&r1=1156347&r2=1156348&view=diff
==============================================================================
--- incubator/rave/trunk/rave-portal/pom.xml (original)
+++ incubator/rave/trunk/rave-portal/pom.xml Wed Aug 10 20:18:50 2011
@@ -201,6 +201,41 @@
     <build>
         <defaultGoal>install</defaultGoal>
         <plugins>
+			 <plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-jar-plugin</artifactId>
+				<executions>
+				  <execution>
+					 <id>make-the-jar</id>
+					 <phase>compile</phase>
+					 <goals>
+						<goal>jar</goal>
+					 </goals>
+				  </execution>
+				</executions>
+			 </plugin>
+			 <plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-install-plugin</artifactId>
+				<executions>
+				  <execution>
+					 <id>install-the-jar</id>
+					 <phase>install</phase>
+					 <goals>
+						<goal>install-file</goal>
+					 </goals>
+					 <configuration>
+						<packaging>jar</packaging>
+						<artifactId>${project.artifactId}</artifactId>
+						<groupId>${project.groupId}</groupId>
+						<version>${project.version}</version>
+						<file>
+						  ${project.build.directory}/${project.artifactId}-${project.version}.jar
+						</file>
+				  </configuration>
+				  </execution>
+				</executions>
+			 </plugin>
             <!--
               fix for war processing of m-r-r-plugin causing the generated NOTICE and LICENSE file to be put under
               WEB-INF/classes/META-INF