[hornetq-commits] JBoss hornetq SVN: r10467 - in trunk: hornetq-core and 11 other directories.

do-not-reply at jboss.org do-not-reply at jboss.org
Fri Apr 8 06:20:36 EDT 2011


Author: ataylor
Date: 2011-04-08 06:20:36 -0400 (Fri, 08 Apr 2011)
New Revision: 10467

Modified:
   trunk/build-hornetq.xml
   trunk/hornetq-core-client/pom.xml
   trunk/hornetq-core/pom.xml
   trunk/hornetq-jboss-as-integration/pom.xml
   trunk/hornetq-jms-client/pom.xml
   trunk/hornetq-jms/pom.xml
   trunk/hornetq-logging/pom.xml
   trunk/hornetq-ra/hornetq-ra-jar/pom.xml
   trunk/hornetq-ra/hornetq-ra-rar/pom.xml
   trunk/hornetq-ra/pom.xml
   trunk/hornetq-service-sar/pom.xml
   trunk/hornetq-spring-integration/pom.xml
   trunk/hornetq-twitter-integration/pom.xml
   trunk/pom.xml
Log:
added parent pom and changed build file

Modified: trunk/build-hornetq.xml
===================================================================
--- trunk/build-hornetq.xml	2011-04-08 07:26:27 UTC (rev 10466)
+++ trunk/build-hornetq.xml	2011-04-08 10:20:36 UTC (rev 10467)
@@ -490,54 +490,12 @@
    <!-- Compilation targets               -->
    <!-- ================================= -->
 
-   <target name="compile" depends="compile-jms"/>
+   <target name="compile">
+      <ant antfile="build-thirdparty.xml" target="maven-install">
+         <property name="maven.opts" value="-Dmaven.test.skip=true"/>
+         <property name="maven.goal" value="compile"/>
+      </ant>
 
-   <target name="compile-core" depends="jar-core">
-    <!--  <exec executable="../tools/maven/bin/mvn" dir="hornetq-core">
-         <arg value="package"/>
-      </exec>-->
-     <!-- <mkdir dir="${build.src.dir}/org/hornetq/core/filter/impl"/>
-      <javacc target="${src.main.dir}/org/hornetq/core/filter/impl/FilterParser.jj"
-              outputdirectory="${build.src.dir}/org/hornetq/core/filter/impl"
-              javacchome="${sun.javacc.lib}"
-              static="false"/>
-      <javac destdir="${build.core.classes.dir}"
-             target="${javac.target}"
-             source="${javac.source}"
-             optimize="${javac.optimize}"
-             debug="${javac.debug}"
-             depend="${javac.depend}"
-             verbose="${javac.verbose}"
-             deprecation="${javac.deprecation}"
-             includeAntRuntime="${javac.include.ant.runtime}"
-             includeJavaRuntime="${javac.include.java.runtime}"
-             encoding="${javac.encoding}"
-             failonerror="${javac.fail.onerror}">
-         <src>
-            <pathelement path="${build.src.dir}"/>
-            <pathelement path="${src.main.dir}"/>
-         </src>
-         <include name="**/hornetq/*.java"/>
-         <include name="**/hornetq/api/*.java"/>
-         <include name="**/hornetq/api/core/**/*.java"/>
-         <include name="**/hornetq/core/**/*.java"/>
-         <include name="**/hornetq/spi/**/*.java"/>
-         <include name="**/hornetq/utils/**/*.java"/>
-      	 <classpath refid="core.compilation.classpath"/>
-      </javac>
-      <javah class="org.hornetq.core.asyncio.impl.AsynchronousFileImpl"
-             classpath="${build.core.classes.dir}" destdir="./native/src"/>
-
-      <java classname="org.jboss.netty.util.Version" classpathref="org.jboss.netty.classpath"
-            outputproperty="netty.version" fork="true"/>
-      <echo>setting netty version ${netty.version}</echo>
-      <copy file="${src.config.dir}/common/hornetq-version.properties"
-            tofile="${build.core.classes.dir}/hornetq-version.properties" overwrite="true">
-         <filterset>
-               <filter token="NETTY.VERSION" value="${netty.version}"/>
-         </filterset>
-      </copy>-->
-
    </target>
 
    <target name="compile-core-client-java5" depends="init">
@@ -583,11 +541,8 @@
       </copy>
 
    </target>
-	
-   <target name="compile-jms" depends="jar-jms">
-   </target>
 
-	   <target name="compile-jms-java5" depends="compile-core-client-java5">
+	<target name="compile-jms-java5" depends="compile-core-client-java5">
 	      <javac destdir="${build.jms.java5.classes.dir}"
 	             target="1.5"
 	             source="1.5"
@@ -607,30 +562,8 @@
 	         <classpath refid="jms.compilation.jdk15.classpath"/>
 	      </javac>
 	   </target>
-	
-   <target name="compile-jboss-integration" depends="jar-jboss-integration">
-   </target>
 
-   <target name="compile-twitter-integration" depends="jar-twitter-integration">
-   </target>
 
-   <target name="compile-spring-integration" depends="jar-spring-integration">
-
-   </target>
-
-   <!-- author: Lucas Amador -->
-   <target name="compile-jboss-service" depends="jar-jboss-service">
-   </target>
-
-   <target name="compile-bootstrap" depends="jar-bootstrap">
-   </target>
-
-   <target name="compile-logging" depends="jar-logging">
-   </target>
-
-   <target name="compile-ra" depends="jar-ra">
-   </target>
-
    <target name="build-native" depends="jar">
       <exec dir="native" executable="bash">
          <arg line="bootstrap"/>
@@ -688,14 +621,13 @@
    <!-- Jar Targets                                                                              -->
    <!-- ======================================================================================== -->
 
-   <target name="sources-jar" description="create jar files containing source code"
-           depends="jar-core-sources, jar-core-client-sources, jar-core-client-java5-sources, jar-jms-sources, jar-jms-client-sources, jar-jms-client-java5-sources, jar-jboss-integration-sources, jar-jboss-service-sources, jar-bootstrap-sources, jar-logging-sources, jar-ra-sources, jar-resources-sources, jar-twitter-integration-sources, jar-spring-integration-sources">
+   <target name="jar">
+      <ant antfile="build-thirdparty.xml" target="maven-install">
+         <property name="maven.opts" value="-Dmaven.test.skip=true"/>
+         <property name="maven.goal" value="package"/>
+      </ant>
    </target>
 
-   <target name="jar"
-           depends="jar-core, jar-core-client, jar-jms, jar-jms-client, jar-jboss-integration, jar-jboss-service, jar-bootstrap, jar-logging, jar-ra, jar-mc, jar-jnp-client, jar-resources, sources-jar, jar-twitter-integration, jar-spring-integration, jar-rest, eap-examples">
-   </target>
-
    <target name="jar-jnp-client" depends="init">
       <jar jarfile="${build.jars.dir}/${jnp.client.jar.name}">
          <zipfileset src="${org.jboss.naming.lib}/jnpserver.jar">
@@ -722,43 +654,6 @@
       </jar>
    </target>
 
-   <target name="jar-core" depends="init">
-      <ant antfile="build-thirdparty.xml" target="maven-install">
-         <property name="maven.opts" value="-Dmaven.test.skip=true"/>
-         <property name="maven.goal" value="install"/>
-         <property name="working.dir" value="hornetq-core"/>
-      </ant>
-   </target>
-
-   <target name="jar-core-sources">
-      <jar jarfile="${build.jars.dir}/${core.sources.jar.name}">
-         <fileset dir="${src.main.dir}">
-            <include name="**/hornetq/*.java"/>
-            <include name="**/hornetq/api/*.java"/>
-            <include name="**/hornetq/api/core/**/*.java"/>
-            <include name="**/hornetq/core/**/*.java"/>
-            <include name="**/hornetq/spi/**/*.java"/>
-            <include name="**/hornetq/utils/**/*.java"/>
-         </fileset>
-        	<fileset dir="${src.config.dir}/common">
-            <include name="**/*.xsd"/>
-            <exclude name="**/hornetq-jms.xsd"/>
-         </fileset>
-         <manifest>
-            <attribute name="HornetQ-Version" value="${hornetq.version.string}"/>
-            <attribute name="HornetQ-SVN-URL" value="${hornetq.version.svnurl}"/>
-         </manifest>
-      </jar>
-   </target>
-
-   <target name="jar-jms">
-      <ant antfile="build-thirdparty.xml" target="maven-install">
-         <property name="maven.opts" value="-Dmaven.test.skip=true"/>
-         <property name="maven.goal" value="install"/>
-         <property name="working.dir" value="hornetq-jms"/>
-      </ant>
-   </target>
-
    <target name="jar-jms-sources">
       <jar jarfile="${build.jars.dir}/${jms.sources.jar.name}">
          <fileset dir="${src.main.dir}">
@@ -770,24 +665,6 @@
       </jar>
 	</target>
 
-   <target name="jar-jms-client" depends="jar-jms">
-      <ant antfile="build-thirdparty.xml" target="maven-install">
-         <property name="maven.opts" value="-Dmaven.test.skip=true"/>
-         <property name="maven.goal" value="install"/>
-         <property name="working.dir" value="hornetq-jms-client"/>
-      </ant>
-   </target>
-
-   <target name="jar-jms-client-sources">
-      <jar jarfile="${build.jars.dir}/${jms.client.sources.jar.name}">
-         <fileset dir="${src.main.dir}">
-            <include name="org/hornetq/api/jms/**/*.*"/>
-            <include name="org/hornetq/jms/client/**/*.*"/>
-            <include name="org/hornetq/jms/referenceable/**/*.*"/>
-         </fileset>
-      </jar>
-   </target>
-
 	   <target name="jar-jms-client-java5" depends="compile-jms-java5">
 
 	      <jar jarfile="${build.jars.dir}/${jms.client.java5.jar.name}">
@@ -808,95 +685,6 @@
 	      </jar>
 	   </target>
 
-	<target name="jar-jboss-integration">
-      <ant antfile="build-thirdparty.xml" target="maven-install">
-         <property name="maven.opts" value="-Dmaven.test.skip=true"/>
-         <property name="maven.goal" value="install"/>
-         <property name="working.dir" value="hornetq-jboss-as-integration"/>
-      </ant>
-   </target>
-
-   <target name="jar-jboss-integration-sources">
-      <jar jarfile="${build.jars.dir}/${jboss.integration.sources.jar.name}">
-         <fileset dir="${src.main.dir}">
-            <include name="org/hornetq/integration/jboss/**/*.java"/>
-         </fileset>
-      </jar>
-   </target>
-
-    <target name="jar-twitter-integration">
-      <ant antfile="build-thirdparty.xml" target="maven-install">
-         <property name="maven.opts" value="-Dmaven.test.skip=true"/>
-         <property name="maven.goal" value="install"/>
-         <property name="working.dir" value="hornetq-twitter-integration"/>
-      </ant>
-   </target>
-
-   <target name="jar-twitter-integration-sources">
-      <jar jarfile="${build.jars.dir}/${twitter.integration.sources.jar.name}">
-         <fileset dir="${src.main.dir}">
-            <include name="org/hornetq/integration/twitter/**/*.java"/>
-         </fileset>
-      </jar>
-   </target>
-
-    <target name="jar-spring-integration">
-      <ant antfile="build-thirdparty.xml" target="maven-install">
-         <property name="maven.opts" value="-Dmaven.test.skip=true"/>
-         <property name="maven.goal" value="install"/>
-         <property name="working.dir" value="hornetq-spring-integration"/>
-      </ant>
-    </target>
-
-   <target name="jar-spring-integration-sources">
-      <jar jarfile="${build.jars.dir}/${spring.integration.sources.jar.name}">
-         <fileset dir="${src.main.dir}">
-            <include name="org/hornetq/integration/spring/**/*.java"/>
-         </fileset>
-      </jar>
-   </target>
-
-	<!-- author: Lucas Amador -->
-   <target name="jar-jboss-service" depends="jar-core">
-      <ant antfile="build-thirdparty.xml" target="maven-install">
-         <property name="maven.opts" value="-Dmaven.test.skip=true"/>
-         <property name="maven.goal" value="install"/>
-         <property name="working.dir" value="hornetq-service-sar"/>
-      </ant>
-   </target>
-
-   <target name="jar-jboss-service-sources">
-      <jar jarfile="${build.jars.dir}/${service.sources.sar.name}">
-         <fileset dir="${src.main.dir}">
-            <include name="org/hornetq/service/**/*.java"/>
-         </fileset>
-      </jar>
-   </target>
-
-   <target name="jar-bootstrap">
-      <ant antfile="build-thirdparty.xml" target="maven-install">
-         <property name="maven.opts" value="-Dmaven.test.skip=true"/>
-         <property name="maven.goal" value="install"/>
-         <property name="working.dir" value="hornetq-bootstrap"/>
-      </ant>
-   </target>
-
-   <target name="jar-bootstrap-sources">
-      <jar jarfile="${build.jars.dir}/${bootstrap.sources.jar.name}">
-         <fileset dir="${src.main.dir}">
-            <include name="org/hornetq/integration/bootstrap/**/*.java"/>
-         </fileset>
-      </jar>
-   </target>
-
-   <target name="jar-logging">
-      <ant antfile="build-thirdparty.xml" target="maven-install">
-         <property name="maven.opts" value="-Dmaven.test.skip=true"/>
-         <property name="maven.goal" value="install"/>
-         <property name="working.dir" value="hornetq-logging"/>
-      </ant>
-   </target>
-
    <target name="jar-logging-sources">
       <jar jarfile="${build.jars.dir}/${logging.sources.jar.name}">
          <fileset dir="${src.main.dir}">
@@ -904,15 +692,7 @@
          </fileset>
       </jar>
    </target>
-
-   <target name="jar-core-client" depends="compile-core">
-      <ant antfile="build-thirdparty.xml" target="maven-install">
-         <property name="maven.opts" value="-Dmaven.test.skip=true"/>
-         <property name="maven.goal" value="install"/>
-         <property name="working.dir" value="hornetq-core-client"/>
-      </ant>
-   </target>
-
+<!--
    <target name="jar-core-client-sources">
       <jar jarfile="${build.jars.dir}/${core.client.sources.jar.name}">
          <fileset dir="${src.main.dir}">
@@ -938,12 +718,12 @@
             <include name="org/hornetq/spi/core/protocol/*.*"/>
             <include name="org/hornetq/spi/core/remoting/*.*"/>
 
-            <!-- required by SessionSendMessage -->
+            &lt;!&ndash; required by SessionSendMessage &ndash;&gt;
             <include name="org/hornetq/core/server/ServerMessage.java"/>
             <include name="org/hornetq/core/journal/EncodingSupport.java"/>
          </fileset>
       </jar>
-   </target>
+   </target>-->
 
    <target name="jar-core-client-java5" depends="compile-core-client-java5">
       <jar jarfile="${build.jars.dir}/${core.client.java5.jar.name}">
@@ -1009,22 +789,7 @@
          </fileset>
       </jar>
    </target>
-	
-   <target name="jar-ra" depends="jar-core-client, jar-jms-client">
-      <ant antfile="build-thirdparty.xml" target="maven-install">
-         <property name="maven.opts" value="-Dmaven.test.skip=true"/>
-         <property name="maven.goal" value="install"/>
-         <property name="working.dir" value="hornetq-ra"/>
-      </ant>
-   </target>
 
-   <target name="jar-ra-sources">
-      <jar jarfile="${build.jars.dir}/${ra.sources.jar.name}">
-         <fileset dir="${src.main.dir}">
-           <include name="org/hornetq/ra/**/*"/>
-         </fileset>
-      </jar>
-   </target>
 
 	<target name="jar-resources" depends="init">
       <jar jarfile="${build.jars.dir}/${resources.jar.name}">
@@ -1061,7 +826,7 @@
       </jar>
    </target>
 
-   <target name="jar-rest-init" depends="jar-jms">
+   <target name="jar-rest-init" depends="jar">
       <ant antfile="build-maven.xml" target="upload-local-target">
          <property name="artifact.id" value="hornetq-core"/>
          <property name="file-name" value="hornetq-core"/>
@@ -1073,7 +838,7 @@
    </target>
       
 
-   <target name="jar-rest" depends="jar-rest-init">
+   <target name="jar-rest" >
       <ant antfile="build-thirdparty.xml" target="maven-install">
          <property name="maven.opts" value="-Dmaven.test.skip=true"/>
          <property name="maven.goal" value="install"/>
@@ -1092,7 +857,7 @@
    <!-- Distribution targets                                                                     -->
    <!-- ======================================================================================== -->
 
-   <target name="bin-distro" depends="createthirdparty, jar, jar-core-client, jar-jms-client, validate-configuration">
+   <target name="bin-distro" depends="createthirdparty, jar, validate-configuration">
 
       <mkdir dir="${build.distro.dir}"/>
       <mkdir dir="${build.distro.lib.dir}"/>

Modified: trunk/hornetq-core/pom.xml
===================================================================
--- trunk/hornetq-core/pom.xml	2011-04-08 07:26:27 UTC (rev 10466)
+++ trunk/hornetq-core/pom.xml	2011-04-08 10:20:36 UTC (rev 10467)
@@ -1,82 +1,70 @@
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-    <modelVersion>4.0.0</modelVersion>
+   <modelVersion>4.0.0</modelVersion>
 
-    <groupId>org.hornetq</groupId>
-    <artifactId>hornetq-core</artifactId>
-    <packaging>jar</packaging>
-    <version>2.2.3-SNAPSHOT</version>
-    <name>HornetQ Core</name>
+   <parent>
+      <groupId>org.hornetq</groupId>
+      <artifactId>hornetq-pom</artifactId>
+      <version>2.2.3-SNAPSHOT</version>
+   </parent>
 
+   <groupId>org.hornetq</groupId>
+   <artifactId>hornetq-core</artifactId>
+   <packaging>jar</packaging>
+   <name>HornetQ Core</name>
 
+   <dependencies>
+      <dependency>
+         <groupId>org.jboss.netty</groupId>
+         <artifactId>netty</artifactId>
+      </dependency>
+   </dependencies>
 
-    <properties>
-        <netty.version>3.2.3.Final</netty.version>
-        <netty.version.string>3.2.3.Final</netty.version.string>
-        <hornetq.version.versionName>Stripey</hornetq.version.versionName>
-        <hornetq.version.majorVersion>2</hornetq.version.majorVersion>
-        <hornetq.version.minorVersion>2</hornetq.version.minorVersion>
-        <hornetq.version.microVersion>3</hornetq.version.microVersion>
-        <hornetq.version.incrementingVersion>122</hornetq.version.incrementingVersion>
-        <hornetq.version.versionSuffix>SNAPSHOT</hornetq.version.versionSuffix>
-        <hornetq.version.versionTag>SNAPSHOT</hornetq.version.versionTag>
-        <HornetQ-Version>${hornetq.version.majorVersion}.${hornetq.version.minorVersion}.${hornetq.version.microVersion}.${hornetq.version.versionSuffix} (${hornetq.version.versionName}, ${hornetq.version.incrementingVersion})</HornetQ-Version>
-        <HornetQ-SVN-URL>https://svn.jboss.org/repos/hornetq/trunk</HornetQ-SVN-URL>
-    </properties>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.jboss.netty</groupId>
-            <artifactId>netty</artifactId>
-            <version>3.2.3.Final</version>
-        </dependency>
-    </dependencies>
-
-    <build>
-        <resources>
-            <resource>
-                <directory>src/main/resources</directory>
-                <filtering>true</filtering>
-            </resource>
-        </resources>
-        <plugins>
-            <plugin>
-              <groupId>org.apache.maven.plugins</groupId>
-              <artifactId>maven-jar-plugin</artifactId>
-              <version>2.2</version>
-              <configuration>
-                <archive>
+   <build>
+      <resources>
+         <resource>
+            <directory>src/main/resources</directory>
+            <filtering>true</filtering>
+         </resource>
+      </resources>
+      <plugins>
+         <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-jar-plugin</artifactId>
+            <version>2.2</version>
+            <configuration>
+               <archive>
                   <manifestEntries>
-                    <HornetQ-Version>${HornetQ-Version}</HornetQ-Version>
-                    <HornetQ-SVN-URL>${HornetQ-SVN-URL}</HornetQ-SVN-URL>
+                     <HornetQ-Version>${HornetQ-Version}</HornetQ-Version>
+                     <HornetQ-SVN-URL>${HornetQ-SVN-URL}</HornetQ-SVN-URL>
                   </manifestEntries>
-                </archive>
-              </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>javacc-maven-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>javacc</id>
-                        <goals>
-                            <goal>javacc</goal>
-                        </goals>
-                        <configuration>
-                            <isStatic>false</isStatic>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
-                    <source>1.5</source>
-                    <target>1.5</target>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
+               </archive>
+            </configuration>
+         </plugin>
+         <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>javacc-maven-plugin</artifactId>
+            <executions>
+               <execution>
+                  <id>javacc</id>
+                  <goals>
+                     <goal>javacc</goal>
+                  </goals>
+                  <configuration>
+                     <isStatic>false</isStatic>
+                  </configuration>
+               </execution>
+            </executions>
+         </plugin>
+         <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-compiler-plugin</artifactId>
+            <configuration>
+               <source>1.6</source>
+               <target>1.6</target>
+            </configuration>
+         </plugin>
+      </plugins>
+   </build>
 
 </project>

Modified: trunk/hornetq-core-client/pom.xml
===================================================================
--- trunk/hornetq-core-client/pom.xml	2011-04-08 07:26:27 UTC (rev 10466)
+++ trunk/hornetq-core-client/pom.xml	2011-04-08 10:20:36 UTC (rev 10467)
@@ -1,90 +1,96 @@
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-    <modelVersion>4.0.0</modelVersion>
+   <modelVersion>4.0.0</modelVersion>
 
-    <groupId>org.hornetq</groupId>
-    <artifactId>hornetq-core-client</artifactId>
-    <packaging>jar</packaging>
-    <version>2.2.3-SNAPSHOT</version>
-    <name>HornetQ Core Client</name>
 
-    <dependencies>
-        <dependency>
-            <groupId>org.hornetq</groupId>
-            <artifactId>hornetq-core</artifactId>
-            <version>2.2.3-SNAPSHOT</version>
-        </dependency>
-    </dependencies>
+   <parent>
+      <groupId>org.hornetq</groupId>
+      <artifactId>hornetq-pom</artifactId>
+      <version>2.2.3-SNAPSHOT</version>
+   </parent>
 
-    <build>
-        <resources>
-            <resource>
-                <directory>src/main/resources</directory>
-                <filtering>true</filtering>
-            </resource>
-        </resources>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-shade-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>shade</goal>
-                        </goals>
-                        <configuration>
-                            <artifactSet>
-                                <excludes>
-                                    <exclude>org.jboss.netty:netty</exclude>
-                                </excludes>
-                            </artifactSet>
-                            <filters>
-                                <filter>
-                                    <artifact>org.hornetq:hornetq-core</artifact>
-                                    <includes>
-                                        <include>hornetq-version.properties</include>
-                                        <include>org/hornetq/api/**/*.class</include>
-                                        <include>org/hornetq/*.class</include>
-                                        <include>org/hornetq/core/buffers/**/*.class</include>
-                                        <include>org/hornetq/core/client/**/*.class</include>
-                                        <include>org/hornetq/core/filter/**/*.class</include>
-                                        <include>org/hornetq/core/exception/**/*.class</include>
-                                        <include>org/hornetq/core/remoting/impl/**/*.class</include>
-                                        <include>org/hornetq/utils/**/*.class</include>
-                                        <include>org/hornetq/core/cluster/**/*.class</include>
-                                        <include>org/hornetq/core/list/**/*.class</include>
-                                        <include>org/hornetq/core/logging/**/*.class</include>
-                                        <include>org/hornetq/core/message/**/*.class</include>
-                                        <include>org/hornetq/core/protocol/core/**/*.class</include>
-                                        <include>org/hornetq/core/remoting/**/*.class</include>
-                                        <include>org/hornetq/core/version/**/*.class</include>
-                                        <include>org/hornetq/core/management/*.class</include>
-                                        <include>org/hornetq/core/transaction/impl/XidImpl.class</include>
-                                        <include>org/hornetq/spi/core/logging/*.class</include>
-                                        <include>org/hornetq/spi/core/protocol/*.class</include>
-                                        <include>org/hornetq/spi/core/remoting/*.class</include>
+   <groupId>org.hornetq</groupId>
+   <artifactId>hornetq-core-client</artifactId>
+   <packaging>jar</packaging>
+   <name>HornetQ Core Client</name>
 
-                                        <!-- required by SessionSendMessage -->
-                                        <include>org/hornetq/core/server/ServerMessage.class</include>
-                                        <include>org/hornetq/core/journal/EncodingSupport.class</include>
-                                    </includes>
-                                </filter>
-                            </filters>
-                        </configuration>
-                    </execution>
+   <dependencies>
+      <dependency>
+         <groupId>org.hornetq</groupId>
+         <artifactId>hornetq-core</artifactId>
+         <version>${project.version}</version>
+      </dependency>
+   </dependencies>
 
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
-                    <source>1.5</source>
-                    <target>1.5</target>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
+   <build>
+      <resources>
+         <resource>
+            <directory>src/main/resources</directory>
+            <filtering>true</filtering>
+         </resource>
+      </resources>
+      <plugins>
+         <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-shade-plugin</artifactId>
+            <executions>
+               <execution>
+                  <phase>package</phase>
+                  <goals>
+                     <goal>shade</goal>
+                  </goals>
+                  <configuration>
+                     <artifactSet>
+                        <excludes>
+                           <exclude>org.jboss.netty:netty</exclude>
+                        </excludes>
+                     </artifactSet>
+                     <filters>
+                        <filter>
+                           <artifact>org.hornetq:hornetq-core</artifact>
+                           <includes>
+                              <include>hornetq-version.properties</include>
+                              <include>org/hornetq/api/**/*.class</include>
+                              <include>org/hornetq/*.class</include>
+                              <include>org/hornetq/core/buffers/**/*.class</include>
+                              <include>org/hornetq/core/client/**/*.class</include>
+                              <include>org/hornetq/core/filter/**/*.class</include>
+                              <include>org/hornetq/core/exception/**/*.class</include>
+                              <include>org/hornetq/core/remoting/impl/**/*.class</include>
+                              <include>org/hornetq/utils/**/*.class</include>
+                              <include>org/hornetq/core/cluster/**/*.class</include>
+                              <include>org/hornetq/core/list/**/*.class</include>
+                              <include>org/hornetq/core/logging/**/*.class</include>
+                              <include>org/hornetq/core/message/**/*.class</include>
+                              <include>org/hornetq/core/protocol/core/**/*.class</include>
+                              <include>org/hornetq/core/remoting/**/*.class</include>
+                              <include>org/hornetq/core/version/**/*.class</include>
+                              <include>org/hornetq/core/management/*.class</include>
+                              <include>org/hornetq/core/transaction/impl/XidImpl.class</include>
+                              <include>org/hornetq/spi/core/logging/*.class</include>
+                              <include>org/hornetq/spi/core/protocol/*.class</include>
+                              <include>org/hornetq/spi/core/remoting/*.class</include>
 
+                              <!-- required by SessionSendMessage -->
+                              <include>org/hornetq/core/server/ServerMessage.class</include>
+                              <include>org/hornetq/core/journal/EncodingSupport.class</include>
+                           </includes>
+                        </filter>
+                     </filters>
+                  </configuration>
+               </execution>
+
+            </executions>
+         </plugin>
+         <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-compiler-plugin</artifactId>
+            <configuration>
+               <source>1.6</source>
+               <target>1.6</target>
+            </configuration>
+         </plugin>
+      </plugins>
+   </build>
+
 </project>

Modified: trunk/hornetq-jboss-as-integration/pom.xml
===================================================================
--- trunk/hornetq-jboss-as-integration/pom.xml	2011-04-08 07:26:27 UTC (rev 10466)
+++ trunk/hornetq-jboss-as-integration/pom.xml	2011-04-08 10:20:36 UTC (rev 10467)
@@ -1,64 +1,64 @@
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-    <modelVersion>4.0.0</modelVersion>
+   <modelVersion>4.0.0</modelVersion>
 
-    <groupId>org.hornetq</groupId>
-    <artifactId>hornetq-jboss-as-integration</artifactId>
-    <packaging>jar</packaging>
-    <version>2.2.3-SNAPSHOT</version>
-    <name>HornetQ JBoss AS Integration</name>
+   <parent>
+      <groupId>org.hornetq</groupId>
+      <artifactId>hornetq-pom</artifactId>
+      <version>2.2.3-SNAPSHOT</version>
+   </parent>
 
-    <dependencies>
-        <dependency>
-            <groupId>org.hornetq</groupId>
-            <artifactId>hornetq-core</artifactId>
-            <version>2.2.3-SNAPSHOT</version>
-        </dependency>
-        <dependency>
-            <groupId>org.jboss.security</groupId>
-            <artifactId>jboss-security-spi</artifactId>
-            <version>2.0.3.SP1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.jboss.security</groupId>
-            <artifactId>jbosssx</artifactId>
-            <version>2.0.3.SP1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.jboss.javaee</groupId>
-            <artifactId>jboss-transaction-api</artifactId>
-            <version>1.0.1.GA</version>
-        </dependency>
-        <dependency>
-            <groupId>org.jboss.integration</groupId>
-            <artifactId>jboss-transaction-spi</artifactId>
-            <version>5.1.0.GA</version>
-        </dependency>
-        <!--this for xa recovery-->
-        <dependency>
-            <groupId>jboss.jbossts</groupId>
-            <artifactId>jbossjts</artifactId>
-            <version>4.6.1.GA</version>
-        </dependency>
-    </dependencies>
+   <groupId>org.hornetq</groupId>
+   <artifactId>hornetq-jboss-as-integration</artifactId>
+   <packaging>jar</packaging>
+   <name>HornetQ JBoss AS Integration</name>
 
-    <build>
-        <resources>
-            <resource>
-                <directory>src/main/resources</directory>
-                <filtering>true</filtering>
-            </resource>
-        </resources>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
-                    <source>1.5</source>
-                    <target>1.5</target>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
+   <dependencies>
+      <dependency>
+         <groupId>org.hornetq</groupId>
+         <artifactId>hornetq-core</artifactId>
+         <version>${project.version}</version>
+      </dependency>
+      <dependency>
+         <groupId>org.jboss.security</groupId>
+         <artifactId>jboss-security-spi</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.jboss.security</groupId>
+         <artifactId>jbosssx</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.jboss.javaee</groupId>
+         <artifactId>jboss-transaction-api</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.jboss.integration</groupId>
+         <artifactId>jboss-transaction-spi</artifactId>
+      </dependency>
+      <!--this for xa recovery-->
+      <dependency>
+         <groupId>jboss.jbossts</groupId>
+         <artifactId>jbossjts</artifactId>
+      </dependency>
+   </dependencies>
 
+   <build>
+      <resources>
+         <resource>
+            <directory>src/main/resources</directory>
+            <filtering>true</filtering>
+         </resource>
+      </resources>
+      <plugins>
+         <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-compiler-plugin</artifactId>
+            <configuration>
+               <source>1.5</source>
+               <target>1.5</target>
+            </configuration>
+         </plugin>
+      </plugins>
+   </build>
+
 </project>

Modified: trunk/hornetq-jms/pom.xml
===================================================================
--- trunk/hornetq-jms/pom.xml	2011-04-08 07:26:27 UTC (rev 10466)
+++ trunk/hornetq-jms/pom.xml	2011-04-08 10:20:36 UTC (rev 10467)
@@ -2,32 +2,34 @@
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
 
+   <parent>
+      <groupId>org.hornetq</groupId>
+      <artifactId>hornetq-pom</artifactId>
+      <version>2.2.3-SNAPSHOT</version>
+   </parent>
+
     <groupId>org.hornetq</groupId>
     <artifactId>hornetq-jms</artifactId>
     <packaging>jar</packaging>
-    <version>2.2.3-SNAPSHOT</version>
     <name>HornetQ JMS</name>
 
     <dependencies>
         <dependency>
             <groupId>org.hornetq</groupId>
             <artifactId>hornetq-core</artifactId>
-            <version>2.2.3-SNAPSHOT</version>
+           <version>${project.version}</version>
         </dependency>
         <dependency>
             <groupId>org.jboss.javaee</groupId>
             <artifactId>jboss-jms-api</artifactId>
-            <version>1.1.0.GA</version>
         </dependency>
         <dependency>
             <groupId>org.jboss.javaee</groupId>
             <artifactId>jboss-transaction-api</artifactId>
-            <version>1.0.1.GA</version>
         </dependency>
         <dependency>
             <groupId>jboss.jbossts</groupId>
             <artifactId>jbossjts</artifactId>
-            <version>4.6.1.GA</version>
         </dependency>
     </dependencies>
 
@@ -43,8 +45,8 @@
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-compiler-plugin</artifactId>
                 <configuration>
-                    <source>1.5</source>
-                    <target>1.5</target>
+                    <source>1.6</source>
+                    <target>1.6</target>
                 </configuration>
             </plugin>
         </plugins>

Modified: trunk/hornetq-jms-client/pom.xml
===================================================================
--- trunk/hornetq-jms-client/pom.xml	2011-04-08 07:26:27 UTC (rev 10466)
+++ trunk/hornetq-jms-client/pom.xml	2011-04-08 10:20:36 UTC (rev 10467)
@@ -1,69 +1,74 @@
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-    <modelVersion>4.0.0</modelVersion>
+   <modelVersion>4.0.0</modelVersion>
 
-    <groupId>org.hornetq</groupId>
-    <artifactId>hornetq-jms-client</artifactId>
-    <packaging>jar</packaging>
-    <version>2.2.3-SNAPSHOT</version>
-    <name>HornetQ JMS Client</name>
+   <parent>
+      <groupId>org.hornetq</groupId>
+      <artifactId>hornetq-pom</artifactId>
+      <version>2.2.3-SNAPSHOT</version>
+   </parent>
 
-    <dependencies>
-        <dependency>
-            <groupId>org.hornetq</groupId>
-            <artifactId>hornetq-jms</artifactId>
-            <version>2.2.3-SNAPSHOT</version>
-        </dependency>
-    </dependencies>
+   <groupId>org.hornetq</groupId>
+   <artifactId>hornetq-jms-client</artifactId>
+   <packaging>jar</packaging>
+   <name>HornetQ JMS Client</name>
 
-    <build>
-        <resources>
-            <resource>
-                <directory>src/main/resources</directory>
-                <filtering>true</filtering>
-            </resource>
-        </resources>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-shade-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>shade</goal>
-                        </goals>
-                        <configuration>
-                            <artifactSet>
-                                <excludes>
-                                    <exclude>org.jboss.netty:netty</exclude>
-                                    <exclude>org.hornetq:hornetq-core</exclude>
-                                </excludes>
-                            </artifactSet>
-                            <filters>
-                                <filter>
-                                    <artifact>org.hornetq:hornetq-jms</artifact>
-                                    <includes>
-                                        <include>org/hornetq/api/jms/**/*.class</include>
-                                        <include>org/hornetq/jms/client/**/*.*</include>
-                                        <include>org/hornetq/jms/referenceable/**/*.*</include>
-                                    </includes>
-                                </filter>
-                            </filters>
-                        </configuration>
-                    </execution>
+   <dependencies>
+      <dependency>
+         <groupId>org.hornetq</groupId>
+         <artifactId>hornetq-jms</artifactId>
+         <version>${project.version}</version>
+      </dependency>
+   </dependencies>
 
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
-                    <source>1.5</source>
-                    <target>1.5</target>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
+   <build>
+      <resources>
+         <resource>
+            <directory>src/main/resources</directory>
+            <filtering>true</filtering>
+         </resource>
+      </resources>
+      <plugins>
+         <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-shade-plugin</artifactId>
+            <executions>
+               <execution>
+                  <phase>package</phase>
+                  <goals>
+                     <goal>shade</goal>
+                  </goals>
+                  <configuration>
+                     <artifactSet>
+                        <excludes>
+                           <exclude>org.jboss.netty:netty</exclude>
+                           <exclude>org.hornetq:hornetq-core</exclude>
+                        </excludes>
+                     </artifactSet>
+                     <filters>
+                        <filter>
+                           <artifact>org.hornetq:hornetq-jms</artifact>
+                           <includes>
+                              <include>org/hornetq/api/jms/**/*.class</include>
+                              <include>org/hornetq/jms/client/**/*.*</include>
+                              <include>org/hornetq/jms/referenceable/**/*.*</include>
+                           </includes>
+                        </filter>
+                     </filters>
+                  </configuration>
+               </execution>
 
+            </executions>
+         </plugin>
+         <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-compiler-plugin</artifactId>
+            <configuration>
+               <source>1.6</source>
+               <target>1.6</target>
+            </configuration>
+         </plugin>
+      </plugins>
+   </build>
+
 </project>

Modified: trunk/hornetq-logging/pom.xml
===================================================================
--- trunk/hornetq-logging/pom.xml	2011-04-08 07:26:27 UTC (rev 10466)
+++ trunk/hornetq-logging/pom.xml	2011-04-08 10:20:36 UTC (rev 10467)
@@ -1,37 +1,41 @@
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-    <modelVersion>4.0.0</modelVersion>
+   <modelVersion>4.0.0</modelVersion>
 
-    <groupId>org.hornetq</groupId>
-    <artifactId>hornetq-logging</artifactId>
-    <packaging>jar</packaging>
-    <version>2.2.3-SNAPSHOT</version>
-    <name>HornetQ Logging</name>
+   <parent>
+      <groupId>org.hornetq</groupId>
+      <artifactId>hornetq-pom</artifactId>
+      <version>2.2.3-SNAPSHOT</version>
+   </parent>
 
-    <dependencies>
-        <dependency>
-            <groupId>org.hornetq</groupId>
-            <artifactId>hornetq-core</artifactId>
-            <version>2.2.3-SNAPSHOT</version>
-        </dependency>
-        <dependency>
-            <groupId>log4j</groupId>
-            <artifactId>log4j</artifactId>
-            <version>1.2.14</version>
-        </dependency>
-    </dependencies>
+   <groupId>org.hornetq</groupId>
+   <artifactId>hornetq-logging</artifactId>
+   <packaging>jar</packaging>
+   <name>HornetQ Logging</name>
 
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
-                    <source>1.5</source>
-                    <target>1.5</target>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
+   <dependencies>
+      <dependency>
+         <groupId>org.hornetq</groupId>
+         <artifactId>hornetq-core</artifactId>
+         <version>${project.version}</version>
+      </dependency>
+      <dependency>
+         <groupId>log4j</groupId>
+         <artifactId>log4j</artifactId>
+      </dependency>
+   </dependencies>
 
+   <build>
+      <plugins>
+         <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-compiler-plugin</artifactId>
+            <configuration>
+               <source>1.6</source>
+               <target>1.6</target>
+            </configuration>
+         </plugin>
+      </plugins>
+   </build>
+
 </project>

Modified: trunk/hornetq-ra/hornetq-ra-jar/pom.xml
===================================================================
--- trunk/hornetq-ra/hornetq-ra-jar/pom.xml	2011-04-08 07:26:27 UTC (rev 10466)
+++ trunk/hornetq-ra/hornetq-ra-jar/pom.xml	2011-04-08 10:20:36 UTC (rev 10467)
@@ -2,29 +2,33 @@
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
 
+   <parent>
+      <groupId>org.hornetq</groupId>
+      <artifactId>hornetq-pom</artifactId>
+      <version>2.2.3-SNAPSHOT</version>
+   </parent>
+
     <groupId>org.hornetq</groupId>
     <artifactId>hornetq-ra</artifactId>
     <packaging>jar</packaging>
-        <version>2.2.3-SNAPSHOT</version>
     <name>HornetQ RAR JAR</name>
 
     <dependencies>
         <dependency>
             <groupId>org.hornetq</groupId>
             <artifactId>hornetq-core</artifactId>
-            <version>2.2.3-SNAPSHOT</version>
+            <version>${project.version}</version>
             <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>org.hornetq</groupId>
             <artifactId>hornetq-jms</artifactId>
-            <version>2.2.3-SNAPSHOT</version>
+            <version>${project.version}</version>
             <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>org.jboss.javaee</groupId>
             <artifactId>jboss-jca-api</artifactId>
-                <version>1.5.0.GA</version>
             <scope>provided</scope>
         </dependency>
     </dependencies>
@@ -41,8 +45,8 @@
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-compiler-plugin</artifactId>
                 <configuration>
-                    <source>1.5</source>
-                    <target>1.5</target>
+                    <source>1.6</source>
+                    <target>1.6</target>
                 </configuration>
             </plugin>
         </plugins>

Modified: trunk/hornetq-ra/hornetq-ra-rar/pom.xml
===================================================================
--- trunk/hornetq-ra/hornetq-ra-rar/pom.xml	2011-04-08 07:26:27 UTC (rev 10466)
+++ trunk/hornetq-ra/hornetq-ra-rar/pom.xml	2011-04-08 10:20:36 UTC (rev 10467)
@@ -2,17 +2,22 @@
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
 
+   <parent>
+      <groupId>org.hornetq</groupId>
+      <artifactId>hornetq-pom</artifactId>
+      <version>2.2.3-SNAPSHOT</version>
+   </parent>
+
     <groupId>org.hornetq</groupId>
     <artifactId>hornetq-rar</artifactId>
     <packaging>rar</packaging>
-    <version>2.2.3-SNAPSHOT</version>
     <name>HornetQ JMS RA</name>
 
     <dependencies>
         <dependency>
             <groupId>org.hornetq</groupId>
             <artifactId>hornetq-jms-client</artifactId>
-            <version>2.2.3-SNAPSHOT</version>
+            <version>${project.version}</version>
             <exclusions>
                 <exclusion>
                     <groupId>org.hornetq</groupId>
@@ -39,12 +44,12 @@
         <dependency>
             <groupId>org.hornetq</groupId>
             <artifactId>hornetq-ra</artifactId>
-            <version>2.2.3-SNAPSHOT</version>
+            <version>${project.version}</version>
         </dependency>
         <dependency>
             <groupId>org.hornetq</groupId>
             <artifactId>hornetq-core-client</artifactId>
-            <version>2.2.3-SNAPSHOT</version>
+            <version>${project.version}</version>
             <exclusions>
                 <exclusion>
                     <groupId>org.hornetq</groupId>
@@ -73,8 +78,8 @@
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-compiler-plugin</artifactId>
                 <configuration>
-                    <source>1.5</source>
-                    <target>1.5</target>
+                    <source>1.6</source>
+                    <target>1.6</target>
                 </configuration>
             </plugin>
         </plugins>

Modified: trunk/hornetq-ra/pom.xml
===================================================================
--- trunk/hornetq-ra/pom.xml	2011-04-08 07:26:27 UTC (rev 10466)
+++ trunk/hornetq-ra/pom.xml	2011-04-08 10:20:36 UTC (rev 10467)
@@ -1,26 +1,31 @@
 <project>
-    <name>HornetQ RAR POM</name>
-    <modelVersion>4.0.0</modelVersion>
+   <name>HornetQ RAR POM</name>
+   <modelVersion>4.0.0</modelVersion>
 
-    <groupId>org.hornetq</groupId>
-    <artifactId>hornetq-rar-pom</artifactId>
-    <version>2.2.3-SNAPSHOT</version>
-    <packaging>pom</packaging>
+   <parent>
+      <groupId>org.hornetq</groupId>
+      <artifactId>hornetq-pom</artifactId>
+      <version>2.2.3-SNAPSHOT</version>
+   </parent>
 
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-deploy-plugin</artifactId>
-                <configuration>
-                    <skip>true</skip>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
+   <groupId>org.hornetq</groupId>
+   <artifactId>hornetq-rar-pom</artifactId>
+   <packaging>pom</packaging>
 
-    <modules>
-        <module>hornetq-ra-jar</module>
-        <module>hornetq-ra-rar</module>
-    </modules>
+   <build>
+      <plugins>
+         <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-deploy-plugin</artifactId>
+            <configuration>
+               <skip>true</skip>
+            </configuration>
+         </plugin>
+      </plugins>
+   </build>
+
+   <modules>
+      <module>hornetq-ra-jar</module>
+      <module>hornetq-ra-rar</module>
+   </modules>
 </project>

Modified: trunk/hornetq-service-sar/pom.xml
===================================================================
--- trunk/hornetq-service-sar/pom.xml	2011-04-08 07:26:27 UTC (rev 10466)
+++ trunk/hornetq-service-sar/pom.xml	2011-04-08 10:20:36 UTC (rev 10467)
@@ -2,27 +2,32 @@
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
 
+   <parent>
+      <groupId>org.hornetq</groupId>
+      <artifactId>hornetq-pom</artifactId>
+      <version>2.2.3-SNAPSHOT</version>
+   </parent>
+
     <groupId>org.hornetq</groupId>
     <artifactId>hornetq-service-sar</artifactId>
     <packaging>jar</packaging>
-    <version>2.2.3-SNAPSHOT</version>
     <name>HornetQ JBoss AS4 Integration</name>
 
     <dependencies>
         <dependency>
             <groupId>org.hornetq</groupId>
             <artifactId>hornetq-core</artifactId>
-            <version>2.2.3-SNAPSHOT</version>
+            <version>${project.version}</version>
         </dependency>
         <dependency>
             <groupId>org.hornetq</groupId>
             <artifactId>hornetq-jms</artifactId>
-            <version>2.2.3-SNAPSHOT</version>
+            <version>${project.version}</version>
         </dependency>
         <dependency>
             <groupId>org.hornetq</groupId>
             <artifactId>hornetq-jboss-as-integration</artifactId>
-            <version>2.2.3-SNAPSHOT</version>
+            <version>${project.version}</version>
         </dependency>
     </dependencies>
 
@@ -38,8 +43,8 @@
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-compiler-plugin</artifactId>
                 <configuration>
-                    <source>1.5</source>
-                    <target>1.5</target>
+                    <source>1.6</source>
+                    <target>1.6</target>
                 </configuration>
             </plugin>
         </plugins>

Modified: trunk/hornetq-spring-integration/pom.xml
===================================================================
--- trunk/hornetq-spring-integration/pom.xml	2011-04-08 07:26:27 UTC (rev 10466)
+++ trunk/hornetq-spring-integration/pom.xml	2011-04-08 10:20:36 UTC (rev 10467)
@@ -15,42 +15,43 @@
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
 
+   <parent>
+      <groupId>org.hornetq</groupId>
+      <artifactId>hornetq-pom</artifactId>
+      <version>2.2.3-SNAPSHOT</version>
+   </parent>
+
     <groupId>org.hornetq</groupId>
     <artifactId>hornetq-spring-integration</artifactId>
     <packaging>jar</packaging>
-    <version>2.2.3-SNAPSHOT</version>
     <name>HornetQ Spring Integration</name>
 
    <dependencies>
       <dependency>
          <groupId>org.hornetq</groupId>
          <artifactId>hornetq-core</artifactId>
-         <version>2.2.3-SNAPSHOT</version>
+         <version>${project.version}</version>
       </dependency>
       <dependency>
          <groupId>org.hornetq</groupId>
          <artifactId>hornetq-jms</artifactId>
-         <version>2.2.3-SNAPSHOT</version>
+         <version>${project.version}</version>
       </dependency>
       <dependency>
           <groupId>org.springframework</groupId>
           <artifactId>spring-core</artifactId>
-          <version>3.0.3.RELEASE</version>
       </dependency>
       <dependency>
           <groupId>org.springframework</groupId>
           <artifactId>spring-beans</artifactId>
-          <version>3.0.3.RELEASE</version>
       </dependency>
       <dependency>
           <groupId>org.springframework</groupId>
           <artifactId>spring-context</artifactId>
-          <version>3.0.3.RELEASE</version>
       </dependency>
       <dependency>
           <groupId>org.springframework</groupId>
           <artifactId>spring-jms</artifactId>
-          <version>3.0.3.RELEASE</version>
       </dependency>
    </dependencies>
 
@@ -60,8 +61,8 @@
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-compiler-plugin</artifactId>
                 <configuration>
-                    <source>1.5</source>
-                    <target>1.5</target>
+                    <source>1.6</source>
+                    <target>1.6</target>
                 </configuration>
             </plugin>
         </plugins>

Modified: trunk/hornetq-twitter-integration/pom.xml
===================================================================
--- trunk/hornetq-twitter-integration/pom.xml	2011-04-08 07:26:27 UTC (rev 10466)
+++ trunk/hornetq-twitter-integration/pom.xml	2011-04-08 10:20:36 UTC (rev 10467)
@@ -2,22 +2,26 @@
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
 
+   <parent>
+      <groupId>org.hornetq</groupId>
+      <artifactId>hornetq-pom</artifactId>
+      <version>2.2.3-SNAPSHOT</version>
+   </parent>
+
     <groupId>org.hornetq</groupId>
     <artifactId>hornetq-twitter-integration</artifactId>
     <packaging>jar</packaging>
-    <version>2.2.3-SNAPSHOT</version>
     <name>HornetQ Twitter Integration</name>
 
     <dependencies>
         <dependency>
             <groupId>org.hornetq</groupId>
             <artifactId>hornetq-core</artifactId>
-            <version>2.2.3-SNAPSHOT</version>
+            <version>${project.version}</version>
         </dependency>
         <dependency>
             <groupId>org.twitter4j</groupId>
             <artifactId>twitter4j-core</artifactId>
-            <version>2.1.6</version>
         </dependency>
     </dependencies>
 
@@ -27,8 +31,8 @@
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-compiler-plugin</artifactId>
                 <configuration>
-                    <source>1.5</source>
-                    <target>1.5</target>
+                    <source>1.6</source>
+                    <target>1.6</target>
                 </configuration>
             </plugin>
         </plugins>

Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml	2011-04-08 07:26:27 UTC (rev 10466)
+++ trunk/pom.xml	2011-04-08 10:20:36 UTC (rev 10467)
@@ -1,378 +1,526 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Copyright 2009 Red Hat, Inc.
- Red Hat licenses this file to you under the Apache License, version
- 2.0 (the "License"); you may not use this file except in compliance
- with the License.  You may obtain a copy of the License at
-   http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied.  See the License for the specific language governing
- permissions and limitations under the License.  
-  -->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>org.hornetq</groupId>
+    <artifactId>hornetq-pom</artifactId>
+    <packaging>pom</packaging>
+    <version>2.2.3-SNAPSHOT</version>
 
-   <modelVersion>4.0.0</modelVersion>
-   <groupId>org.hornetq</groupId>
-   <artifactId>messaging</artifactId>
-   <packaging>pom</packaging>
-   <version>2.2.3-SNAPSHOT</version>
+    <name>HornetQ</name>
+    <url>http://hornetq.org</url>
+    <description>
+        Putting the buzz in messaging
+    </description>
 
+    <organization>
+        <name>JBoss, a division of Red Hat</name>
+        <url>http://www.jboss.org/</url>
+    </organization>
+
+    <licenses>
+        <license>
+            <name>ASL 2.0</name>
+            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+            <distribution>repo</distribution>
+        </license>
+    </licenses>
+
     <properties>
+        <netty.version>3.2.3.Final</netty.version>
+        <netty.version.string>3.2.3.Final</netty.version.string>
+        <hornetq.version.versionName>black'n'yellow</hornetq.version.versionName>
+        <hornetq.version.majorVersion>2</hornetq.version.majorVersion>
+        <hornetq.version.minorVersion>2</hornetq.version.minorVersion>
+        <hornetq.version.microVersion>3</hornetq.version.microVersion>
+        <hornetq.version.incrementingVersion>122</hornetq.version.incrementingVersion>
+        <hornetq.version.versionSuffix>SNAPSHOT</hornetq.version.versionSuffix>
+        <hornetq.version.versionTag>SNAPSHOT</hornetq.version.versionTag>
+        <HornetQ-Version>${hornetq.version.majorVersion}.${hornetq.version.minorVersion}.${hornetq.version.microVersion}.${hornetq.version.versionSuffix} (${hornetq.version.versionName}, ${hornetq.version.incrementingVersion})</HornetQ-Version>
+        <HornetQ-SVN-URL>https://svn.jboss.org/repos/hornetq/trunk</HornetQ-SVN-URL>
         <resteasy.version>2.1.0.GA</resteasy.version>
     </properties>
 
-   <name>HornetQ</name>
-   <url>http://hornetq.org</url>
-   <description>
-      Putting the buzz in messaging
-   </description>
+    <scm>
+        <connection>scm:svn:http://anonsvn.jboss.org/repos/hornetq/trunk</connection>
+        <developerConnection>scm:svn:https://svn.jboss.org/repos/hornetq/trunk</developerConnection>
+    </scm>
 
-   <organization>
-      <name>JBoss, a division of Red Hat</name>
-      <url>http://www.jboss.org/</url>
-   </organization>
+    <distributionManagement>
+        <repository>
+            <id>jboss-releases-repository</id>
+            <name>JBoss Releases Repository</name>
+            <url>https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/</url>
+        </repository>
+    </distributionManagement>
 
-   <scm>
-      <connection>scm:svn:http://anonsvn.jboss.org/repos/messaging/trunk</connection>
-      <developerConnection>scm:svn:https://svn.jboss.org/repos/messaging/trunk</developerConnection>
-   </scm>
+    <issueManagement>
+        <system>JIRA</system>
+        <url>http://jira.jboss.com/jira/browse/HORNETQ</url>
+    </issueManagement>
 
+    <developers>
+        <developer>
+            <id>clebertsuconic</id>
+            <name>Clebert Suconic</name>
+            <email>csuconic at redhat.com</email>
+            <url>http://hornetq.com</url>
+            <roles>
+                <role>project-owner</role>
+            </roles>
+            <timezone>0</timezone>
+        </developer>
+        <developer>
+            <id>andytaylor</id>
+            <name>Andy Taylor</name>
+            <email>ataylor at redhat.com</email>
+            <url>http://hornetq.com</url>
+            <timezone>0</timezone>
+        </developer>
+        <developer>
+            <id>howardgao</id>
+            <name>Howard Gao</name>
+            <email>hgao at redhat.com</email>
+            <url>http://hornetq.com</url>
+            <timezone>0</timezone>
+        </developer>
+    </developers>
+
+    <contributors>
+       <contributor>
+          <name>Tim Fox</name>
+       </contributor>
+        <contributor>
+            <name>Jeff Mesnil</name>
+        </contributor>
+    </contributors>
+
     <modules>
         <module>hornetq-core</module>
+        <module>hornetq-core-client</module>
+        <module>hornetq-jms</module>
+        <module>hornetq-jms-client</module>
+        <module>hornetq-ra</module>
+        <module>hornetq-logging</module>
+        <module>hornetq-bootstrap</module>
+        <module>hornetq-jboss-as-integration</module>
+        <module>hornetq-twitter-integration</module>
+        <module>hornetq-service-sar</module>
+        <!--<module>tests</module>-->
     </modules>
-   <build>
 
-      <plugins>
-         <plugin>
-            <groupId>org.jboss.maven.plugins</groupId>
-            <artifactId>maven-buildmagic-thirdparty-plugin</artifactId>
-            <executions>
-               <execution>
-                  <id>build-thirdparty</id>
-                  <phase>initialize</phase>
-                  <goals>
-                     <goal>build-thirdparty</goal>
-                  </goals>
-                  <configuration>
-                     <outputDirectory>thirdparty</outputDirectory>
-                     <librariesEnt>thirdparty/libraries.ent</librariesEnt>
-                     <includedScopes>
-                        <scope>compile</scope>
-                     </includedScopes>
-                  </configuration>
-               </execution>
-            </executions>
-            <configuration>
-               <!--without this dummy entry we get a npe, just ignore-->
-               <mappedDependencies>
-                  <dependency>
-                     <groupId>id</groupId>
-                     <artifactId>art-id</artifactId>
-                     <mapping>
-                        <artifactId>1.0.0</artifactId>
-                     </mapping>
-                  </dependency>
-               </mappedDependencies>
-            </configuration>
-         </plugin>
-         <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-antrun-plugin</artifactId>
-            <version>1.3</version>
-            <executions>
-               <execution>
-                  <id>clean</id>
-                  <phase>pre-clean</phase>
-                  <configuration>
-                     <tasks name="distro"/>
-                  </configuration>
-                  <goals>
-                     <goal>run</goal>
-                  </goals>
-               </execution>
-               <execution>
-                  <id>distro</id>
-                  <phase>package</phase>
-                  <configuration>
-                     <tasks>
-                        <property name="maven.build"  value="true"/>
-                        <ant target="distro"/>
-                     </tasks>
-                  </configuration>
-                  <goals>
-                     <goal>run</goal>
-                  </goals>
-               </execution>
-            </executions>
-            <dependencies>
-               <dependency>
-                  <groupId>org.apache.ant</groupId>
-                  <artifactId>ant</artifactId>
-                  <version>1.7.1</version>
-               </dependency>
-               <dependency>
-                  <groupId>org.apache.ant</groupId>
-                  <artifactId>ant-launcher</artifactId>
-                  <version>1.7.1</version>
-               </dependency>
-                <dependency>
-                  <groupId>org.apache.ant</groupId>
-                  <artifactId>ant-nodeps</artifactId>
-                  <version>1.7.1</version>
-               </dependency>
-               <dependency>
-                  <groupId>ant-contrib</groupId>
-                  <artifactId>ant-contrib</artifactId>
-                  <version>1.0b3</version>
-                  <exclusions>
-                     <exclusion>
-                        <groupId>ant</groupId>
-                        <artifactId>ant</artifactId>
-                     </exclusion>
-                  </exclusions>
-               </dependency>
-               <dependency>
-                  <groupId>sun.jdk</groupId>
-                  <artifactId>tools</artifactId>
-                  <version>1.5</version>
-                  <scope>system</scope>
-                  <systemPath>${java.home}/../lib/tools.jar</systemPath>
-               </dependency>
-               <dependency>
-                 <groupId>net.java.dev.javacc</groupId>
-                 <artifactId>javacc</artifactId>
-                 <version>4.0</version>
-               </dependency>
-               <dependency>
-                 <groupId>apache-xerces</groupId>
-                 <artifactId>xercesImpl</artifactId>
-                 <version>2.9.1</version>
-               </dependency>
-               <dependency>
-                 <groupId>apache-xerces</groupId>
-                 <artifactId>resolver</artifactId>
-                 <version>2.9.1</version>
-               </dependency>
-               <dependency>
-                 <groupId>apache-xerces</groupId>
-                 <artifactId>xml-apis</artifactId>
-                 <version>2.9.1</version>
-               </dependency>
-            </dependencies>
-         </plugin>
+    <dependencyManagement>
+        <dependencies>
+            <dependency>
+                <groupId>net.java.dev.javacc</groupId>
+                <artifactId>javacc</artifactId>
+                <version>4.0</version>
+            </dependency>
+            <!-- needed to compile JMS-->
+            <dependency>
+                <groupId>org.jboss.javaee</groupId>
+                <artifactId>jboss-jms-api</artifactId>
+                <version>1.1.0.GA</version>
+            </dependency>
+            <!-- needed to compile JavaEE examples-->
+            <dependency>
+                <groupId>org.jboss.javaee</groupId>
+                <artifactId>jboss-ejb-api</artifactId>
+                <version>3.0.0.GA</version>
+            </dependency>
+            <dependency>
+                <groupId>org.jboss.javaee</groupId>
+                <artifactId>jboss-transaction-api</artifactId>
+                <version>1.0.1.GA</version>
+            </dependency>
+            <!--this specifically for the JMS Bridge-->
+            <dependency>
+                <groupId>org.jboss.integration</groupId>
+                <artifactId>jboss-transaction-spi</artifactId>
+                <version>5.1.0.GA</version>
+            </dependency>
+            <!--this for xa recovery-->
+            <dependency>
+                <groupId>jboss.jbossts</groupId>
+                <artifactId>jbossjts</artifactId>
+                <version>4.6.1.GA</version>
+            </dependency>
+            <!--needed to compile security-->
+            <dependency>
+                <groupId>org.jboss.security</groupId>
+                <artifactId>jboss-security-spi</artifactId>
+                <version>2.0.3.SP1</version>
+            </dependency>
+            <dependency>
+                <groupId>org.jboss.security</groupId>
+                <artifactId>jbosssx</artifactId>
+                <version>2.0.3.SP1</version>
+            </dependency>
+            <!--needed to compile the bootstrap jar-->
+            <dependency>
+                <groupId>org.jboss.microcontainer</groupId>
+                <artifactId>jboss-kernel</artifactId>
+                <version>2.0.6.GA</version>
+            </dependency>
+            <dependency>
+                <groupId>org.jboss</groupId>
+                <artifactId>jboss-common-core</artifactId>
+                <version>2.2.14.GA</version>
+            </dependency>
+            <!--needed to compile transport jar-->
+            <dependency>
+                <groupId>org.jboss.netty</groupId>
+                <artifactId>netty</artifactId>
+                <version>${netty.version}</version>
+            </dependency>
+            <!--needed to compile the logging jar-->
+            <dependency>
+                <groupId>log4j</groupId>
+                <artifactId>log4j</artifactId>
+                <version>1.2.14</version>
+            </dependency>
+            <dependency>
+                <groupId>org.jboss.logging</groupId>
+                <artifactId>jboss-logging-spi</artifactId>
+                <version>2.1.0.GA</version>
+            </dependency>
+            <!--needed to compile twitter support-->
+            <dependency>
+                <groupId>org.twitter4j</groupId>
+                <artifactId>twitter4j-core</artifactId>
+                <version>2.1.2</version>
+            </dependency>
+            <!--needed to compile the spring support-->
+            <dependency>
+                <groupId>org.springframework</groupId>
+                <artifactId>spring-core</artifactId>
+                <version>3.0.3.RELEASE</version>
+            </dependency>
+            <dependency>
+                <groupId>org.springframework</groupId>
+                <artifactId>spring-beans</artifactId>
+                <version>3.0.3.RELEASE</version>
+            </dependency>
+            <dependency>
+                <groupId>org.springframework</groupId>
+                <artifactId>spring-context</artifactId>
+                <version>3.0.3.RELEASE</version>
+            </dependency>
+            <dependency>
+                <groupId>org.springframework</groupId>
+                <artifactId>spring-jms</artifactId>
+                <version>3.0.3.RELEASE</version>
+            </dependency>
+            <!--needed for the rest support-->
+            <dependency>
+                <groupId>org.jboss.resteasy</groupId>
+                <artifactId>resteasy-jaxrs</artifactId>
+                <version>${resteasy.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.jboss.resteasy</groupId>
+                <artifactId>resteasy-jaxb-provider</artifactId>
+                <version>${resteasy.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.jboss.resteasy</groupId>
+                <artifactId>resteasy-jackson-provider</artifactId>
+                <version>${resteasy.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.jboss.resteasy</groupId>
+                <artifactId>resteasy-atom-provider</artifactId>
+                <version>${resteasy.version}</version>
+            </dependency>
+            <!-- needed to compile the tests-->
+            <dependency>
+                <groupId>junit</groupId>
+                <artifactId>junit</artifactId>
+                <version>3.8.2</version>
+            </dependency>
+            <!--needed to compile the jms tests-->
+            <dependency>
+                <groupId>org.jboss.javaee</groupId>
+                <artifactId>jboss-jaspi-api</artifactId>
+                <version>1.0.0.GA</version>
+            </dependency>
 
-      </plugins>
+            <!--needed to run the jms tests-->
+            <dependency>
+                <groupId>org.jboss.naming</groupId>
+                <artifactId>jnpserver</artifactId>
+                <version>5.0.3.GA</version>
+            </dependency>
+            <dependency>
+                <groupId>jboss.jbossts</groupId>
+                <artifactId>jbossts-common</artifactId>
+                <version>4.6.1.GA</version>
+            </dependency>
+            <dependency>
+                <groupId>apache-logging</groupId>
+                <artifactId>commons-logging</artifactId>
+                <version>1.1.0.jboss</version>
+            </dependency>
 
-   </build>
-   <dependencies>
-     <dependency>
-       <groupId>org.jboss.resteasy</groupId>
-       <artifactId>resteasy-jaxrs</artifactId>
-       <version>${resteasy.version}</version>
-     </dependency>
-     <dependency>
-       <groupId>org.jboss.resteasy</groupId>
-       <artifactId>resteasy-jaxb-provider</artifactId>
-       <version>${resteasy.version}</version>
-     </dependency>
-      <!--needed for the filters-->
-      <dependency>
-        <groupId>net.java.dev.javacc</groupId>
-        <artifactId>javacc</artifactId>
-        <version>4.0</version>
-      </dependency>
-      <!-- needed to compile JMS-->
-      <dependency>
-        <groupId>org.jboss.javaee</groupId>
-        <artifactId>jboss-jms-api</artifactId>
-        <version>1.1.0.GA</version>
-      </dependency>
-      <!-- needed to compile JavaEE examples-->
-      <dependency>
-        <groupId>org.jboss.javaee</groupId>
-        <artifactId>jboss-ejb-api</artifactId>
-        <version>3.0.0.GA</version>
-      </dependency>
-      <dependency>
-        <groupId>org.jboss.javaee</groupId>
-        <artifactId>jboss-transaction-api</artifactId>
-        <version>1.0.1.GA</version>
-      </dependency>
-      <!--this specifically for the JMS Bridge-->
-      <dependency>
-        <groupId>org.jboss.integration</groupId>
-        <artifactId>jboss-transaction-spi</artifactId>
-        <version>5.1.0.GA</version>
-      </dependency>
-      <!--this for xa recovery-->
-      <dependency>
-        <groupId>jboss.jbossts</groupId>
-        <artifactId>jbossjts</artifactId>
-        <version>4.6.1.GA</version>
-      </dependency>
-      <!--needed to compile security-->
-      <dependency>
-        <groupId>org.jboss.security</groupId>
-        <artifactId>jboss-security-spi</artifactId>
-        <version>2.0.3.SP1</version>
-      </dependency>
-      <dependency>
-        <groupId>org.jboss.security</groupId>
-        <artifactId>jbosssx</artifactId>
-        <version>2.0.3.SP1</version>
-      </dependency>
-      <!--needed to compile the bootstrap jar-->
-      <dependency>
-        <groupId>org.jboss.microcontainer</groupId>
-        <artifactId>jboss-kernel</artifactId>
-        <version>2.0.6.GA</version>
-      </dependency>
-      <dependency>
-        <groupId>org.jboss</groupId>
-        <artifactId>jboss-common-core</artifactId>
-        <version>2.2.14.GA</version>
-      </dependency>
-      <!--needed to compile transport jar-->
-      <dependency>
-         <groupId>org.jboss.netty</groupId>
-         <artifactId>netty</artifactId>
-         <version>3.2.3.Final</version>
-      </dependency>
-      <!--needed to compile the logging jar-->
-      <dependency>
-         <groupId>log4j</groupId>
-         <artifactId>log4j</artifactId>
-         <version>1.2.14</version>
-      </dependency>
-      <dependency>
-         <groupId>org.jboss.logging</groupId>
-         <artifactId>jboss-logging-spi</artifactId>
-         <version>2.1.0.GA</version>
-      </dependency>
-      <!--needed to compile twitter support-->
-      <dependency>
-         <groupId>org.twitter4j</groupId>
-           <artifactId>twitter4j-core</artifactId>
-           <version>2.1.6</version>
-       </dependency>
-      <!-- needed to compile the tests-->
-      <dependency>
-        <groupId>junit</groupId>
-        <artifactId>junit</artifactId>
-        <version>3.8.2</version>
-      </dependency>
-      <!--needed to compile the jms tests-->
-      <dependency>
-        <groupId>org.jboss.javaee</groupId>
-        <artifactId>jboss-jaspi-api</artifactId>
-        <version>1.0.0.GA</version>
-      </dependency>
+            <!-- needed for javaee examples-->
+            <dependency>
+                <groupId>org.jboss.ejb3</groupId>
+                <artifactId>jboss-ejb3-ext-api</artifactId>
+                <version>1.0.0</version>
+            </dependency>
 
-      <!--needed to run the jms tests-->
-      <dependency>
-        <groupId>org.jboss.naming</groupId>
-        <artifactId>jnpserver</artifactId>
-        <version>5.0.3.GA</version>
-      </dependency>
-      <dependency>
-        <groupId>jboss.jbossts</groupId>
-        <artifactId>jbossts-common</artifactId>
-        <version>4.6.1.GA</version>
-      </dependency>
-      <dependency>
-        <groupId>apache-logging</groupId>
-        <artifactId>commons-logging</artifactId>
-        <version>1.1.0.jboss</version>
-      </dependency>
-      
-      <!-- needed for javaee examples-->
-      <dependency>
-        <groupId>org.jboss.ejb3</groupId>
-        <artifactId>jboss-ejb3-ext-api</artifactId>
-        <version>1.0.0</version>
-      </dependency>
-      
-     <!-- needed for javadoc graphics-->
-      <dependency>
-        <groupId>org.jboss.apiviz</groupId>
-        <artifactId>apiviz</artifactId>
-        <version>1.3.0.GA</version>
-      </dependency>
-       <!-- needed for spring integration -->
-       <dependency>
-           <groupId>org.springframework</groupId>
-           <artifactId>spring-core</artifactId>
-           <version>3.0.3.RELEASE</version>
-       </dependency>
-       <dependency>
-           <groupId>org.springframework</groupId>
-           <artifactId>spring-beans</artifactId>
-           <version>3.0.3.RELEASE</version>
-       </dependency>
-       <dependency>
-           <groupId>org.springframework</groupId>
-           <artifactId>spring-context</artifactId>
-           <version>3.0.3.RELEASE</version>
-       </dependency>
-       <dependency>
-           <groupId>org.springframework</groupId>
-           <artifactId>spring-jms</artifactId>
-           <version>3.0.3.RELEASE</version>
-       </dependency>
-   </dependencies>
+            <dependency>
+                <groupId>org.jboss.javaee</groupId>
+                <artifactId>jboss-jca-api</artifactId>
+                <version>1.5.0.GA</version>
+            </dependency>
 
+            <!-- needed for javadoc graphics-->
+            <dependency>
+                <groupId>org.jboss.apiviz</groupId>
+                <artifactId>apiviz</artifactId>
+                <version>1.3.0.GA</version>
+            </dependency>
+        </dependencies>
+    </dependencyManagement>
 
-   <repositories>
-      <repository>
-         <snapshots>
-            <enabled>false</enabled>
-            <updatePolicy>never</updatePolicy>
-         </snapshots>
-         <releases>
-            <enabled>true</enabled>
-            <updatePolicy>interval:10080</updatePolicy>
-         </releases>
-         <id>jboss.release</id>
-         <name>JBoss releases</name>
-         <url>https://repository.jboss.org/nexus/content/groups/public/</url>
-      </repository>
-   </repositories>
+    <repositories>
+        <repository>
+            <snapshots>
+                <enabled>false</enabled>
+                <updatePolicy>never</updatePolicy>
+            </snapshots>
+            <releases>
+                <enabled>true</enabled>
+                <updatePolicy>interval:10080</updatePolicy>
+            </releases>
+            <id>jboss.release</id>
+            <name>JBoss releases</name>
+            <url>https://repository.jboss.org/nexus/content/groups/public/</url>
+        </repository>
+    </repositories>
+    <pluginRepositories>
+        <pluginRepository>
+            <snapshots>
+                <enabled>false</enabled>
+                <updatePolicy>never</updatePolicy>
+            </snapshots>
+            <releases>
+                <enabled>true</enabled>
+                <updatePolicy>interval:10080</updatePolicy>
+            </releases>
+            <id>jboss.release</id>
+            <name>JBoss releases</name>
+            <url>https://repository.jboss.org/nexus/content/groups/public</url>
+        </pluginRepository>
+    </pluginRepositories>
+    <build>
+        <pluginManagement>
+            <plugins>
+                <!--
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-javadoc-plugin</artifactId>
+                    <version>2.4</version>
+                    <configuration>
+                        <minmemory>128m</minmemory>
+                        <maxmemory>512m</maxmemory>
+                        <quiet>false</quiet>
+                        <aggregate>true</aggregate>
+                    </configuration>
+                    <executions>
+                        <execution>
+                            <id>javadocs</id>
+                            <goals>
+                                <goal>jar</goal>
+                            </goals>
+                        </execution>
+                    </executions>
+                </plugin>
+                -->
 
-   <pluginRepositories>
-      <pluginRepository>
-         <snapshots>
-            <enabled>false</enabled>
-            <updatePolicy>never</updatePolicy>
-         </snapshots>
-         <releases>
-            <enabled>true</enabled>
-            <updatePolicy>interval:10080</updatePolicy>
-         </releases>
-         <id>jboss.release</id>
-         <name>JBoss releases</name>
-         <url>https://repository.jboss.org/nexus/content/groups/public</url>
-      </pluginRepository>
-   </pluginRepositories>                     
-   <!--<profiles>
-      --><!-- This profile is used by the ant/buildmagic build --><!--
-      <profile>
-         <id>integrated-build</id>
-         <activation>
-            <property>
-               <name>integrated-build</name>
-            </property>
-         </activation>
-         <modules>
-            <module>thirdparty</module>
-         </modules>
-      </profile>
+                <plugin>
+                  <groupId>org.codehaus.mojo</groupId>
+                  <artifactId>javacc-maven-plugin</artifactId>
+                  <version>2.6</version>
+                  <executions>
+                    <execution>
+                      <id>javacc</id>
+                      <goals>
+                        <goal>javacc</goal>
+                      </goals>
+                    </execution>
+                  </executions>
+                </plugin>
+                <plugin>
+                  <groupId>org.apache.maven.plugins</groupId>
+                  <artifactId>maven-rar-plugin</artifactId>
+                    <version>2.2</version>
+                </plugin>
+                <plugin>
+                    <groupId>net.sf.maven-sar</groupId>
+                    <artifactId>maven-sar-plugin</artifactId>
+                    <version>1.0</version>
+                </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-site-plugin</artifactId>
+                    <version>2.0-beta-5</version>
+                </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-shade-plugin</artifactId>
+                    <version>1.3.3</version>
+                </plugin>
+                <plugin>
+                    <groupId>org.mortbay.jetty</groupId>
+                    <artifactId>maven-jetty-plugin</artifactId>
+                    <version>6.1.15</version>
+                </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-deploy-plugin</artifactId>
+                    <version>2.4</version>
+                </plugin>
 
-   </profiles>-->
+                <plugin>
+                    <inherited>true</inherited>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-source-plugin</artifactId>
+                    <version>2.0.3</version>
+                    <executions>
+                        <execution>
+                            <id>attach-sources</id>
+                            <goals>
+                                <goal>jar</goal>
+                            </goals>
+                        </execution>
+                    </executions>
+                </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-surefire-plugin</artifactId>
+                    <version>2.4</version>
+                </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-install-plugin</artifactId>
+                    <version>2.3</version>
+                    <configuration>
+                        <createChecksum>true</createChecksum>
+                    </configuration>
+                </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-pmd-plugin</artifactId>
+                    <configuration>
+                        <linkXref>true</linkXref>
+                        <sourceEncoding>utf-8</sourceEncoding>
+                        <minimumTokens>100</minimumTokens>
+                        <targetJdk>1.5</targetJdk>
+                    </configuration>
+                </plugin>
+                <plugin>
+                    <groupId>org.codehaus.mojo</groupId>
+                    <artifactId>cobertura-maven-plugin</artifactId>
+                    <configuration/>
+                    <executions>
+                        <execution>
+                            <goals>
+                                <goal>clean</goal>
+                            </goals>
+                        </execution>
+                    </executions>
+                </plugin>
+            </plugins>
+        </pluginManagement>
 
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <configuration>
+                    <source>1.5</source>
+                    <target>1.5</target>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-javadoc-plugin</artifactId>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-install-plugin</artifactId>
+                <configuration>
+                    <createChecksum>true</createChecksum>
+                </configuration>
+            </plugin>
+            <plugin>
+                <artifactId>maven-source-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <phase>verify</phase>
+                        <goals>
+                            <goal>jar</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
 
+    </build>
+
+    <reporting>
+        <plugins>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>cobertura-maven-plugin</artifactId>
+                <configuration>
+                    <formats>
+                        <format>html</format>
+                        <format>xml</format>
+                    </formats>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-checkstyle-plugin</artifactId>
+                <configuration>
+                    <configLocation>
+                        config/jboss_checks.xml
+                    </configLocation>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>findbugs-maven-plugin</artifactId>
+                <version>1.1.1</version>
+                <configuration>
+                    <xmlOutput>true</xmlOutput>
+                    <effort>Max</effort>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-javadoc-plugin</artifactId>
+                <configuration>
+                    <minmemory>128m</minmemory>
+                    <maxmemory>1024m</maxmemory>
+                    <quiet>false</quiet>
+                    <aggregate>true</aggregate>
+                    <excludePackageNames>com.restfully.*:org.jboss.resteasy.examples.*:org.jboss.resteasy.tests.*
+                    </excludePackageNames>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>
+                    maven-project-info-reports-plugin
+                </artifactId>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-report-plugin</artifactId>
+            </plugin>
+        </plugins>
+    </reporting>
 </project>
-



More information about the hornetq-commits mailing list