Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-19201

Fix the maven warn about duplicate plugin declaration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 32.0.0.Final
    • None
    • Test Suite
    • None

      Make this go away:

      [WARNING] 
      [WARNING] Some problems were encountered while building the effective model for org.wildfly:wildfly-ts-integ-clustering:jar:32.0.0.Beta1-SNAPSHOT
      [WARNING] 'profiles.profile[ts.clustering.layers.profile].plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-resources-plugin @ line 2498, column 29
      [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] 
      

            bstansbe@redhat.com Brian Stansberry
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: