Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-6892

duplicate declaration of plugin org.apache.maven.plugins:maven-resources-plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 25.0.0.Final
    • None
    • None
    • None

      When building WildFly Core we get the following warning from Maven:

      $ mvn clean validate                                               
      [INFO] Scanning for projects...
      [WARNING] 
      [WARNING] Some problems were encountered while building the effective model for org.wildfly.core:wildfly-core-testsuite-unstable-api-annotation-feature-pack:pom:25.0.0.Beta6-SNAPSHOT
      [WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-resources-plugin @ line 105, column 21
      [WARNING] The expression ${artifactId} is deprecated. Please use ${project.artifactId} instead.
      [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] 
      

            yborgess1@redhat.com Yeray Borges Santana
            yborgess1@redhat.com Yeray Borges Santana
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: