[
https://issues.jboss.org/browse/WFLY-10585?page=com.atlassian.jira.plugin...
]
Petr Kremensky commented on WFLY-10585:
---------------------------------------
Hi [~kabirkhan], I can verify that fix solves the problem.
{noformat}
$ git rev-parse --short HEAD
cf8f1bf1e2
$ 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"
$ mvn package -pl galleon-pack
...
[INFO] BUILD SUCCESS
{noformat}
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, Web Services
Reporter: Petr Kremensky
Assignee: R Searls
Fix For: 14.0.0.CR1
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)