Bug 879368
| Summary: | maven-help-plugin: LICENSE and NOTICE files are not installed | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mikolaj Izdebski <mizdebsk> |
| Component: | maven-help-plugin | Assignee: | Mikolaj Izdebski <mizdebsk> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 18 | CC: | davidx, huwang, java-sig-commits, jcapik, sochotni, weli, yyang |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 2.1.1-8 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-02-08 02:32:22 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
Mikolaj Izdebski
2012-11-22 17:13:49 UTC
I will lead kingheaven to work on this issue. While we are working on this issue we've found two problems during build process: 1. HelpMojo.java are not generated correctly first time. When the first time 'mvn-rpmbuild install' is executed, it could not generate 'HelpMojo.java' correctly and the compile would fail. But if you execute 'mvn-rpmbuild ...' in INSTALL dir again, the 'HelpMojo.java' will be generated correctly. 2. DescribeMojo.java:[1089,30] error: cannot find symbol Line 1089 is: return PluginUtils.toText( description ); This could be a version compatible issue. In Fedora 18 and rawhide we are using 'maven-plugin-plugin 3.1' and we don't have the 'toText' method in 'PluginUtils'. (In reply to comment #2) > This could be a version compatible issue. In Fedora 18 and rawhide we are > using 'maven-plugin-plugin 3.1' and we don't have the 'toText' method in > 'PluginUtils'. In newer versions of maven-plugin-plugin this method can be found in GeneratorUtils class in org.apache.maven.tools.plugin.generator package. (In reply to comment #2) > 1. HelpMojo.java are not generated correctly first time. > > When the first time 'mvn-rpmbuild install' is executed, it could not > generate 'HelpMojo.java' correctly and the compile would fail. But if you > execute 'mvn-rpmbuild ...' in INSTALL dir again, the 'HelpMojo.java' will be > generated correctly. This is probably caused by incompatible version of maven-plugin-tools. The generated HelpMojo.java is just missing package declaration. The fix is to inject package declaration during build time (in process-sources Maven phase, to be more specific). Fixed in maven-help-plugin-2.1.1-8 maven-help-plugin-2.1.1-8.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/maven-help-plugin-2.1.1-8.fc18 Package maven-help-plugin-2.1.1-8.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing maven-help-plugin-2.1.1-8.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-0356/maven-help-plugin-2.1.1-8.fc18 then log in and leave karma (feedback). maven-help-plugin-2.1.1-8.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. |