Bug 1030505 - Unable to get effective pom when using dependencies defined in jboss-javaee-6.0-with-tools-6.2.0.GA.pom
Summary: Unable to get effective pom when using dependencies defined in jboss-javaee-6...
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Maven Repository
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ER1
: EAP 6.3.0
Assignee: jboss-set
QA Contact: Nikoleta Hlavickova
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-14 15:17 UTC by Rostislav Svoboda
Modified: 2019-08-19 12:48 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-19 12:48:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1029347 0 high CLOSED tools-bom doesn't resolve org.jboss.osgi.spi:jbosgi-spi:jar:3.2.0.Final 2021-02-22 00:41:40 UTC

Internal Links: 1029347

Description Rostislav Svoboda 2013-11-14 15:17:25 UTC
https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EAP6/view/EAP6-Repository/job/eap-60-repository-maven-check-boms-for-effective-pom/132/testReport/jboss-javaee-6.0-with-tools-6.2.0.GA/pom-BOM-test/jboss_javaee_6_0_with_tools_6_2_0_GA_pom_BOM_test/

Regression agains EAP 6.1.1 GA and previous 6.2.0 ERs.
Working on details, will be attached soon.

Details:
[ERROR] The build could not read 1 project -> [Help 1]
org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
[ERROR] Non-resolvable import POM: Could not find artifact org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-bom:pom:2.0.0 in central (file:///home/hudson/private_maven_repos/eap-maven-repo-zip-tests/6.2.0.CR1/jboss-eap-6.2.0.GA-maven-repository/) @ org.jboss.bom.eap:jboss-javaee-6.0-with-tools:6.2.0.GA
[ERROR] Non-resolvable import POM: Could not find artifact org.jboss.arquillian:arquillian-bom:pom:1.1.0.Final in central (file:///home/hudson/private_maven_repos/eap-maven-repo-zip-tests/6.2.0.CR1/jboss-eap-6.2.0.GA-maven-repository/) @ org.jboss.bom.eap:jboss-javaee-6.0-with-tools:6.2.0.GA
[ERROR] Non-resolvable import POM: Could not find artifact org.jboss.arquillian.extension:arquillian-drone-bom:pom:1.1.1.Final in central (file:///home/hudson/private_maven_repos/eap-maven-repo-zip-tests/6.2.0.CR1/jboss-eap-6.2.0.GA-maven-repository/) @ org.jboss.bom.eap:jboss-javaee-6.0-with-tools:6.2.0.GA
[ERROR] 'dependencies.dependency.version' for org.jboss.arquillian.extension:arquillian-drone-selenium-depchain:pom is missing. @ line 19, column 13
[ERROR] 'dependencies.dependency.version' for org.jboss.arquillian.extension:arquillian-drone-webdriver-depchain:pom is missing. @ line 20, column 13
[ERROR] 'dependencies.dependency.version' for org.jboss.arquillian.graphene:arquillian-graphene:pom is missing. @ line 21, column 13
[ERROR] 'dependencies.dependency.version' for org.jboss.as:jboss-as-arquillian-container-managed:jar is missing. @ line 22, column 13
[ERROR] 'dependencies.dependency.version' for org.jboss.as:jboss-as-arquillian-container-remote:jar is missing. @ line 23, column 13
[ERROR] 'dependencies.dependency.version' for junit:junit:jar is missing. @ line 24, column 13
[ERROR] 'dependencies.dependency.version' for org.testng:testng:jar is missing. @ line 25, column 13

Comment 1 Paul Gier 2013-11-14 15:31:12 UTC
I don't think this is a regression, it looks like the test is not actually looking in Maven central.

[ERROR] Non-resolvable import POM: Could not find artifact org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-bom:pom:2.0.0 in central (file:///home/hudson/private_maven_repos/eap-maven-repo-zip-tests/6.2.0.CR1/jboss-eap-6.2.0.GA-maven-repository/)

This bom is available in central:
http://central.maven.org/maven2/org/jboss/shrinkwrap/resolver/shrinkwrap-resolver-bom/2.0.0/

Comment 2 Rostislav Svoboda 2013-11-14 15:44:53 UTC
> it looks like the test is not actually looking in Maven central.

agree

> I don't think this is a regression

It's is really regression. 
linked Jenkins job was always using exploded maven repo zip as the only source of artifacts - using <id>central</id>.

You can check history of https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EAP6/view/EAP6-Repository/job/eap-60-repository-maven-check-boms-for-effective-pom/

Comment 3 Rostislav Svoboda 2013-11-14 15:51:15 UTC
And I can confirm that when central is enable test pass.

Comment 4 Rostislav Svoboda 2013-11-14 15:53:07 UTC
It's really tricky that out test passed with ER6 for example as the are not many changes related to this BOM and its parent BOM.

Comment 5 Rostislav Svoboda 2013-11-14 15:59:42 UTC
Removing blocker as missing artifacts are available in central.

Comment 6 Nikoleta Hlavickova 2014-06-11 11:33:01 UTC
The test passes since 6.3.0.ER1.


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