shrinkwrap packaging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
I'm trying to package all of the separate components of shrinkwrap. So to start off with I try to build the entire project against rawhide, investigate the dependencies and then build the seperate packages. The problem I am having is maven-enforcer-plugin fails with a message JAVA5_HOME needs to be set. Here is part of the build log.
 
[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building ShrinkWrap Aggregator and Build Parent 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-enforcer-plugin:1.0.1:enforce (enforce-java-version) @ shrinkwrap-parent ---
[WARNING] Rule 3: org.apache.maven.plugins.enforcer.RequireProperty failed with message:
"JAVA5_HOME needs to be set to run some tests in the JRE5 runtime"
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Skipping ShrinkWrap Aggregator and Build Parent
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] ShrinkWrap Aggregator and Build Parent ............ FAILURE [0.430s]
[INFO] Shrinkwrap Build Resources ........................ SKIPPED
[INFO] ShrinkWrap API .................................... SKIPPED
[INFO] ShrinkWrap Bill of Materials ...................... SKIPPED
[INFO] ShrinkWrap SPI .................................... SKIPPED
[INFO] ShrinkWrap Implementation Base .................... SKIPPED
[INFO] ShrinkWrap Dependency Chain ....................... SKIPPED
[INFO] ShrinkWrap Distribution ........................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.134s
[INFO] Finished at: Mon Mar 19 03:37:50 UTC 2012
[INFO] Final Memory: 15M/210M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.0.1:enforce (enforce-java-version) on project shrinkwrap-parent: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [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/MojoExecutionException
error: Bad exit status from /var/tmp/rpm-tmp.VFfrT2 (%build)
    Bad exit status from /var/tmp/rpm-tmp.VFfrT2 (%build)
RPM build errors:
Child returncode was: 1
EXCEPTION: Command failed. See logs for output.
 # ['bash', '--login', '-c', 'rpmbuild -bb --target noarch --nodeps builddir/build/SPECS/shrinkwrap.spec']
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/mockbuild/trace_decorator.py", line 70, in trace
    result = func(*args, **kw)
  File "/usr/lib/python2.6/site-packages/mockbuild/util.py", line 352, 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/shrinkwrap.spec']
LEAVE do --> EXCEPTION RAISED

--
java-devel mailing list
java-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/java-devel

[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux