ARTEMIS-3183: resolve various immediate warnings at build start

- Remove duplicates dependency definition following e7e3c71511.
- Removes deprecated RELEASE version use, consolidate modules on single paho client version.
- Remove prerequisites entry as per warning, suggested enforcer rule already in place.
This commit is contained in:
Robbie Gemmell 2021-03-16 12:39:58 +00:00
parent 770439c256
commit 96a09041ee
5 changed files with 6 additions and 16 deletions

View File

@ -78,14 +78,6 @@
<artifactId>wildfly-common</artifactId>
<scope>test</scope>
</dependency>
<!-- this is for the log assertion -->
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>artemis-commons</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging</artifactId>

View File

@ -113,7 +113,6 @@
<dependency>
<groupId>org.eclipse.paho</groupId>
<artifactId>org.eclipse.paho.client.mqttv3</artifactId>
<version>1.2.0</version>
<scope>test</scope>
</dependency>
<dependency>

10
pom.xml
View File

@ -70,10 +70,6 @@
<name>ActiveMQ Artemis Parent</name>
<url>http://apache.org/activemq</url>
<prerequisites>
<maven>3.1.0</maven>
</prerequisites>
<properties>
<modular.jdk.surefire.arg />
<javac.version>9+181-r4173-1</javac.version>
@ -142,6 +138,7 @@
<surefire.version>2.22.2</surefire.version>
<version.jaxb.api>2.3.1</version.jaxb.api>
<version.jaxb.runtime>2.3.3</version.jaxb.runtime>
<paho.client.mqttv3.version>1.2.5</paho.client.mqttv3.version>
<!-- for JakrtaEE -->
<version.batavia>1.0.5.Final</version.batavia>
@ -287,6 +284,11 @@
</dependency>
<!-- ### For MQTT Tests && Examples -->
<dependency>
<groupId>org.eclipse.paho</groupId>
<artifactId>org.eclipse.paho.client.mqttv3</artifactId>
<version>${paho.client.mqttv3.version}</version>
</dependency>
<dependency>
<groupId>org.fusesource.mqtt-client</groupId>
<artifactId>mqtt-client</artifactId>

View File

@ -29,7 +29,6 @@
<properties>
<activemq.basedir>${project.basedir}/../..</activemq.basedir>
<paho.client.mqttv3.version>1.2.2</paho.client.mqttv3.version>
</properties>
<dependencies>
@ -202,7 +201,6 @@
<dependency>
<groupId>org.eclipse.paho</groupId>
<artifactId>org.eclipse.paho.client.mqttv3</artifactId>
<version>${paho.client.mqttv3.version}</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>

View File

@ -118,7 +118,6 @@
<dependency>
<groupId>org.eclipse.paho</groupId>
<artifactId>org.eclipse.paho.client.mqttv3</artifactId>
<version>RELEASE</version>
</dependency>
<dependency>
<groupId>org.apache.activemq</groupId>