Bug 1026407

Summary: Unable to build EAP from source due to transitive dependencies of xmlschema-core on IBMJDK
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Pavel Jelinek <pjelinek>
Component: BuildAssignee: Paul Gier <pgier>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Jelinek <pjelinek>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: brian.stansberry, pjelinek
Target Milestone: CR1   
Target Release: EAP 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-15 16:15:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Pavel Jelinek 2013-11-04 15:06:59 UTC
On IBMJDK build of EAP 6.2.0.ER7 frou source zip fails due to 

org.apache.maven.enforcer.rule.api.EnforcerRuleException: org.jboss.as:jboss-as-build:pom:7.3.0.Final-redhat-SNAPSHOT
   org.apache.ws.xmlschema:xmlschema-core:jar:2.0.2.redhat-3:compile has transitive dependencies:
      org.apache.bcel:bcel:jar:5.2:compile
         jakarta-regexp:jakarta-regexp:jar:1.4:compile

See e.g.: https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EAP6/view/EAP6-AS-Testsuite/job/eap-60-as-testsuite-RHEL-matrix-IBMJDK6/jdk=ibm16,label_exp=RHEL5%26%26x86/55/consoleText

Upstream JIRA: https://issues.jboss.org/browse/WFLY-295

Upstream PR: https://github.com/wildfly/wildfly/pull/4418/

Comment 1 Paul Gier 2013-11-04 19:35:42 UTC
I cherry-picked the upstream commit, and there were conflicts which appear to make the testsuite changes no longer necessary.  So it appears only the POM exclusion of apache bcel is needed.

Comment 3 Paul Gier 2013-11-04 20:08:06 UTC
Pavel, can you confirm that the only change required is the POM exclusion?

Comment 4 Pavel Jelinek 2013-11-05 13:32:26 UTC
Yes, only the bcel exclusion is needed.

Comment 5 Pavel Jelinek 2013-11-15 09:16:05 UTC
Fixed in EAP 6.2.0.CR1