[jboss-jira] [JBoss JIRA] (WFLY-10585) BanTransitiveDependencies enforcer violations while building wildfly-galleon-pack module on IBM jdk
Petr Kremensky (JIRA)
issues at jboss.org
Mon Jun 18 07:32:00 EDT 2018
Petr Kremensky created WFLY-10585:
-------------------------------------
Summary: BanTransitiveDependencies enforcer violations while building wildfly-galleon-pack module on IBM jdk
Key: WFLY-10585
URL: https://issues.jboss.org/browse/WFLY-10585
Project: WildFly
Issue Type: Bug
Components: Build System
Reporter: Petr Kremensky
Assignee: Jason Greene
Building WildFly: Full Galleon Pack using IBM jdk fails with enforcer BanTransitiveDependencies violation.
*reproduce*
{noformat}
wildfly] $ mvn package -pl galleon-pack
...
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (ban-transitive-deps) @ wildfly-galleon-pack ---
[WARNING] Rule 0: org.apache.maven.plugins.enforcer.BanTransitiveDependencies failed with message:
org.wildfly:wildfly-galleon-pack:pom:14.0.0.Beta1-SNAPSHOT
org.apache.cxf:cxf-rt-features-logging:jar:3.2.4-jbossorg-1:compile has transitive dependencies:
xalan:xalan:jar:2.7.1.jbossorg-4:compile
xalan:serializer:jar:2.7.1.jbossorg-4:compile
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21.949 s
[INFO] Finished at: 2018-06-18T13:30:17+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M1:enforce (ban-transitive-deps) on project wildfly-galleon-pack: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [Help 1]
{noformat}
*workaround*
Skip enforcer by adding {{-Denforcer.skip=true}} property
*environment*
{noformat}
$ mvn -version
Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 2018-02-24T20:49:05+01:00)
Maven home: /usr/lib/maven
Java version: 1.8.0_171, vendor: IBM Corporation
Java home: /usr/lib/java/ibm-java-8.0-5.16/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.16.15-300.fc28.x86_64", arch: "amd64", family: "unix"
$ git rev-parse --short HEAD
4eff06230b
{noformat}
*ibm jdk download*
https://developer.ibm.com/javasdk/downloads/sdk8/
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list