Bug 1077914
| Summary: | maven-invoker-plugin ftbfs due to missing BR for modello | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Brent Baude <bbaude> |
| Component: | maven-invoker-plugin | Assignee: | Mikolaj Izdebski <mizdebsk> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | java-sig-commits, mizdebsk, weli |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 1.8-10 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-03-19 07:17:37 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: | |||
| Bug Blocks: | 1051573 | ||
Fixed in maven-invoker-plugin-1.8-10 I believe that this bug is fixed in maven-invoker-plugin-1.8-10, 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=505449 |
Mock Version: 1.1.35 Mock Version: 1.1.35 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target noarch --nodeps builddir/build/SPECS/maven-invoker-plugin.spec'], False, '/var/lib/mock/f21-build-4213-290/root/', None, 86400, True, False, 998, 135, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n "<mock-chroot>"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=<mockbuild.trace_decorator.getLog object at 0x10024d8b450>) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target noarch --nodeps builddir/build/SPECS/maven-invoker-plugin.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n "<mock-chroot>"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/maven-invoker-plugin-1.8-9.fc21.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target noarch --nodeps builddir/build/SPECS/maven-invoker-plugin.spec'], False, '/var/lib/mock/f21-build-4213-290/root/', None, 86400, True, False, 998, 135, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n "<mock-chroot>"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=<mockbuild.trace_decorator.getLog object at 0x10024d8b450>) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target noarch --nodeps builddir/build/SPECS/maven-invoker-plugin.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n "<mock-chroot>"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.I1tOQg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf maven-invoker-plugin-1.8 + /usr/bin/unzip -qq /builddir/build/SOURCES/maven-invoker-plugin-1.8-source-release.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd maven-invoker-plugin-1.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (pom-xml.patch):' Patch #0 (pom-xml.patch): + /usr/bin/cat /builddir/build/SOURCES/pom-xml.patch + /usr/bin/patch -p0 --fuzz=0 patching file pom.xml + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cOL12H + umask 022 + cd /builddir/build/BUILD + cd maven-invoker-plugin-1.8 + python /usr/share/java-utils/mvn_build.py -n maven-invoker-plugin -f [INFO] Scanning for projects... [INFO] [INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Maven Invoker Plugin 1.8 [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact: org.codehaus.modello:modello-maven-plugin:pom:1.4 [WARNING] The POM for org.codehaus.modello:modello-maven-plugin:jar:1.4 is missing, no dependency information available [INFO] Failed to resolve artifact: org.codehaus.modello:modello-maven-plugin:jar:1.4 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping Maven Invoker Plugin [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.944 s [INFO] Finished at: 2014-03-18T14:23:44-06:00 [INFO] Final Memory: 9M/36M [INFO] ------------------------------------------------------------------------ [ERROR] Plugin org.codehaus.modello:modello-maven-plugin:1.4 or one of its dependencies could not be resolved: Cannot access central (http://repo.maven.apache.org/maven2) in offline mode and the artifact org.codehaus.modello:modello-maven-plugin:jar:1.4 has not been downloaded from it before. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.cOL12H (%build) Bad exit status from /var/tmp/rpm-tmp.cOL12H (%build) Child return code was: 1 EXCEPTION: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target noarch --nodeps builddir/build/SPECS/maven-invoker-plugin.spec'] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 70, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 376, in do raise mockbuild.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target noarch --nodeps builddir/build/SPECS/maven-invoker-plugin.spec'] LEAVE do --> EXCEPTION RAISED Adding the BR for modello fixes the problem.