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

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Fri Mar 21 12:51:37 EDT 2008


Author: pgier
Date: 2008-03-21 12:51:37 -0400 (Fri, 21 Mar 2008)
New Revision: 19180

Modified:
   labs/jbossbuild/jboss-parent/trunk/pom.xml
Log:
Some version updates.  Move jar plugin into plugin management.

Modified: labs/jbossbuild/jboss-parent/trunk/pom.xml
===================================================================
--- labs/jbossbuild/jboss-parent/trunk/pom.xml	2008-03-21 16:07:28 UTC (rev 19179)
+++ labs/jbossbuild/jboss-parent/trunk/pom.xml	2008-03-21 16:51:37 UTC (rev 19180)
@@ -20,8 +20,7 @@
   <artifactId>jboss-parent</artifactId>
   <packaging>pom</packaging>
   <name>JBoss Parent POM</name>
-  <description>Parent POM for all JBoss Projects. Provides default project build
-    configuration.</description>
+  <description>Parent POM for JBoss projects. Provides default project build configuration.</description>
   <url>http://www.jboss.org</url>
   <prerequisites>
     <maven>2.0</maven>
@@ -42,6 +41,7 @@
   <licenses>
     <license>
       <name>lgpl</name>
+      <!-- <url>http://www.gnu.org/licenses/lgpl.txt</url> -->
       <url>http://repository.jboss.com/licenses/lgpl.txt</url>
     </license>
   </licenses>
@@ -52,47 +52,87 @@
   <build>
     <extensions>
       <extension>
-	      <groupId>org.apache.maven.wagon</groupId>
-	      <artifactId>wagon-webdav</artifactId>
-	      <version>1.0-beta-2</version>
+        <groupId>org.apache.maven.wagon</groupId>
+        <artifactId>wagon-webdav</artifactId>
+        <version>1.0-beta-2</version>
       </extension>
     </extensions>
     <plugins>
       <plugin>
-        <groupId>org.apache.maven.plugins</groupId>        
+        <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>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-enforcer-plugin</artifactId>
+        <version>1.0-SNAPSHOT</version>
+        <executions>
+          <execution>
+            <id>enforce-plugin-versions</id>
+            <goals>
+              <goal>enforce</goal>
+            </goals>
+            <configuration>
+              <rules>
+                <requirePluginVersions>
+                  <message>Best Practice is to always define plugin versions!</message>
+                  <banLatest>true</banLatest>
+                  <banRelease>true</banRelease>
+                  <banSnapshots>false</banSnapshots>
+                </requirePluginVersions>
+              </rules>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>-->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-release-plugin</artifactId>
-        <version>2.0-beta-6</version>          
+        <version>2.0-beta-6</version>
         <configuration>
           <!-- The tagBase property is needed during the release process so that the maven release plugin
-            -  will create the tag in the appropriate svn location. If the svn location is the default 
-            -  of "../tags" then we don't need to specify the tagBase. -->
+          -  will create the tag in the appropriate svn location. If the svn location is the default 
+          -  of "../tags" then we don't need to specify the tagBase. -->
+          
           <!--<tagBase>https://svn.jboss.org/repos/labs/labs/jbossbuild/jboss-parent/tags/</tagBase>-->
           
           <!-- We don't want to use the default release profile because it creates javadoc jars for the repo.
-            -  Since we include source jars in the repo, we don't need the javadoc jars. -->
+          
+          -  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 how we want compilation to take place.
-        -  We accept most of the defaults but say that we want the
-        -  optimization, warnings, and deprecation flags on, and define the source and target to be 1.5,
-        -  these setting will be inherited by child projects, but can be overridden as needed. -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <version>2.0.2</version>
-        <configuration>
-          <source>1.5</source>
-          <target>1.5</target>
-          <showDeprecation>true</showDeprecation>
-          <showWarnings>true</showWarnings>
-          <optimize>true</optimize>
-        </configuration>
-        <inherited>true</inherited>
-      </plugin>
       <!-- define that we wish to create src jars -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
@@ -108,27 +148,27 @@
           </execution>
         </executions>
       </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-jar-plugin</artifactId>
-        <version>2.1</version>
-        <configuration>
-          <archive>
-            <manifest>
-              <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
-              <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
-            </manifest>
-            <manifestEntries>
-              <Implementation-URL>${pom.url}</Implementation-URL>
-            </manifestEntries>
-          </archive>
-        </configuration>
-        <inherited>true</inherited>
-      </plugin>
     </plugins>
     <pluginManagement>
       <plugins>
         <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-jar-plugin</artifactId>
+          <version>2.2</version>
+          <configuration>
+            <archive>
+              <manifest>
+                <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+                <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+              </manifest>
+              <manifestEntries>
+                <Implementation-URL>${pom.url}</Implementation-URL>
+              </manifestEntries>
+            </archive>
+          </configuration>
+          <inherited>true</inherited>
+        </plugin>
+        <plugin>
           <groupId>org.jboss.maven.plugins</groupId>
           <artifactId>maven-jboss-deploy-plugin</artifactId>
           <version>1.3</version>
@@ -282,4 +322,4 @@
       <url>dav:https://snapshots.jboss.org/maven2</url>
     </snapshotRepository>
   </distributionManagement>
-</project>
\ No newline at end of file
+</project>




More information about the jboss-svn-commits mailing list