[java-parent-projects COMMIT] /java-parent-project-v3/trunk/pom.xml

noreply at shibboleth.net noreply at shibboleth.net
Fri Jan 24 20:45:26 EST 2014


Author: tzeller
Date: Fri Jan 24 20:45:26 2014
New Revision: 219

URL: http://svn.shibboleth.net/view/java-parent-projects?rev=219&view=rev
Log:
JPAR-39 Create test jars by default instead of via the "release" profile.

Modified:
    java-parent-project-v3/trunk/pom.xml

Modified: java-parent-project-v3/trunk/pom.xml
URL: http://svn.shibboleth.net/view/java-parent-projects/java-parent-project-v3/trunk/pom.xml?rev=219&r1=218&r2=219&view=diff
==============================================================================
--- java-parent-project-v3/trunk/pom.xml (original)
+++ java-parent-project-v3/trunk/pom.xml Fri Jan 24 20:45:26 2014
@@ -545,6 +545,7 @@
                 </plugin>
             </plugins>
         </pluginManagement>
+
         <plugins>
             <!--
                 Checkstyle configuration for checkstyle:* goals called directly
@@ -556,6 +557,20 @@
                 <configuration>
                     <configLocation>${checkstyle.configLocation}</configLocation>
                 </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-jar-plugin</artifactId>
+                <configuration>
+                    <skipIfEmpty>true</skipIfEmpty>
+                </configuration>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>test-jar</goal>
+                        </goals>
+                    </execution>
+                </executions>
             </plugin>
         </plugins>
     </build>
@@ -724,26 +739,10 @@
                             <debug>true</debug>
                         </configuration>
                     </plugin>
+                    <!-- TODO what does this plugin do ? -->
                     <plugin>
                         <groupId>org.apache.maven.plugins</groupId>
                         <artifactId>maven-dependency-plugin</artifactId>
-                    </plugin>
-                    <plugin>
-                        <!-- To depend on a test jar us something a dependency definition that looks like this <dependency> 
-                            <groupId>GROUPID</groupId> <artifactId>ARTIFACTID</artifactId> <version>VERSION</version> <type>test-jar</type> <scope>test</scope> 
-                            </dependency> -->
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-jar-plugin</artifactId>
-                        <configuration>
-                            <skipIfEmpty>true</skipIfEmpty>
-                        </configuration>
-                        <executions>
-                            <execution>
-                                <goals>
-                                    <goal>test-jar</goal>
-                                </goals>
-                            </execution>
-                        </executions>
                     </plugin>
                     <plugin>
                         <groupId>org.apache.maven.plugins</groupId>



More information about the commits mailing list