Nightly build fails with Maven 3.3.1
------------------------------------
Key: WFLY-4534
URL:
https://issues.jboss.org/browse/WFLY-4534
Project: WildFly
Issue Type: Bug
Components: Build System
Affects Versions: 9.0.0.Beta2
Environment: Kubuntu Linux & OS X 10.10.3, Maven 3.3.1
Reporter: Peter Major
Assignee: James Perkins
Fix For: 10.0.0.Alpha1
When trying to build 78099bb2fc with Maven 3.3.1 I get the following error from
maven-enforcer plugin (at wildfly-feature-pack module):
{noformat}
[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
{noformat}
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.