Bug 1072856 - [QE] (6.2.x) Wrong version of transitive dependency of supported GAV included in com.sun.xml.bind:jaxb-impl:2.2.5.redhat-7:: pom
Summary: [QE] (6.2.x) Wrong version of transitive dependency of supported GAV included...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Maven Repository
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: CR2
: EAP 6.2.3
Assignee: Vladimir Dosoudil
QA Contact: Nikoleta Hlavickova
Russell Dickenson
URL:
Whiteboard:
Depends On:
Blocks: eap62-cp03-blockers 1087505
TreeView+ depends on / blocked
 
Reported: 2014-03-05 09:55 UTC by thradec
Modified: 2016-08-01 01:05 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
: 1087505 (view as bug list)
Environment:
Last Closed: 2014-06-09 12:46:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description thradec 2014-03-05 09:55:42 UTC
Artifact com.sun.xsom:xsom:jar:20110809-redhat-3 declare dependency on com.github.relaxng:relaxngDatatype:2011.1-redhat-3, which version is defined in org.jboss.component.management:jboss-component-version-master:6.0.1-redhat-1, but this versin isn't in repository, actual version is 2011.1-redhat-6.Same issue is in com.sun.xml.txw2:txw2:20110809-redhat-2.

Comment 1 Pavel SLegr 2014-04-03 09:02:35 UTC
There is no reaction to this issue, however this seems to slip over CP01, CP02 ?

Comment 4 Vladimir Dosoudil 2014-04-14 13:46:10 UTC
It's not clear what "repository" in BZ Description means. Could you please specify it? The artifact is available in the MEAD Maven repository for jb-eap-6-rhel-6-build target:
http://download.eng.bos.redhat.com/brewroot/repos/jb-eap-6-rhel-6-build/latest/maven/com/github/relaxng/relaxngDatatype/2011.1-redhat-3/

EAP Maven repository zip doesn't contain every transitive dependency especially if it's not the part of build or runtime dependency tree for EAP distribution or any included quickstarts or client BOMs.

BOM jboss-component-version-master 6.0.1-redhat-1 is formal component management for building EAP or it's components, originally for EAP 6.0.1. Now it's strictly for backward compatibility and for maven dependency resolving because it's linked in the dependency management in poms of some artifacts/dependencies which have not been upgraded since EAP 6.0.1 and are still in the dependency tree of EAP or quickstarts.

Comment 5 Pavel SLegr 2014-04-14 13:53:20 UTC
Please check https://issues.jboss.org/browse/WFK2-459 for backward info

Comment 7 Pavel SLegr 2014-04-15 12:20:12 UTC
Vladimir, it is an artifact missing in EAP Maven repository. In fact it is not missing, but containing the newer version... jboss-eap-6.2.0.GA-maven-repository/com/github/relaxng/relaxngDatatype/2011.1-redhat-6 which is wrongly referenced by another artifacts 

miss: com.github.relaxng:relaxngDatatype:jar:2011.1-redhat-3
    from: org.richfaces.cdk:generator:pom:4.3.1.Final-redhat-4
        path: org.richfaces.cdk:generator:pom:4.3.1.Final-redhat-4 > com.sun.xml.bind:jaxb-impl:jar:2.2.5.redhat-7 > com.sun.xml.txw2:txw2:jar:20110809-redhat-2 > com.github.relaxng:relaxngDatatype:jar:2011.1-redhat-3

So, to summarize... EAP 6.2.0 M2 repo contains  
com.github.relaxng:relaxngDatatype:jar:2011.1-redhat-6 artifact, while others
in the same repo are referencing com.github.relaxng:relaxngDatatype:jar:2011.1-redhat-3

HTH

Comment 8 Vladimir Dosoudil 2014-04-15 13:26:26 UTC
We're not using that BOM (org.jboss.component.management:jboss-component-version-master:6.0.1-redhat-1) anymore. It's still available in Maven repository zip but only for maven dependency plugin resolving and constructing effective pom of EAP/AS during its build. It doesn't mean that all artifacts in this BOM must be included in EAP Maven repository zip.

Artifact com.github.relaxng:relaxngDatatype:2011.1-redhat-3 is not on the dependency list/tree of EAP 6.2.x, it was but for earlier release (EAP 6.0.1). It's also not the transitive dependency of additional bits of EAP 6.2.x release such as quickstarts. It's the transitive dependency of some dependencies which are dependencies of EAP directly but it's not resolved as this GAV for EAP. So it's correct it's not zipped in EAP Maven repository zip.

It's still in the MEAD Maven repository jb-eap-6-rhel-6-build and available for other products and their builds [BREW]. If you need it, just tag it into your product's Maven repository.

[BREW] https://brewweb.devel.redhat.com/buildinfo?buildID=232959

Comment 9 Marek Novotny 2014-04-16 06:42:05 UTC
Please contact thradec to share the tool and CI job, which checks the supported GAV tree in Maven repository zip file.

Comment 10 thradec 2014-04-16 08:31:59 UTC
In WFK we use tool wolf-validator, see [1] jenkins job.

[1] https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/WFK/view/WFK-2.5/job/wfk-2.5-wolf-validator/

Comment 11 Vladimir Dosoudil 2014-04-16 10:26:08 UTC
The artifact added into manual includes list for generation Maven repository zip for EAP 6.2.x. Will be available in the Maven repository zip (incremental maven repository zip) in the next release.

http://git.app.eng.bos.redhat.com/git/jboss-eap/maven-repository-testsuite.git/commit/?id=3dd7190

Comment 12 Nikoleta Hlavickova 2014-05-08 08:50:35 UTC
EAP 6.2.3 Maven repo zip contains artifact com.github.relaxng:relaxngDatatype:2011.1-redhat-3 declared by com.sun.xsom:xsom:jar:20110809-redhat-3


Note You need to log in before you can comment on or make changes to this bug.