Bug 1203652

Summary: tomcat: Duplicate Maven metadata for tomcat-jdbc
Product: [Fedora] Fedora Reporter: Mikolaj Izdebski <mizdebsk>
Component: tomcatAssignee: Ivan Afonichev <ivan.afonichev>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: alee, coolsvap, ivan.afonichev, java-sig-commits, krzysztof.daniel, sgallagh
Target Milestone: ---Keywords: Patch, Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-04 12:30:29 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:
Attachments:
Description Flags
Proposed patch none

Description Mikolaj Izdebski 2015-03-19 10:48:01 UTC
Description of problem:
Tomcat installs duplicate metadata for tomcat-jdbc Maven artifact.

Version-Release number of selected component (if applicable):
7.0.59-3

Steps to Reproduce:
xmvn-resolve org.apache.tomcat:tomcat-jdbc

Actual results:
[WARNING] Ignoring metadata for artifact org.apache.tomcat:tomcat-jdbc:jar:SYSTEM as it has duplicate metadata
[WARNING] Ignoring metadata for artifact org.apache.tomcat:tomcat-jdbc:pom:SYSTEM as it has duplicate metadata
[ERROR] Unable to resolve artifact org.apache.tomcat:tomcat-jdbc:jar:SYSTEM

Expected results:
/usr/share/java/tomcat/tomcat-jdbc.jar

Additional info:
Regression was introduced in:

commit ce74ddbcd3beba22fb70cd2dc890efa7409bf97f
Author: Stephen Gallagher <sgallagh>
Date:   Tue Mar 3 14:58:21 2015 -0500

    Revert to Tomcat 7

Comment 1 Stephen Gallagher 2015-03-19 12:27:59 UTC
Is the same issue present on Fedora 21 (tomcat-7.0.59-1.fc21)?

My reversion was basically to take that exact version and then bump the epoch, so if there's a problem there, it's most likely also present on F21.

Comment 2 Mikolaj Izdebski 2015-03-19 13:28:47 UTC
(In reply to Stephen Gallagher from comment #1)
> Is the same issue present on Fedora 21 (tomcat-7.0.59-1.fc21)?

This bug is present in f22 and f21-updates. f20, f20-updates, f21 and f23 are not affected.

Comment 3 Mikolaj Izdebski 2015-03-19 13:31:50 UTC
Created attachment 1003843 [details]
Proposed patch

Comment 4 Mikolaj Izdebski 2015-03-20 05:29:31 UTC
*** Bug 1203818 has been marked as a duplicate of this bug. ***

Comment 5 Ivan Afonichev 2016-02-04 12:30:29 UTC
Patch has been submitted. 1:7.0.59-4 is in stable updates.