Bug 1093620
| Summary: | Unable to get effective pom when using dependencies defined in jboss-as-parent-7.4.0.Final-redhat-11.pom | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Nikoleta Hlavickova <nziakova> |
| Component: | Maven Repository | Assignee: | Paul Gier <pgier> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Nikoleta Hlavickova <nziakova> |
| Severity: | medium | Docs Contact: | Russell Dickenson <rdickens> |
| Priority: | unspecified | ||
| Version: | 6.3.0 | CC: | bsutter, dosoudil |
| Target Milestone: | ER6 | ||
| Target Release: | EAP 6.3.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-06-28 15:40:43 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: | |
| Embargoed: | |||
|
Description
Nikoleta Hlavickova
2014-05-02 08:36:40 UTC
This is because of parent definition in jboss-as-parent-7.4.0.Final-redhat-11.pom:
<parent>
<artifactId>jboss-parent</artifactId>
<groupId>org.jboss</groupId>
<version>11</version>
</parent>
This artifact is in central Maven repository but not in EAP Maven repository zip which includes productized 11-redhat-1 version.
We intentionally do not include transitive dependencies in the zip which come from Maven central (see bug 991358). (In reply to Paul Gier from comment #2) > We intentionally do not include transitive dependencies in the zip which > come from Maven central (see bug 991358). In this case no dependency from central would have to be included in the zip. A productized version of org.jboss:jboss-parent:11 is included in the zip: org.jboss:jboss-parent:11-redhat-1 If I change parent version in org.jboss.as:jboss-as-parent:7.4.0.Final-redhat-13 from 11 to 11-redhat-1, the test passes. Diff on productized and not productized org.jboss:jboss.parent: 8c8 < <version>11</version> --- > <version>11-redhat-1</version> 129,130c129,130 < <maven.compiler.target>1.7</maven.compiler.target> < <maven.compiler.source>1.7</maven.compiler.source> --- > <maven.compiler.target>1.6</maven.compiler.target> > <maven.compiler.source>1.6</maven.compiler.source> Replaced the jboss-parent 11 with the productized jboss-parent 11-redhat-1. Added into productization tail in branch eap-6.x. Verified with EAP 6.3.0.ER7. |