Bug 988561
Summary: | apache-rat build fails with mvn-build, works with mvn-rpmbuild | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Orion Poplawski <orion> |
Component: | apache-rat | Assignee: | Mikolaj Izdebski <mizdebsk> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 19 | CC: | mat.booth, mizdebsk, msrb, orion, sochotni, tradej |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 0.10-2 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-10-03 12:50:03 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: | |||
Bug Depends On: | 988977 | ||
Bug Blocks: |
Description
Orion Poplawski
2013-07-25 20:13:29 UTC
This looks like a packaging bug in ant-antunit... The config file /etc/ant-antunit.d/antunit looks wrong, this file should be installed as /etc/ant.d/antunit and the jar should be installed as /usr/share/java/ant/ant-antunit.jar Hmm, while there were undoubtedly problems with ant-antunit (hopefully fixed in rawhide), that wasn't the whole story. At this point I'm thinking it's mostly an apache-rat issue, but I may need to get bug 988977 fixed first. Could be worth updating to latest version 0.10 of rat: http://svn.apache.org/repos/asf/creadur/rat/tags/apache-rat-project-0.10/ Looks like only 0.9 is in rawhide. Hmm, they haven't yet updated the web page to say it is released, but yeah, worth a try. The problem was that test scripts invoked by maven-antrun-plugin from module apache-rat-tasks were depending on maven.test.skip property. This property was not defined with mvn-rpmbuild, but %mvn_build -f defined it to true. As the problematic scripts are used for running tests only and tests are skipped anyways (because of incompatibility with Maven 3), the solution is to remove execution of maven-antrun-plugin from apache-rat-tasks. Fixed in apache-rat-0.10-2 I believe that this bug is fixed in apache-rat-0.10-2, 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=469202 This bug was fixed in the next release of Fedora, and is not planned to be fixed in the release it was filed against. If you want this bug to be fixed in updates for Fedora 19, please say so in a comment. Otherwise you can update to the newer release of Fedora to get the fix. |