openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From curti...@apache.org
Subject svn commit: r1360411 - /openjpa/trunk/openjpa-tools/openjpa-fetch-statistics-was/pom.xml
Date Wed, 11 Jul 2012 21:27:12 GMT
Author: curtisr7
Date: Wed Jul 11 21:27:12 2012
New Revision: 1360411

URL: http://svn.apache.org/viewvc?rev=1360411&view=rev
Log:
OPENJPA-2220: Update pom.xml to use the shaded jar rather than the default jar.

Modified:
    openjpa/trunk/openjpa-tools/openjpa-fetch-statistics-was/pom.xml

Modified: openjpa/trunk/openjpa-tools/openjpa-fetch-statistics-was/pom.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-tools/openjpa-fetch-statistics-was/pom.xml?rev=1360411&r1=1360410&r2=1360411&view=diff
==============================================================================
--- openjpa/trunk/openjpa-tools/openjpa-fetch-statistics-was/pom.xml (original)
+++ openjpa/trunk/openjpa-tools/openjpa-fetch-statistics-was/pom.xml Wed Jul 11 21:27:12 2012
@@ -45,10 +45,20 @@
 	</licenses>
 
 	<build>
-		<!-- <finalName>${artifactId}-${project.version}-no-dependencies</finalName>
 -->
+		<!-- Skip the default jar so it doesn't overwrite the shaded jar -->
 		<plugins>
 			<plugin>
 				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-jar-plugin</artifactId>
+				<executions>
+					<execution>
+						<phase>none</phase>
+					</execution>
+				</executions>
+			</plugin>
+		
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
 				<artifactId>maven-surefire-plugin</artifactId>
 				<configuration>
 					<argLine>${surefire.jvm.args}</argLine>
@@ -71,13 +81,11 @@
 							<goal>shade</goal>
 						</goals>
 						<configuration>
-						<!-- <finalName>${artifactId}-${project.version}-all</finalName>  -->
 							<artifactSet>
 								<includes>
 									<include>org.apache.openjpa:*statistics</include>
 								</includes>
 							</artifactSet>
-							<shadedArtifactAttached>true</shadedArtifactAttached>
 							<transformers>
 								<transformer
 									implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">



Mime
View raw message