[gatein-dev] GateIn parent pom

Thomas Heute theute at redhat.com
Thu Feb 24 06:01:43 EST 2011


Now that our Maven expert is back :)
I plan to do some update in our GateIn parent, the diff below is pretty 
much self explanatory, but here are the points:

     - Removed repositories + pluginRepositories definitions, it's 
supposed to be a best practice, correct me if I'm wrong (But will 
require people to have those defined in their local installation or we 
add them in the root pom.xml instead)
     - Added JDK 6 as min version
     - Removed the Maven release plugin parameters, they are only 
meaningful for GateIn Portal and not for the components. Plus we added 
new profiles for new packaging (AS6, AS6, Tomcat 6, Tomcat 7, Jetty). 
This would be added in the root pom of GateIn Portal
     - Removed org.codehaus.mojo:jboss-packaging-maven-plugin 
declaration, I think it's only to build SAR packages. And SAR packages 
are only used for a component or 2.


Arnaud, what do you think ?

Thomas.




Here is the diff:
Index: pom.xml
===================================================================
--- pom.xml    (revision 5914)
+++ pom.xml    (working copy)
@@ -14,7 +14,7 @@

<groupId>org.gatein</groupId>
<artifactId>gatein-parent</artifactId>
- <version>1.0.3-GA-SNAPSHOT</version>
+ <version>1.1.0-GA-SNAPSHOT</version>
<packaging>pom</packaging>

<scm>
@@ -40,12 +40,11 @@
<!-- maven-enforcer-plugin -->
<maven.min.version>2.2.1</maven.min.version>

+ <jdk.min.version>1.6</jdk.min.version>
+
<!-- maven-release-plugin -->
<autoVersionSubmodules>true</autoVersionSubmodules>

- <!-- maven-release-plugin -->
- <arguments>-Prelease,pkg-tomcat,pkg-jbossas -DskipTests</arguments>
-
<!-- cf http://jira.codehaus.org/browse/MRELEASE-3 -->
<preparationGoals>clean install</preparationGoals>
</properties>
@@ -60,11 +59,6 @@
<!-- Plugins are sorted by shortname : clean, deploy, ... -->
<plugins>
<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>jboss-packaging-maven-plugin</artifactId>
- <version>2.0-beta-1</version>
- </plugin>
- <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
@@ -167,43 +161,6 @@
</profiles>

<!-- **************** -->
- <!-- Repositiories    -->
- <!-- **************** -->
- <repositories>
- <repository>
- <id>jboss-public-repository-group</id>
- <name>JBoss Public Maven Repository Group</name>
- <url>https://repository.jboss.org/nexus/content/groups/public/</url>
- <layout>default</layout>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </snapshots>
- </repository>
- </repositories>
-
- <pluginRepositories>
- <pluginRepository>
- <id>jboss-public-repository-group</id>
- <name>JBoss Public Maven Repository Group</name>
- <url>https://repository.jboss.org/nexus/content/groups/public/</url>
- <layout>default</layout>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </snapshots>
- </pluginRepository>
- </pluginRepositories>
-
- <!-- **************** -->
<!-- Reporting        -->
<!-- **************** -->



More information about the gatein-dev mailing list