Build and Run Karaf distribution--build error from integration code

asked 2015-03-30 07:33:55 -0800

wangruxun gravatar image

updated 2015-03-30 07:37:36 -0800


openflow@openflow:~/Desktop/integration-stable-helium$ mvn clean install -D skipTests
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.opendaylight.integration:features-integration:jar:0.2.3-Helium-SR3
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-resources-plugin is missing. @ line 264, column 18
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:build-helper-maven-plugin is missing. @ line 277, column 18
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] integration
[INFO] OpenDaylight Distributions
[INFO] OpenDaylight Toaster Edition
[INFO] features-integration
[INFO] distribution-karaf
[INFO] feature-selector Webapp
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building integration 0.2.3-Helium-SR3
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ root ---
[INFO]
[INFO] --- maven-install-plugin:2.3:install (default-install) @ root ---
[INFO] Installing /home/openflow/Desktop/integration-stable-helium/pom.xml to /home/openflow/.m2/repository/org/opendaylight/integration/root/0.2.3-Helium-SR3/root-0.2.3-Helium-SR3.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building OpenDaylight Distributions 0.2.3-Helium-SR3
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ distributions ---
[INFO]
[INFO] --- maven-install-plugin:2.3:install (default-install) @ distributions ---
[INFO] Installing /home/openflow/Desktop/integration-stable-helium/distributions/pom.xml to /home/openflow/.m2/repository/org/opendaylight/integration/distributions/0.2.3-Helium-SR3/distributions-0.2.3-Helium-SR3.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building OpenDaylight Toaster Edition 0.2.3-Helium-SR3
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ distributions-toaster ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.2:create (default) @ distributions-toaster ---
[INFO] Checking for local modifications: skipped.
[INFO] Updating project files from SCM: skipped.
[INFO] Executing: /bin/sh -c cd /home/openflow/Desktop/integration-stable-helium/distributions/extra/toaster && git rev-parse --verify HEAD
[INFO] Working directory: /home/openflow/Desktop/integration-stable-helium/distributions/extra/toaster
[INFO] Storing buildNumber: VersionUnknown at timestamp: 1427725720798
[INFO] Executing: /bin/sh -c cd /home/openflow/Desktop/integration-stable-helium/distributions/extra/toaster && git rev-parse --verify HEAD
[INFO] Working directory: /home/openflow/Desktop/integration-stable-helium/distributions/extra/toaster
[INFO] Storing buildScmBranch: UNKNOWN_BRANCH
[INFO]
[INFO] --- maven-dependency-plugin:2.8:unpack-dependencies (unpack-provided-configs) @ distributions-toaster ---
[INFO]
[INFO] --- maven-assembly-plugin:2.3:single (distro-assembly) @ distributions-toaster ---
[INFO] Reading assembly descriptor: src/assemble/bin.xml
[WARNING] The following patterns were never triggered in this artifact exclusion filter:
o  'virgomirror:org.eclipse.jdt.core.compiler.batch'
o  'geminiweb:org.eclipse.virgo.kernel.equinox.extensions'
[WARNING] The following patterns were never triggered in this artifact inclusion filter:
o  'virgomirror:org.eclipse.jdt.core.compiler.batch'
o  'geminiweb:org.eclipse.virgo.kernel.equinox.extensions'
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] integration ....................................... SUCCESS [0.150s]
[INFO] OpenDaylight Distributions ........................ SUCCESS [0.004s]
[INFO] OpenDaylight Toaster Edition ...................... FAILURE [3.651s]
[INFO] features-integration .............................. SKIPPED
[INFO] distribution-karaf ................................ SKIPPED
[INFO] feature-selector Webapp ........................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.345s
[INFO] Finished at: Mon Mar 30 10:28:42 EDT 2015
[INFO] Final Memory: 31M/371M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.3:single (distro-assembly) on project distributions-toaster: Failed to create assembly: Error filtering file '/home/openflow/Desktop/integration-stable-helium/distributions/extra/toaster/src ...
(more)
edit retag flag offensive close merge delete