Bug 1217422

Summary: xmvn-builddep: unexpanded variables in output
Product: [Fedora] Fedora Reporter: Michael Simacek <msimacek>
Component: xmvnAssignee: Mikolaj Izdebski <mizdebsk>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: java-sig-commits, mizdebsk, msimacek, msrb
Target Milestone: ---Keywords: Triaged, Upstream, VerifiedUpstream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 2.5.0-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-28 18:05:31 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
Reproducer POM none

Description Michael Simacek 2015-04-30 10:43:54 UTC
Description of problem:
xmvn-builddep sometimes outputs buildrequires with unexpanded variables

Version-Release number of selected component (if applicable):
xmvn-2.4.0-0.28.git49333a9.noarch

How reproducible:
always

Steps to Reproduce:
1. rebuild felix-bundlerepository
2. run xmvn-builddep on the build.log

Actual results:
BuildRequires:  maven-local
BuildRequires:  mvn(junit:junit)
BuildRequires:  mvn(net.sf.kxml:kxml2)
BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires:  mvn(org.apache.rat:apache-rat-plugin)
BuildRequires:  mvn(org.codehaus.woodstox:woodstox-core-asl)
BuildRequires:  mvn(org.easymock:easymock)
BuildRequires:  mvn(org.osgi:org.osgi.compendium)
BuildRequires:  mvn(org.osgi:org.osgi.core)
BuildRequires:  mvn(${project.groupId}:org.apache.felix.shell)
BuildRequires:  mvn(${project.groupId}:org.apache.felix.utils)
BuildRequires:  mvn(${project.groupId}:org.osgi.service.obr)
BuildRequires:  mvn(xpp3:xpp3)


Expected results:
BuildRequires:  maven-local
BuildRequires:  mvn(junit:junit)
BuildRequires:  mvn(net.sf.kxml:kxml2)
BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires:  mvn(org.apache.rat:apache-rat-plugin)
BuildRequires:  mvn(org.codehaus.woodstox:woodstox-core-asl)
BuildRequires:  mvn(org.easymock:easymock)
BuildRequires:  mvn(org.osgi:org.osgi.compendium)
BuildRequires:  mvn(org.osgi:org.osgi.core)
BuildRequires:  mvn(org.apache.felix:org.apache.felix.shell)
BuildRequires:  mvn(org.apache.felix:org.apache.felix.utils)
BuildRequires:  mvn(org.apache.felix:org.osgi.service.obr)
BuildRequires:  mvn(xpp3:xpp3)

Comment 1 Mikolaj Izdebski 2015-05-05 09:13:54 UTC
Created attachment 1022118 [details]
Reproducer POM

Command to reprocuce:
xmvn org.fedoraproject.xmvn:xmvn-mojo:builddep
cat .xmvn-builddep

Actual results:
<?xml version="1.0" encoding="US-ASCII"?>
<!-- Build dependencies generated by XMvn -->
<dependencies>
  <dependency>
    <groupId>${project.groupId}</groupId>
    <artifactId>dep</artifactId>
  </dependency>
</dependencies>

Comment 2 Mikolaj Izdebski 2015-05-06 11:22:04 UTC
Integration test added upstream: https://github.com/mizdebsk/xmvn/commit/472aa08

Comment 3 Mikolaj Izdebski 2015-05-06 16:41:39 UTC
Fixed upstream: https://github.com/mizdebsk/xmvn/commit/50621b1
Verified upstream - integration test is passing.

Comment 4 Jan Kurik 2015-07-15 14:13:08 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle.
Changing version to '23'.

(As we did not run this process for some time, it could affect also pre-Fedora 23 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23

Comment 5 Mikolaj Izdebski 2015-10-28 17:35:33 UTC
Fixed in xmvn-2.5.0-1

Comment 6 Mikolaj Izdebski 2015-10-28 18:05:31 UTC
I believe that this bug is fixed in xmvn-2.5.0-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=694810

This bug was fixed in the next release of Fedora, and it is currently
not planned to be fixed in the release it was filed against.
You can update to the newer release of Fedora to get the fix.