Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-3183

resolve warnings seen immediately upon starting build

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.17.0
    • 2.18.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

          Activity

            People

              robbie Robbie Gemmell
              robbie Robbie Gemmell
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m