apply changes for https://issues.apache.org/jira/browse/AMQ-2961 updates some versions of dependencies and clean up the versions in the pom files so its easier to change in the future.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1161672 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Timothy A. Bish 2011-08-25 18:05:45 +00:00
parent ff9f2fe167
commit c54967d4fe
6 changed files with 133 additions and 112 deletions

View File

@ -62,7 +62,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId> <artifactId>maven-shade-plugin</artifactId>
<version>1.0.1</version> <version>${maven-shade-plugin-version}</version>
<executions> <executions>
<execution> <execution>
<phase>package</phase> <phase>package</phase>

View File

@ -64,11 +64,10 @@
</plugin> </plugin>
<plugin> <plugin>
<artifactId>maven-resources-plugin</artifactId> <artifactId>maven-resources-plugin</artifactId>
<version>2.3</version>
</plugin> </plugin>
<plugin> <plugin>
<artifactId>maven-install-plugin</artifactId> <artifactId>maven-install-plugin</artifactId>
<version>2.2</version> <version>${maven-install-plugin-version}</version>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>

View File

@ -361,7 +361,7 @@
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId> <artifactId>findbugs-maven-plugin</artifactId>
<version>1.1</version> <version>${findbugs-maven-plugin-version}</version>
<configuration> <configuration>
<threshold>Normal</threshold> <threshold>Normal</threshold>
<effort>Default</effort> <effort>Default</effort>
@ -554,7 +554,6 @@
<goal>run</goal> <goal>run</goal>
</goals> </goals>
</execution> </execution>
<execution> <execution>
<id>site</id> <id>site</id>
<phase>site</phase> <phase>site</phase>
@ -598,7 +597,6 @@
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>javacc-maven-plugin</artifactId> <artifactId>javacc-maven-plugin</artifactId>
<version>2.0</version>
<executions> <executions>
<execution> <execution>
<phase>generate-sources</phase> <phase>generate-sources</phase>
@ -638,7 +636,6 @@
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId> <artifactId>cobertura-maven-plugin</artifactId>
<version>2.0</version>
<configuration> <configuration>
<check> <check>
<branchRate>50</branchRate> <branchRate>50</branchRate>
@ -653,7 +650,6 @@
</build> </build>
<profiles> <profiles>
<profile> <profile>
<id>openwire-generate</id> <id>openwire-generate</id>
<dependencies> <dependencies>
@ -689,7 +685,6 @@
</plugins> </plugins>
</build> </build>
</profile> </profile>
</profiles> </profiles>
</project> </project>

View File

@ -56,7 +56,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId> <artifactId>maven-shade-plugin</artifactId>
<version>1.0.1</version> <version>${maven-shade-plugin-version}</version>
<executions> <executions>
<execution> <execution>
<phase>package</phase> <phase>package</phase>

View File

@ -70,12 +70,12 @@
<dependency> <dependency>
<groupId>org.codehaus.woodstox</groupId> <groupId>org.codehaus.woodstox</groupId>
<artifactId>woodstox-core-asl</artifactId> <artifactId>woodstox-core-asl</artifactId>
<version>4.0.7</version> <version>${woodstox-core-asl-version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.codehaus.woodstox</groupId> <groupId>org.codehaus.woodstox</groupId>
<artifactId>stax2-api</artifactId> <artifactId>stax2-api</artifactId>
<version>3.0.1</version> <version>${stax2-api-version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.geronimo.specs</groupId> <groupId>org.apache.geronimo.specs</groupId>
@ -123,7 +123,7 @@
<plugin> <plugin>
<groupId>org.jvnet.jaxb2.maven2</groupId> <groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin</artifactId> <artifactId>maven-jaxb2-plugin</artifactId>
<version>0.7.2</version> <version>${maven-jaxb2-plugin-version}</version>
<executions> <executions>
<execution> <execution>
<goals> <goals>

117
pom.xml
View File

@ -37,59 +37,87 @@
<projectName>Apache ActiveMQ</projectName> <projectName>Apache ActiveMQ</projectName>
<!-- base url for site deployment. See distribution management for full url. Override this in settings.xml for staging --> <!-- base url for site deployment. See distribution management for full url. Override this in settings.xml for staging -->
<staging.siteURL>scp://people.apache.org/x1/www/activemq.apache.org</staging.siteURL> <staging.siteURL>scp://people.apache.org/x1/www/activemq.apache.org</staging.siteURL>
<spring-version>3.0.3.RELEASE</spring-version> <spring-version>3.0.6.RELEASE</spring-version>
<spring-osgi-version>1.2.1</spring-osgi-version> <spring-osgi-version>1.2.1</spring-osgi-version>
<activesoap-version>1.3</activesoap-version> <activesoap-version>1.3</activesoap-version>
<annogen-version>0.1.0</annogen-version> <annogen-version>0.1.0</annogen-version>
<ant-version>1.7.1</ant-version> <ant-version>1.8.2</ant-version>
<aopalliance-version>1.0</aopalliance-version> <aopalliance-version>1.0</aopalliance-version>
<aries-version>0.2-incubating</aries-version> <aries-version>0.2-incubating</aries-version>
<axion-version>1.0-M3-dev</axion-version> <axion-version>1.0-M3-dev</axion-version>
<axis-version>1.2-RC1</axis-version> <axis-version>1.4</axis-version>
<camel-version>2.8.0</camel-version> <camel-version>2.8.0</camel-version>
<camel-web-version>2.4.0</camel-web-version>
<cglib-version>2.0</cglib-version> <cglib-version>2.0</cglib-version>
<commons-beanutils-version>1.6.1</commons-beanutils-version>
<commons-collections-version>3.2.1</commons-collections-version>
<openjpa-version>1.2.0</openjpa-version> <openjpa-version>1.2.0</openjpa-version>
<commons-dbcp-version>1.2.2</commons-dbcp-version> <commons-beanutils-version>1.8.3</commons-beanutils-version>
<commons-collections-version>3.2.1</commons-collections-version>
<commons-daemon-version>1.0.5</commons-daemon-version>
<commons-dbcp-version>1.4</commons-dbcp-version>
<commons-httpclient-version>3.1</commons-httpclient-version> <commons-httpclient-version>3.1</commons-httpclient-version>
<commons-io-version>1.4</commons-io-version> <commons-io-version>1.4</commons-io-version>
<commons-lang-version>2.4</commons-lang-version> <commons-lang-version>2.6</commons-lang-version>
<commons-logging-version>1.1</commons-logging-version> <commons-logging-version>1.1.1</commons-logging-version>
<commons-pool-version>1.5.4</commons-pool-version> <commons-pool-version>1.5.6</commons-pool-version>
<commons-primitives-version>1.0</commons-primitives-version> <commons-primitives-version>1.0</commons-primitives-version>
<commons-net-version>2.2</commons-net-version>
<directory-version>1.5.7</directory-version> <directory-version>1.5.7</directory-version>
<geronimo-version>1.0</geronimo-version> <geronimo-version>1.0</geronimo-version>
<howl-version>0.1.8</howl-version> <howl-version>0.1.8</howl-version>
<hsqldb-version>1.7.2.2</hsqldb-version> <hsqldb-version>1.7.2.2</hsqldb-version>
<jasypt-version>1.7</jasypt-version> <jasypt-version>1.8</jasypt-version>
<jdom-version>1.0</jdom-version> <jdom-version>1.0</jdom-version>
<jetty-version>7.1.6.v20100715</jetty-version> <jetty-version>7.1.6.v20100715</jetty-version>
<jsp-version>2.1.v20100127</jsp-version> <jsp-version>2.1.v20100127</jsp-version>
<jettison-version>1.2</jettison-version> <jstl-version>1.1.2</jstl-version>
<jettison-version>1.3</jettison-version>
<jmock-version>2.5.1</jmock-version> <jmock-version>2.5.1</jmock-version>
<junit-version>4.8.1</junit-version> <josql-version>1.5</josql-version>
<junit-version>4.8.2</junit-version>
<jxta-version>2.0</jxta-version> <jxta-version>2.0</jxta-version>
<karaf-version>2.2.0</karaf-version> <karaf-version>2.2.0</karaf-version>
<log4j-version>1.2.16</log4j-version> <log4j-version>1.2.16</log4j-version>
<org-apache-derby-version>10.1.3.1</org-apache-derby-version> <org-apache-derby-version>10.1.3.1</org-apache-derby-version>
<p2psockets-version>1.1.2</p2psockets-version> <p2psockets-version>1.1.2</p2psockets-version>
<regexp-version>1.3</regexp-version> <regexp-version>1.3</regexp-version>
<rome-version>0.8</rome-version> <rome-version>1.0</rome-version>
<slf4j-version>1.6.1</slf4j-version> <slf4j-version>1.6.2</slf4j-version>
<spring-oxm-version>1.5.8</spring-oxm-version> <spring-oxm-version>1.5.10</spring-oxm-version>
<xalan-version>2.6.0</xalan-version> <xalan-version>2.7.0</xalan-version>
<xmlbeans-version>2.0.0-beta1</xmlbeans-version> <xmlbeans-version>2.2.0</xmlbeans-version>
<xpp3-version>1.1.4c</xpp3-version> <xpp3-version>1.1.4c</xpp3-version>
<xstream-version>1.4.1</xstream-version> <xstream-version>1.4.1</xstream-version>
<xbean-version>3.7</xbean-version> <xbean-version>3.7</xbean-version>
<velocity-version>1.6.2</velocity-version> <velocity-version>1.6.4</velocity-version>
<maven-bundle-plugin-version>2.3.5</maven-bundle-plugin-version>
<maven-surefire-plugin-version>2.5</maven-surefire-plugin-version>
<commons-net-version>2.0</commons-net-version>
<ftpserver-version>1.0.0</ftpserver-version> <ftpserver-version>1.0.0</ftpserver-version>
<activemq-protobuf-version>1.1</activemq-protobuf-version> <activemq-protobuf-version>1.1</activemq-protobuf-version>
<opensymphony-version>2.4.2</opensymphony-version>
<zookeeper-version>3.0.0</zookeeper-version>
<org.osgi.core-version>4.3.0</org.osgi.core-version>
<woodstox-core-asl-version>4.0.8</woodstox-core-asl-version>
<stax2-api-version>3.0.2</stax2-api-version>
<site-repo-url>scpexe://people.apache.org/www/activemq.apache.org/maven/</site-repo-url> <site-repo-url>scpexe://people.apache.org/www/activemq.apache.org/maven/</site-repo-url>
<!-- Maven Plugin Version for this Project -->
<maven-bundle-plugin-version>2.3.5</maven-bundle-plugin-version>
<maven-surefire-plugin-version>2.9</maven-surefire-plugin-version>
<maven-antrun-plugin-version>1.3</maven-antrun-plugin-version>
<maven-assembly-plugin-version>2.2.1</maven-assembly-plugin-version>
<maven-release-plugin-version>2.2.1</maven-release-plugin-version>
<maven-eclipse-plugin-version>2.8</maven-eclipse-plugin-version>
<maven-war-plugin-version>2.1.1</maven-war-plugin-version>
<maven-compiler-plugin-version>2.3.2</maven-compiler-plugin-version>
<maven-source-plugin-version>2.1.2</maven-source-plugin-version>
<maven-javadoc-plugin-version>2.8</maven-javadoc-plugin-version>
<maven-install-plugin-version>2.3.1</maven-install-plugin-version>
<maven-shade-plugin-version>1.4</maven-shade-plugin-version>
<maven-jaxb2-plugin-version>0.7.2</maven-jaxb2-plugin-version>
<findbugs-maven-plugin-version>2.3.2</findbugs-maven-plugin-version>
<javacc-maven-plugin-version>2.6</javacc-maven-plugin-version>
<cobertura-maven-plugin-version>2.5.1</cobertura-maven-plugin-version>
<taglist-maven-plugin-version>2.4</taglist-maven-plugin-version>
<build-helper-maven-plugin-version>1.7</build-helper-maven-plugin-version>
<apache-rat-plugin-version>0.7</apache-rat-plugin-version>
<ianal-maven-plugin-version>1.0-alpha-1</ianal-maven-plugin-version>
<!-- OSGi bundles properties --> <!-- OSGi bundles properties -->
<activemq.osgi.import.pkg>*</activemq.osgi.import.pkg> <activemq.osgi.import.pkg>*</activemq.osgi.import.pkg>
<activemq.osgi.export.pkg>org.apache.activemq*</activemq.osgi.export.pkg> <activemq.osgi.export.pkg>org.apache.activemq*</activemq.osgi.export.pkg>
@ -436,20 +464,20 @@
<dependency> <dependency>
<groupId>org.apache.camel</groupId> <groupId>org.apache.camel</groupId>
<artifactId>camel-web</artifactId> <artifactId>camel-web</artifactId>
<version>2.4.0</version> <version>${camel-web-version}</version>
<type>war</type> <type>war</type>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.osgi</groupId> <groupId>org.osgi</groupId>
<artifactId>org.osgi.core</artifactId> <artifactId>org.osgi.core</artifactId>
<version>4.1.0</version> <version>${org.osgi.core-version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.hadoop.zookeeper</groupId> <groupId>org.apache.hadoop.zookeeper</groupId>
<artifactId>zookeeper</artifactId> <artifactId>zookeeper</artifactId>
<version>3.0.0</version> <version>${zookeeper-version}</version>
<optional>true</optional> <optional>true</optional>
</dependency> </dependency>
@ -457,7 +485,7 @@
<dependency> <dependency>
<groupId>commons-daemon</groupId> <groupId>commons-daemon</groupId>
<artifactId>commons-daemon</artifactId> <artifactId>commons-daemon</artifactId>
<version>1.0.3</version> <version>${commons-daemon-version}</version>
</dependency> </dependency>
<!-- camel testing --> <!-- camel testing -->
@ -739,7 +767,7 @@
<dependency> <dependency>
<groupId>xalan</groupId> <groupId>xalan</groupId>
<artifactId>xalan</artifactId> <artifactId>xalan</artifactId>
<version>2.6.0</version> <version>${xalan-version}</version>
</dependency> </dependency>
<dependency> <dependency>
@ -888,12 +916,12 @@
<dependency> <dependency>
<groupId>opensymphony</groupId> <groupId>opensymphony</groupId>
<artifactId>sitemesh</artifactId> <artifactId>sitemesh</artifactId>
<version>2.2.1</version> <version>${opensymphony-version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>javax.servlet</groupId> <groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId> <artifactId>jstl</artifactId>
<version>1.0</version> <version>${jstl-version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>taglibs</groupId> <groupId>taglibs</groupId>
@ -923,13 +951,13 @@
<dependency> <dependency>
<groupId>net.sf.josql</groupId> <groupId>net.sf.josql</groupId>
<artifactId>josql</artifactId> <artifactId>josql</artifactId>
<version>1.5</version> <version>${josql-version}</version>
<optional>true</optional> <optional>true</optional>
</dependency> </dependency>
<dependency> <dependency>
<groupId>net.sf.josql</groupId> <groupId>net.sf.josql</groupId>
<artifactId>gentlyweb-utils</artifactId> <artifactId>gentlyweb-utils</artifactId>
<version>1.5</version> <version>${josql-version}</version>
<optional>true</optional> <optional>true</optional>
</dependency> </dependency>
@ -947,12 +975,12 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId> <artifactId>maven-antrun-plugin</artifactId>
<version>1.1</version> <version>${maven-antrun-plugin-version}</version>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId> <artifactId>maven-assembly-plugin</artifactId>
<version>2.2-beta-4</version> <version>${maven-assembly-plugin-version}</version>
<configuration> <configuration>
<tarLongFileMode>gnu</tarLongFileMode> <tarLongFileMode>gnu</tarLongFileMode>
</configuration> </configuration>
@ -970,7 +998,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId> <artifactId>maven-release-plugin</artifactId>
<version>2.0</version> <version>${maven-release-plugin-version}</version>
<configuration> <configuration>
<autoVersionSubmodules>true</autoVersionSubmodules> <autoVersionSubmodules>true</autoVersionSubmodules>
<allowTimestampedSnapshots>false</allowTimestampedSnapshots> <allowTimestampedSnapshots>false</allowTimestampedSnapshots>
@ -997,17 +1025,17 @@
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>ianal-maven-plugin</artifactId> <artifactId>ianal-maven-plugin</artifactId>
<version>1.0-alpha-1</version> <version>${ianal-maven-plugin-version}</version>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>javacc-maven-plugin</artifactId> <artifactId>javacc-maven-plugin</artifactId>
<version>2.0</version> <version>${javacc-maven-plugin-version}</version>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.rat</groupId> <groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId> <artifactId>apache-rat-plugin</artifactId>
<version>0.7</version> <version>${apache-rat-plugin-version}</version>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.eclipse.jetty</groupId> <groupId>org.eclipse.jetty</groupId>
@ -1017,19 +1045,19 @@
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId> <artifactId>build-helper-maven-plugin</artifactId>
<version>1.2</version> <version>${build-helper-maven-plugin-version}</version>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId> <artifactId>cobertura-maven-plugin</artifactId>
<version>2.0</version> <version>${cobertura-maven-plugin-version}</version>
<configuration> <configuration>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId> <artifactId>maven-eclipse-plugin</artifactId>
<version>2.5.1</version> <version>${maven-eclipse-plugin-version}</version>
<configuration> <configuration>
<downloadSources>true</downloadSources> <downloadSources>true</downloadSources>
<downloadJavadocs>false</downloadJavadocs> <downloadJavadocs>false</downloadJavadocs>
@ -1038,12 +1066,12 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId> <artifactId>maven-war-plugin</artifactId>
<version>2.1.1</version> <version>${maven-war-plugin-version}</version>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version> <version>${maven-compiler-plugin-version}</version>
</plugin> </plugin>
</plugins> </plugins>
</pluginManagement> </pluginManagement>
@ -1196,12 +1224,12 @@
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>taglist-maven-plugin</artifactId> <artifactId>taglist-maven-plugin</artifactId>
<version>2.4</version> <version>${taglist-maven-plugin-version}</version>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId> <artifactId>maven-javadoc-plugin</artifactId>
<version>2.5</version> <version>${maven-javadoc-plugin-version}</version>
<configuration> <configuration>
<links> <links>
<link>http://java.sun.com/j2se/1.5.0/docs/api/</link> <link>http://java.sun.com/j2se/1.5.0/docs/api/</link>
@ -1238,7 +1266,6 @@
</reporting> </reporting>
<profiles> <profiles>
<profile> <profile>
<id>apache-release</id> <id>apache-release</id>
<activation> <activation>
@ -1267,7 +1294,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId> <artifactId>maven-source-plugin</artifactId>
<version>2.1</version> <version>${maven-source-plugin-version}</version>
<executions> <executions>
<execution> <execution>
<id>attach-sources</id> <id>attach-sources</id>