Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

Revision history [back]

click to hide/show revision 1
initial version

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

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/main/resources/version.properties': /home/openflow/Desktop/integration-stable-helium/distributions/extra/toaster/target/archive-tmp/version.properties.957859436.filtered (No such file or directory) -> [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] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :distributions-toaster

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

openflow@:~/Desktop/integration-stable-helium$ 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/main/resources/version.properties': /home/openflow/Desktop/integration-stable-helium/distributions/extra/toaster/target/archive-tmp/version.properties.957859436.filtered (No such file or directory) -> [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] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :distributions-toaster

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


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'

'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'

'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/main/resources/version.properties': /home/openflow/Desktop/integration-stable-helium/distributions/extra/toaster/target/archive-tmp/version.properties.957859436.filtered (No such file or directory) -> [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] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :distributions-toaster

:distributions-toaster