Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.17.0
-
None
-
None
Description
One of the first things seen when running the build is a bunch of warnings being emitted by maven, some which could even break the build in future, so this looks to resolve them:
Warning: Warning: Some problems were encountered while building the effective model for org.apache.activemq:artemis-amqp-protocol:bundle:2.18.0-SNAPSHOT Warning: 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.activemq:artemis-commons:jar -> duplicate declaration of version ${project.version} @ line 83, column 19 Warning: Warning: Some problems were encountered while building the effective model for org.apache.activemq.tests:smoke-tests:jar:2.18.0-SNAPSHOT Warning: 'dependencies.dependency.version' for org.eclipse.paho:org.eclipse.paho.client.mqttv3:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 121, column 19 Warning: Warning: It is highly recommended to fix these problems because they threaten the stability of your build. Warning: Warning: For this reason, future Maven versions might no longer support building such malformed projects. Warning: Warning: The project org.apache.activemq:artemis-pom:pom:2.18.0-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
Attachments
Issue Links
- links to