[jboss-svn-commits] JBL Code SVN: r20345 - labs/jbossbuild/jboss-parent/trunk.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Thu Jun 5 18:19:46 EDT 2008


Author: pgier
Date: 2008-06-05 18:19:46 -0400 (Thu, 05 Jun 2008)
New Revision: 20345

Modified:
   labs/jbossbuild/jboss-parent/trunk/pom.xml
Log:
Adding pluginManagement to specify default versions for all plugins.
Removing use of old jboss-deploy plugin.  This should be used as needed.

Modified: labs/jbossbuild/jboss-parent/trunk/pom.xml
===================================================================
--- labs/jbossbuild/jboss-parent/trunk/pom.xml	2008-06-05 22:10:03 UTC (rev 20344)
+++ labs/jbossbuild/jboss-parent/trunk/pom.xml	2008-06-05 22:19:46 UTC (rev 20345)
@@ -22,22 +22,17 @@
   <name>JBoss Parent POM</name>
   <description>Parent POM for JBoss projects. Provides default project build configuration.</description>
   <url>http://www.jboss.org</url>
-  <prerequisites>
-    <maven>2.0</maven>
-  </prerequisites>
+
   <issueManagement>
     <system>jira</system>
     <url>http://jira.jboss.com/</url>
   </issueManagement>
-  <!-- 
-    - The parent pom should not include scm configuration, because we don't want child projects
-    - to inherit this information.  The child projects should each set their own repository URL
-    - <scm>
-    -   <connection>scm:svn:http://anonsvn.jboss.org/repos/labs/labs/jbossbuild/jboss-parent/trunk/</connection>    
-    -   <developerConnection>scm:svn:https://svn.jboss.org/repos/labs/labs/jbossbuild/jboss-parent/trunk/</developerConnection>   
-    - </scm>
-    - This section should stay commented out.
-    -->
+  
+  <scm>
+    <connection>scm:svn:http://anonsvn.jboss.org/repos/labs/labs/jbossbuild/jboss-parent/trunk/</connection>    
+    <developerConnection>scm:svn:https://svn.jboss.org/repos/labs/labs/jbossbuild/jboss-parent/trunk/</developerConnection>   
+  </scm>
+  
   <licenses>
     <license>
       <name>lgpl</name>
@@ -45,10 +40,12 @@
       <url>http://repository.jboss.com/licenses/lgpl.txt</url>
     </license>
   </licenses>
+  
   <organization>
     <name>JBoss, a division of Red Hat, Inc.</name>
     <url>http://www.jboss.org</url>
   </organization>
+  
   <build>
     <extensions>
       <extension>
@@ -58,35 +55,6 @@
       </extension>
     </extensions>
     <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-site-plugin</artifactId>
-        <version>2.0-beta-6</version>
-      </plugin>
-      
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-install-plugin</artifactId>
-        <version>2.2</version>
-      </plugin>
-      
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-deploy-plugin</artifactId>
-        <version>2.3</version>
-      </plugin>
-
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-clean-plugin</artifactId>
-        <version>2.2</version>
-      </plugin>
-      
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-resources-plugin</artifactId>
-        <version>2.2</version>
-      </plugin>
       <!--
         Note: this should be uncommented when enforcer 1.0 is released.
       <plugin>
@@ -127,13 +95,10 @@
           
           -  Since we include source jars in the repo, we don't need the javadoc jars. -->
           <useReleaseProfile>false</useReleaseProfile>
-          
-          <!-- The release plugin activates a custom profile called "release". -->
-          <arguments>-Prelease</arguments>
         </configuration>
         <inherited>true</inherited>
       </plugin>
-      <!-- define that we wish to create src jars -->
+      <!-- All JBoss projects should create and deploy source jars -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-source-plugin</artifactId>
@@ -149,10 +114,56 @@
         </executions>
       </plugin>
     </plugins>
+    
     <pluginManagement>
       <plugins>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-antrun-plugin</artifactId>
+          <version>1.1</version>
+        </plugin>       
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-assembly-plugin</artifactId>
+          <version>2.2-beta-2</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-clean-plugin</artifactId>
+          <version>2.2</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-compiler-plugin</artifactId>
+          <version>2.0.2</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-dependency-plugin</artifactId>
+          <version>2.0</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-deploy-plugin</artifactId>
+          <version>2.3</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-ear-plugin</artifactId>
+          <version>2.3.1</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-ejb-plugin</artifactId>
+          <version>2.1</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-install-plugin</artifactId>
+          <version>2.2</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-jar-plugin</artifactId>
           <version>2.2</version>
           <configuration>
@@ -166,26 +177,56 @@
               </manifestEntries>
             </archive>
           </configuration>
-          <inherited>true</inherited>
         </plugin>
         <plugin>
-          <groupId>org.jboss.maven.plugins</groupId>
-          <artifactId>maven-jboss-deploy-plugin</artifactId>
-          <version>1.3</version>
-          <executions>
-            <execution>
-              <goals>
-                <goal>jboss-deploy</goal>
-              </goals>
-            </execution>
-          </executions>
-          <configuration>
-            <jbossDeployRoot>${jboss.repository.root}</jbossDeployRoot>
-          </configuration>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-javadoc-plugin</artifactId>
+          <version>2.4</version>
         </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-plugin-plugin</artifactId>
+          <version>2.4.1</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-rar-plugin</artifactId>
+          <version>2.2</version>
+        </plugin>
+        <plugin>                
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-release-plugin</artifactId>
+          <version>2.0-beta-7</version>
+        </plugin>
+        <plugin>                
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-resources-plugin</artifactId>
+          <version>2.2</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-site-plugin</artifactId>
+          <version>2.0-beta-6</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-source-plugin</artifactId>
+          <version>2.0.4</version>
+        </plugin>         
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-surefire-plugin</artifactId>
+          <version>2.4.2</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-war-plugin</artifactId>
+          <version>2.1-alpha-1</version>
+        </plugin>
       </plugins>
     </pluginManagement>
   </build>
+  
   <profiles>
     <!-- This profile is activated when a project is released. -->
     <profile>
@@ -216,6 +257,7 @@
         </repository>
       </repositories>
     </profile>
+    
     <!-- Activating this profile will cause developer reports to be generated.
       -  These are reports that are not required for the project site, but
       -  may be useful to developers. -->
@@ -259,6 +301,7 @@
         </plugins>
       </reporting>
     </profile>
+    
     <!-- Profile to include code coverage reports -->
     <profile>
       <id>code-coverage</id>
@@ -273,6 +316,7 @@
       </reporting>
     </profile>
   </profiles>
+  
   <reporting>
     <plugins>
       <plugin>
@@ -309,6 +353,7 @@
       </plugin>
     </plugins>
   </reporting>
+  
   <distributionManagement>
     <repository>
       <!-- Copy the distribution jar file to a local checkout of the maven repository 
@@ -322,4 +367,5 @@
       <url>dav:https://snapshots.jboss.org/maven2</url>
     </snapshotRepository>
   </distributionManagement>
+  
 </project>




More information about the jboss-svn-commits mailing list