Bug 1047946
Summary: | Inconsistent POM log4j-jboss-logmanager-1.0.2.Final-redhat-1 | ||
---|---|---|---|
Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Nikoleta Hlavickova <nziakova> |
Component: | Maven Repository | Assignee: | Lin Gao <lgao> |
Status: | CLOSED WONTFIX | QA Contact: | Nikoleta Hlavickova <nziakova> |
Severity: | unspecified | Docs Contact: | Russell Dickenson <rdickens> |
Priority: | unspecified | ||
Version: | 6.2.0 | CC: | bsutter, jperkins, nziakova |
Target Milestone: | --- | ||
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: | 2015-03-31 14:11:47 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-01-02 16:42:18 UTC
This is caused by our usage of the Maven shade plugin which changes the pom before deployment to the repository. The issue still exists in EAP 6.3 which uses log4j-jboss-logmanager version 1.1.0.Final-redhat-2. Looks like we tried to fix this previously [1], but I'm not sure if the fix never worked, or was accidentally reverted. We'll probably need to work with the developer to determine whether the shade plugin usage is required. I believe the shade plugin usage in only for adding the necessary log4j classes, so it should be safe to configure the shade plugin to retain the original pom and make the log4j dependency non transitive (provided or optional). [1]http://pkgs.devel.redhat.com/cgit/rpms/log4j-jboss-logmanager/commit/?h=jb-eap-6-rhel-6&id=66b172d76c8c769774fe3b3ea7e8b9689c1de989 This issue appeared again in EAP 6.4.0.DR11 with log4j-jboss-logmanager-1.1.1.Final-redhat-1. What is the issue with the pom's differing? The version mismatch shouldn't be an issue with the shade plugin. I don't know where that would have come from. The version mismatch comes from the Maven extension that we were using in previous releases, but we are not using that anymore. I checked that the versions match between the two poms in the current build (1.1.1.Final-redhat-1). I agree it's probably fine for the POMs to have a slightly different dependency set (as long as the versions match), so if Nikoleta is ok with this, then we can close this as won't fix. @Nikoleta, What do you think Paul's proposal of closing it as won't fix? OK. The versions match in 1.1.1.Final-redhat-1 |