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

Nightly build fails with Maven 3.3.1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 10.0.0.Alpha1
    • 9.0.0.Beta2
    • Build System
    • None

      When trying to build 78099bb2fc with Maven 3.3.1 I get the following error from maven-enforcer plugin (at wildfly-feature-pack module):

      [INFO] Building WildFly: Full Feature Pack 9.0.0.CR1-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      [INFO] 
      [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ wildfly-feature-pack ---
      [INFO] 
      [INFO] --- maven-enforcer-plugin:1.3.1:enforce (ban-bad-dependencies) @ wildfly-feature-pack ---
      [INFO] 
      [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java-version) @ wildfly-feature-pack ---
      [INFO] 
      [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven-version) @ wildfly-feature-pack ---
      [INFO] 
      [INFO] --- maven-enforcer-plugin:1.3.1:enforce (ban-transitive-deps) @ wildfly-feature-pack ---
      [WARNING] Rule 0: org.apache.maven.plugins.enforcer.BanTransitiveDependencies failed with message:
      org.wildfly:wildfly-feature-pack:pom:9.0.0.CR1-SNAPSHOT
         org.wildfly:wildfly-client-all:jar:9.0.0.CR1-SNAPSHOT:compile has transitive dependencies:
            org.jboss.remotingjmx:remoting-jmx:jar:2.0.1.CR2:compile
               org.jboss.logging:jboss-logging:jar:3.2.1.Final:compile
               org.jboss.marshalling:jboss-marshalling:jar:1.4.10.Final:compile
               org.jboss.marshalling:jboss-marshalling-river:jar:1.4.10.Final:compile
               org.jboss.remoting:jboss-remoting:jar:4.0.8.Final:compile
               org.jboss.sasl:jboss-sasl:jar:1.0.5.Final:compile
               org.jboss.xnio:xnio-api:jar:3.3.1.Final:compile
               org.jboss.xnio:xnio-nio:jar:3.3.1.Final:compile
      

      Oddly enough if you run mvn clean install -rf :wildfly-feature-pack then the build succeeds for the module..

      I did try to specify -Dversion.enforcer.plugin=1.4, but that didn't help.

              jperkins-rhn James Perkins
              aldaris88 Peter Major
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: