Bug 1012245

Summary: javapackages-tools: Injected pom.properties are incorrect
Product: [Fedora] Fedora Reporter: Mikolaj Izdebski <mizdebsk>
Component: javapackages-toolsAssignee: Mikolaj Izdebski <mizdebsk>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: java-sig-commits, mizdebsk, msimacek, msrb, sochotni
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 3.3.1-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-08 18:19:07 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:

Description Mikolaj Izdebski 2013-09-26 05:24:26 UTC
Description of problem:
Injected pom.properties are not incorrect

Version-Release number of selected component (if applicable):
3.2.4-2

Steps to Reproduce:
%add_maven_depmap foo:bar:1.2.3 foo.jar

Actual results:
file name: META-INF/maven//builddir/build/BUILDROOT/maven-downloader-1.1-5.fc21.x86_64/usr/share/maven-poms/foo/bar/pom.properties
content:
#Generated by Java Packages Tools
#Thu Sep 26 05:18:35 UTC 2013
version=1.2.3
groupId=/builddir/build/BUILDROOT/maven-downloader-1.1-5.fc21.x86_64/usr/share/\
maven-poms/foo
artifactId=bar

Expected results:
file name: META-INF/maven/foo/bar/pom.properties
content:
#Generated by Java Packages Tools
#Thu Sep 26 05:18:35 UTC 2013
version=1.2.3
groupId=foo
artifactId=bar

Comment 1 Stanislav Ochotnicky 2013-10-03 15:58:00 UTC
This was fixed in upstream commit 128efbf225. Leaving open for a testcase

Comment 2 Michael Simacek 2013-10-07 07:44:32 UTC
Testcase added in upstream commit 0ed9e9d

Comment 3 Mikolaj Izdebski 2013-10-08 18:02:56 UTC
Fixed in javapackages-tools-3.3.1-1

Comment 4 Mikolaj Izdebski 2013-10-08 18:19:07 UTC
I believe that this bug is fixed in javapackages-tools-3.3.1-1,
which is available in Fedora Rawhide, so I am closing this bug now.

The build containing the fix can be found at Koji:
http://koji.fedoraproject.org/koji/buildinfo?buildID=469008