AMQ-5047. Fix packaging issues related to maven version

This commit is contained in:
Hadrian Zbarcea 2014-02-15 16:15:04 -05:00
parent 93ca04468b
commit 7b555c2898
8 changed files with 28 additions and 48 deletions

View File

@ -93,6 +93,11 @@
<artifactId>activemq-spring</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-leveldb-store</artifactId>

View File

@ -85,14 +85,6 @@
<scope>test</scope>
</dependency>
<!-- =============================== -->
<!-- Plugin Dependencies -->
<!-- =============================== -->
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-openwire-generator</artifactId>
<optional>true</optional>
</dependency>
</dependencies>
<reporting>
@ -247,14 +239,6 @@
<!-- Execute with: mvn -P openwire-generate antrun:run -->
<profile>
<id>openwire-generate</id>
<dependencies>
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-openwire-generator</artifactId>
<version>${project.version}</version>
<optional>true</optional>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
@ -277,13 +261,11 @@
</tasks>
</configuration>
<dependencies>
<!-- not needed on osx; dependency>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<version>1.6.0</version>
<scope>system</scope>
<systemPath>${java.home}/../lib/tools.jar</systemPath>
</dependency -->
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-openwire-generator</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</plugin>
</plugins>

View File

@ -35,6 +35,10 @@
<groupId>${project.groupId}</groupId>
<artifactId>activemq-spring</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>activemq-stomp</artifactId>

View File

@ -104,6 +104,7 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>xalan</groupId>

View File

@ -114,6 +114,7 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>xalan</groupId>

View File

@ -54,6 +54,11 @@
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-broker</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-jdbc-store</artifactId>
@ -150,6 +155,7 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework</groupId>

View File

@ -74,6 +74,11 @@
<artifactId>activemq-jaas</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>

26
pom.xml
View File

@ -222,6 +222,7 @@
</distributionManagement>
<modules>
<module>activemq-openwire-generator</module>
<module>activemq-client</module>
<module>activemq-openwire-legacy</module>
<module>activemq-broker</module>
@ -238,7 +239,6 @@
<module>activemq-fileserver</module>
<module>activemq-jaas</module>
<module>activemq-karaf</module>
<module>activemq-openwire-generator</module>
<module>activemq-jms-pool</module>
<module>activemq-pool</module>
<module>activemq-ra</module>
@ -453,7 +453,6 @@
<groupId>org.apache.activemq</groupId>
<artifactId>activeio-core</artifactId>
<version>${activeio-version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.apache.activemq</groupId>
@ -594,7 +593,6 @@
<groupId>org.apache.hadoop.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
<version>${zookeeper-version}</version>
<optional>true</optional>
</dependency>
<!-- zeroconf transport -->
@ -602,7 +600,6 @@
<groupId>javax.jmdns</groupId>
<artifactId>jmdns</artifactId>
<version>${jmdns-version}</version>
<optional>true</optional>
</dependency>
<!-- For jsvc support -->
@ -634,7 +631,6 @@
<groupId>org.apache.xbean</groupId>
<artifactId>xbean-spring</artifactId>
<version>${xbean-version}</version>
<optional>true</optional>
<exclusions>
<exclusion>
<groupId>qdox</groupId>
@ -677,44 +673,37 @@
<groupId>org.springframework</groupId>
<artifactId>spring-aop</artifactId>
<version>${spring-version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
<version>${spring-version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring-version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>${spring-version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jms</artifactId>
<version>${spring-version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-tx</artifactId>
<version>${spring-version}</version>
<optional>true</optional>
</dependency>
<!--
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring</artifactId>
<version>${spring-version}</version>
<optional>true</optional>
<exclusions>
<exclusion>
<groupId>javax.mail</groupId>
@ -782,13 +771,11 @@
<groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId>
<version>${org-apache-derby-version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derbynet</artifactId>
<version>${org-apache-derby-version}</version>
<optional>true</optional>
</dependency>
<!-- Optional Axion support -->
@ -796,21 +783,18 @@
<groupId>axion</groupId>
<artifactId>axion</artifactId>
<version>${axion-version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>commons-primitives</groupId>
<artifactId>commons-primitives</artifactId>
<version>${commons-primitives-version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>regexp</groupId>
<artifactId>regexp</artifactId>
<version>${regexp-version}</version>
<optional>true</optional>
</dependency>
<!-- Optional HSQL DB Support -->
@ -819,7 +803,6 @@
<groupId>hsqldb</groupId>
<artifactId>hsqldb</artifactId>
<version>${hsqldb-version}</version>
<optional>true</optional>
</dependency>
-->
@ -827,7 +810,6 @@
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
<version>${commons-dbcp-version}</version>
<optional>true</optional>
</dependency>
<dependency>
@ -842,7 +824,6 @@
<groupId>howl</groupId>
<artifactId>howl-logger</artifactId>
<version>${howl-version}</version>
<optional>true</optional>
</dependency>
-->
@ -851,14 +832,12 @@
<groupId>activemq</groupId>
<artifactId>smack</artifactId>
<version>1.5.0</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>activemq</groupId>
<artifactId>smackx</artifactId>
<version>1.5.0</version>
<optional>true</optional>
</dependency>
<!-- =============================== -->
@ -1009,7 +988,6 @@
<groupId>org.fusesource.mqtt-client</groupId>
<artifactId>mqtt-client</artifactId>
<version>${mqtt-client-version}</version>
<optional>true</optional>
</dependency>
<dependency>
@ -1066,13 +1044,11 @@
<groupId>org.apache.velocity</groupId>
<artifactId>velocity</artifactId>
<version>${velocity-version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.apache.servicemix.bundles</groupId>
<artifactId>org.apache.servicemix.bundles.josql</artifactId>
<version>${josql-version}</version>
<optional>true</optional>
</dependency>
</dependencies>