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

L2 switch build errors

INFO] Reactor Summary: [INFO] [INFO] l2switch-parent .................................... SUCCESS [ 3.044 s] [INFO] packethandler-model ................................ FAILURE [ 8.898 s] [INFO] packethandler-impl ................................. SKIPPED [INFO] packethandler-config ............................... SKIPPED [INFO] packethandler.aggregator ........................... SKIPPED [INFO] loopremover-model .................................. SKIPPED [INFO] loopremover-impl ................................... SKIPPED [INFO] loopremover-config ................................. SKIPPED [INFO] loopremover.aggregator ............................. SKIPPED [INFO] addresstracker-model ............................... SKIPPED [INFO] arphandler-impl .................................... SKIPPED [INFO] arphandler-config .................................. SKIPPED [INFO] arphandler.aggregator .............................. SKIPPED [INFO] addresstracker-impl ................................ SKIPPED [INFO] addresstracker-config .............................. SKIPPED [INFO] addresstracker.aggregator .......................... SKIPPED [INFO] hosttracker.aggregator ............................. SKIPPED [INFO] hosttracker-model .................................. SKIPPED [INFO] hosttracker-impl ................................... SKIPPED [INFO] hosttracker-config ................................. SKIPPED [INFO] main-impl .......................................... SKIPPED [INFO] main-config ........................................ SKIPPED [INFO] main.aggregator .................................... SKIPPED [INFO] features-l2switch .................................. SKIPPED [INFO] distribution-karaf ................................. SKIPPED [INFO] l2switch-artifacts ................................. SKIPPED [INFO] l2switch ........................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 15.124 s [INFO] Finished at: 2016-01-28T16:35:43-08:00 [INFO] Final Memory: 58M/418M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.opendaylight.yangtools:yang-maven-plugin:1.0.0-SNAPSHOT:generate-sources (default) on project packethandler-model: Execution default of goal org.opendaylight.yangtools:yang-maven-plugin:1.0.0-SNAPSHOT:generate-sources failed: A required class was missing while executing org.opendaylight.yangtools:yang-maven-plugin:1.0.0-SNAPSHOT:generate-sources: java/util/function/Consumer [ERROR] ----------------------------------------------------- [ERROR] realm = plugin>org.opendaylight.yangtools:yang-maven-plugin:1.0.0-SNAPSHOT [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy [ERROR] urls[0] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/yang-maven-plugin/1.0.0-SNAPSHOT/yang-maven-plugin-1.0.0-SNAPSHOT.jar [ERROR] urls[1] = file:/home/ubuntu/.m2/repository/org/opendaylight/mdsal/maven-sal-api-gen-plugin/0.9.0-SNAPSHOT/maven-sal-api-gen-plugin-0.9.0-SNAPSHOT.jar [ERROR] urls[2] = file:/home/ubuntu/.m2/repository/org/opendaylight/mdsal/mdsal-binding-generator-api/0.9.0-SNAPSHOT/mdsal-binding-generator-api-0.9.0-SNAPSHOT.jar [ERROR] urls[3] = file:/home/ubuntu/.m2/repository/org/opendaylight/mdsal/mdsal-binding-generator-impl/0.9.0-SNAPSHOT/mdsal-binding-generator-impl-0.9.0-SNAPSHOT.jar [ERROR] urls[4] = file:/home/ubuntu/.m2/repository/org/javassist/javassist/3.20.0-GA/javassist-3.20.0-GA.jar [ERROR] urls[5] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/yang-data-impl/1.0.0-SNAPSHOT/yang-data-impl-1.0.0-SNAPSHOT.jar [ERROR] urls[6] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/yang-data-util/1.0.0-SNAPSHOT/yang-data-util-1.0.0-SNAPSHOT.jar [ERROR] urls[7] = file:/home/ubuntu/.m2/repository/org/opendaylight/mdsal/mdsal-binding-generator-util/0.9.0-SNAPSHOT/mdsal-binding-generator-util-0.9.0-SNAPSHOT.jar [ERROR] urls[8] = file:/home/ubuntu/.m2/repository/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.jar [ERROR] urls[9] = file:/home/ubuntu/.m2/repository/org/eclipse/xtend/org.eclipse.xtend.lib/2.8.4/org.eclipse.xtend.lib-2.8.4.jar [ERROR] urls[10] = file:/home/ubuntu/.m2/repository/org/eclipse/xtend/org.eclipse.xtend.lib.macro/2.8.4/org.eclipse.xtend.lib.macro-2.8.4.jar [ERROR] urls[11] = file:/home/ubuntu/.m2/repository/org/eclipse/xtext/org.eclipse.xtext.xbase.lib/2.8.4/org.eclipse.xtext.xbase.lib-2.8.4.jar [ERROR] urls[12] = file:/home/ubuntu/.m2/repository/org/opendaylight/mdsal/mdsal-binding-java-api-generator/0.9.0-SNAPSHOT/mdsal-binding-java-api-generator-0.9.0-SNAPSHOT.jar [ERROR] urls[13] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/yang-data-api/1.0.0-SNAPSHOT/yang-data-api-1.0.0-SNAPSHOT.jar [ERROR] urls[14] = file:/home/ubuntu/.m2/repository/org/opendaylight/mdsal/yang-binding/0.9.0-SNAPSHOT/yang-binding-0.9.0-SNAPSHOT.jar [ERROR] urls[15] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/concepts/1.0.0-SNAPSHOT/concepts-1.0.0-SNAPSHOT.jar [ERROR] urls[16] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/util/1.0.0-SNAPSHOT/util-1.0.0-SNAPSHOT.jar [ERROR] urls[17] = file:/home/ubuntu/.m2/repository/com/github/romix/java-concurrent-hash-trie-map/0.2.23/java-concurrent-hash-trie-map-0.2.23.jar [ERROR] urls[18] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/yang-common/1.0.0-SNAPSHOT/yang-common-1.0.0-SNAPSHOT.jar [ERROR] urls[19] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/object-cache-api/1.0.0-SNAPSHOT/object-cache-api-1.0.0-SNAPSHOT.jar [ERROR] urls[20] = file:/home/ubuntu/.m2/repository/com/google/guava/guava/18.0/guava-18.0.jar [ERROR] urls[21] = file:/home/ubuntu/.m2/repository/org/apache/maven/maven-builder-support/3.3.3/maven-builder-support-3.3.3.jar [ERROR] urls[22] = file:/home/ubuntu/.m2/repository/org/eclipse/aether/aether-util/1.0.2.v20150114/aether-util-1.0.2.v20150114.jar [ERROR] urls[23] = file:/home/ubuntu/.m2/repository/javax/enterprise/cdi-api/1.0/cdi-api-1.0.jar [ERROR] urls[24] = file:/home/ubuntu/.m2/repository/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar [ERROR] urls[25] = file:/home/ubuntu/.m2/repository/org/eclipse/sisu/org.eclipse.sisu.inject/0.3.0/org.eclipse.sisu.inject-0.3.0.jar [ERROR] urls[26] = file:/home/ubuntu/.m2/repository/org/sonatype/sisu/sisu-guice/3.2.5/sisu-guice-3.2.5-no_aop.jar [ERROR] urls[27] = file:/home/ubuntu/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar [ERROR] urls[28] = file:/home/ubuntu/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.21/plexus-interpolation-1.21.jar [ERROR] urls[29] = file:/home/ubuntu/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.20/plexus-utils-3.0.20.jar [ERROR] urls[30] = file:/home/ubuntu/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar [ERROR] urls[31] = file:/home/ubuntu/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar [ERROR] urls[32] = file:/home/ubuntu/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar [ERROR] urls[33] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/yang-parser-impl/1.0.0-SNAPSHOT/yang-parser-impl-1.0.0-SNAPSHOT.jar [ERROR] urls[34] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/yang-model-api/1.0.0-SNAPSHOT/yang-model-api-1.0.0-SNAPSHOT.jar [ERROR] urls[35] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/yang-parser-api/1.0.0-SNAPSHOT/yang-parser-api-1.0.0-SNAPSHOT.jar [ERROR] urls[36] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/yang-model-util/1.0.0-SNAPSHOT/yang-model-util-1.0.0-SNAPSHOT.jar [ERROR] urls[37] = file:/home/ubuntu/.m2/repository/org/antlr/antlr4-runtime/4.5.1/antlr4-runtime-4.5.1.jar [ERROR] urls[38] = file:/home/ubuntu/.m2/repository/com/google/code/findbugs/jsr305/3.0.0/jsr305-3.0.0.jar [ERROR] urls[39] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/yang-maven-plugin-spi/1.0.0-SNAPSHOT/yang-maven-plugin-spi-1.0.0-SNAPSHOT.jar [ERROR] urls[40] = file:/home/ubuntu/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.7/plexus-build-api-0.0.7.jar [ERROR] urls[41] = file:/home/ubuntu/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar [ERROR] Number of foreign imports: 1 [ERROR] import: Entry[import from realm ClassRealm[project>org.opendaylight.l2switch.packethandler:packethandler-model:0.4.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]] [ERROR] [ERROR] -----------------------------------------------------: java.util.function.Consumer [ERROR] -> [Help 1]

org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.opendaylight.yangtools:yang-maven-plugin:1.0.0-SNAPSHOT:generate-sources (default) on project packethandler-model: Execution default of goal org.opendaylight.yangtools:yang-maven-plugin:1.0.0-SNAPSHOT:generate-sources failed: A required class was missing while executing org.opendaylight.yangtools:yang-maven-plugin:1.0.0-SNAPSHOT:generate-sources: java/util/function/Consumer

realm = plugin>org.opendaylight.yangtools:yang-maven-plugin:1.0.0-SNAPSHOT strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/yang-maven-plugin/1.0.0-SNAPSHOT/yang-maven-plugin-1.0.0-SNAPSHOT.jar urls[1] = file:/home/ubuntu/.m2/repository/org/opendaylight/mdsal/maven-sal-api-gen-plugin/0.9.0-SNAPSHOT/maven-sal-api-gen-plugin-0.9.0-SNAPSHOT.jar urls[2] = file:/home/ubuntu/.m2/repository/org/opendaylight/mdsal/mdsal-binding-generator-api/0.9.0-SNAPSHOT/mdsal-binding-generator-api-0.9.0-SNAPSHOT.jar urls[3] = file:/home/ubuntu/.m2/repository/org/opendaylight/mdsal/mdsal-binding-generator-impl/0.9.0-SNAPSHOT/mdsal-binding-generator-impl-0.9.0-SNAPSHOT.jar urls[4] = file:/home/ubuntu/.m2/repository/org/javassist/javassist/3.20.0-GA/javassist-3.20.0-GA.jar urls[5] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/yang-data-impl/1.0.0-SNAPSHOT/yang-data-impl-1.0.0-SNAPSHOT.jar urls[6] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/yang-data-util/1.0.0-SNAPSHOT/yang-data-util-1.0.0-SNAPSHOT.jar urls[7] = file:/home/ubuntu/.m2/repository/org/opendaylight/mdsal/mdsal-binding-generator-util/0.9.0-SNAPSHOT/mdsal-binding-generator-util-0.9.0-SNAPSHOT.jar urls[8] = file:/home/ubuntu/.m2/repository/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.jar urls[9] = file:/home/ubuntu/.m2/repository/org/eclipse/xtend/org.eclipse.xtend.lib/2.8.4/org.eclipse.xtend.lib-2.8.4.jar urls[10] = file:/home/ubuntu/.m2/repository/org/eclipse/xtend/org.eclipse.xtend.lib.macro/2.8.4/org.eclipse.xtend.lib.macro-2.8.4.jar urls[11] = file:/home/ubuntu/.m2/repository/org/eclipse/xtext/org.eclipse.xtext.xbase.lib/2.8.4/org.eclipse.xtext.xbase.lib-2.8.4.jar urls[12] = file:/home/ubuntu/.m2/repository/org/opendaylight/mdsal/mdsal-binding-java-api-generator/0.9.0-SNAPSHOT/mdsal-binding-java-api-generator-0.9.0-SNAPSHOT.jar urls[13] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/yang-data-api/1.0.0-SNAPSHOT/yang-data-api-1.0.0-SNAPSHOT.jar urls[14] = file:/home/ubuntu/.m2/repository/org/opendaylight/mdsal/yang-binding/0.9.0-SNAPSHOT/yang-binding-0.9.0-SNAPSHOT.jar urls[15] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/concepts/1.0.0-SNAPSHOT/concepts-1.0.0-SNAPSHOT.jar urls[16] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/util/1.0.0-SNAPSHOT/util-1.0.0-SNAPSHOT.jar urls[17] = file:/home/ubuntu/.m2/repository/com/github/romix/java-concurrent-hash-trie-map/0.2.23/java-concurrent-hash-trie-map-0.2.23.jar urls[18] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/yang-common/1.0.0-SNAPSHOT/yang-common-1.0.0-SNAPSHOT.jar urls[19] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/object-cache-api/1.0.0-SNAPSHOT/object-cache-api-1.0.0-SNAPSHOT.jar urls[20] = file:/home/ubuntu/.m2/repository/com/google/guava/guava/18.0/guava-18.0.jar urls[21] = file:/home/ubuntu/.m2/repository/org/apache/maven/maven-builder-support/3.3.3/maven-builder-support-3.3.3.jar urls[22] = file:/home/ubuntu/.m2/repository/org/eclipse/aether/aether-util/1.0.2.v20150114/aether-util-1.0.2.v20150114.jar urls[23] = file:/home/ubuntu/.m2/repository/javax/enterprise/cdi-api/1.0/cdi-api-1.0.jar urls[24] = file:/home/ubuntu/.m2/repository/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar urls[25] = file:/home/ubuntu/.m2/repository/org/eclipse/sisu/org.eclipse.sisu.inject/0.3.0/org.eclipse.sisu.inject-0.3.0.jar urls[26] = file:/home/ubuntu/.m2/repository/org/sonatype/sisu/sisu-guice/3.2.5/sisu-guice-3.2.5-no_aop.jar urls[27] = file:/home/ubuntu/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar urls[28] = file:/home/ubuntu/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.21/plexus-interpolation-1.21.jar urls[29] = file:/home/ubuntu/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.20/plexus-utils-3.0.20.jar urls[30] = file:/home/ubuntu/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar urls[31] = file:/home/ubuntu/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar urls[32] = file:/home/ubuntu/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar urls[33] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/yang-parser-impl/1.0.0-SNAPSHOT/yang-parser-impl-1.0.0-SNAPSHOT.jar urls[34] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/yang-model-api/1.0.0-SNAPSHOT/yang-model-api-1.0.0-SNAPSHOT.jar urls[35] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/yang-parser-api/1.0.0-SNAPSHOT/yang-parser-api-1.0.0-SNAPSHOT.jar urls[36] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/yang-model-util/1.0.0-SNAPSHOT/yang-model-util-1.0.0-SNAPSHOT.jar urls[37] = file:/home/ubuntu/.m2/repository/org/antlr/antlr4-runtime/4.5.1/antlr4-runtime-4.5.1.jar urls[38] = file:/home/ubuntu/.m2/repository/com/google/code/findbugs/jsr305/3.0.0/jsr305-3.0.0.jar urls[39] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/yang-maven-plugin-spi/1.0.0-SNAPSHOT/yang-maven-plugin-spi-1.0.0-SNAPSHOT.jar urls[40] = file:/home/ubuntu/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.7/plexus-build-api-0.0.7.jar urls[41] = file:/home/ubuntu/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar Number of foreign imports: 1 import: Entry[import from realm ClassRealm[project>org.opendaylight.l2switch.packethandler:packethandler-model:0.4.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]


at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default of goal org.opendaylight.yangtools:yang-maven-plugin:1.0.0-SNAPSHOT:generate-sources failed: A required class was missing while executing org.opendaylight.yangtools:yang-maven-plugin:1.0.0-SNAPSHOT:generate-sources: java/util/function/Consumer

realm = plugin>org.opendaylight.yangtools:yang-maven-plugin:1.0.0-SNAPSHOT strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/yang-maven-plugin/1.0.0-SNAPSHOT/yang-maven-plugin-1.0.0-SNAPSHOT.jar urls[1] = file:/home/ubuntu/.m2/repository/org/opendaylight/mdsal/maven-sal-api-gen-plugin/0.9.0-SNAPSHOT/maven-sal-api-gen-plugin-0.9.0-SNAPSHOT.jar urls[2] = file:/home/ubuntu/.m2/repository/org/opendaylight/mdsal/mdsal-binding-generator-api/0.9.0-SNAPSHOT/mdsal-binding-generator-api-0.9.0-SNAPSHOT.jar urls[3] = file:/home/ubuntu/.m2/repository/org/opendaylight/mdsal/mdsal-binding-generator-impl/0.9.0-SNAPSHOT/mdsal-binding-generator-impl-0.9.0-SNAPSHOT.jar urls[4] = file:/home/ubuntu/.m2/repository/org/javassist/javassist/3.20.0-GA/javassist-3.20.0-GA.jar urls[5] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/yang-data-impl/1.0.0-SNAPSHOT/yang-data-impl-1.0.0-SNAPSHOT.jar urls[6] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/yang-data-util/1.0.0-SNAPSHOT/yang-data-util-1.0.0-SNAPSHOT.jar urls[7] = file:/home/ubuntu/.m2/repository/org/opendaylight/mdsal/mdsal-binding-generator-util/0.9.0-SNAPSHOT/mdsal-binding-generator-util-0.9.0-SNAPSHOT.jar urls[8] = file:/home/ubuntu/.m2/repository/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.jar urls[9] = file:/home/ubuntu/.m2/repository/org/eclipse/xtend/org.eclipse.xtend.lib/2.8.4/org.eclipse.xtend.lib-2.8.4.jar urls[10] = file:/home/ubuntu/.m2/repository/org/eclipse/xtend/org.eclipse.xtend.lib.macro/2.8.4/org.eclipse.xtend.lib.macro-2.8.4.jar urls[11] = file:/home/ubuntu/.m2/repository/org/eclipse/xtext/org.eclipse.xtext.xbase.lib/2.8.4/org.eclipse.xtext.xbase.lib-2.8.4.jar urls[12] = file:/home/ubuntu/.m2/repository/org/opendaylight/mdsal/mdsal-binding-java-api-generator/0.9.0-SNAPSHOT/mdsal-binding-java-api-generator-0.9.0-SNAPSHOT.jar urls[13] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/yang-data-api/1.0.0-SNAPSHOT/yang-data-api-1.0.0-SNAPSHOT.jar urls[14] = file:/home/ubuntu/.m2/repository/org/opendaylight/mdsal/yang-binding/0.9.0-SNAPSHOT/yang-binding-0.9.0-SNAPSHOT.jar urls[15] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/concepts/1.0.0-SNAPSHOT/concepts-1.0.0-SNAPSHOT.jar urls[16] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/util/1.0.0-SNAPSHOT/util-1.0.0-SNAPSHOT.jar urls[17] = file:/home/ubuntu/.m2/repository/com/github/romix/java-concurrent-hash-trie-map/0.2.23/java-concurrent-hash-trie-map-0.2.23.jar urls[18] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/yang-common/1.0.0-SNAPSHOT/yang-common-1.0.0-SNAPSHOT.jar urls[19] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/object-cache-api/1.0.0-SNAPSHOT/object-cache-api-1.0.0-SNAPSHOT.jar urls[20] = file:/home/ubuntu/.m2/repository/com/google/guava/guava/18.0/guava-18.0.jar urls[21] = file:/home/ubuntu/.m2/repository/org/apache/maven/maven-builder-support/3.3.3/maven-builder-support-3.3.3.jar urls[22] = file:/home/ubuntu/.m2/repository/org/eclipse/aether/aether-util/1.0.2.v20150114/aether-util-1.0.2.v20150114.jar urls[23] = file:/home/ubuntu/.m2/repository/javax/enterprise/cdi-api/1.0/cdi-api-1.0.jar urls[24] = file:/home/ubuntu/.m2/repository/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar urls[25] = file:/home/ubuntu/.m2/repository/org/eclipse/sisu/org.eclipse.sisu.inject/0.3.0/org.eclipse.sisu.inject-0.3.0.jar urls[26] = file:/home/ubuntu/.m2/repository/org/sonatype/sisu/sisu-guice/3.2.5/sisu-guice-3.2.5-no_aop.jar urls[27] = file:/home/ubuntu/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar urls[28] = file:/home/ubuntu/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.21/plexus-interpolation-1.21.jar urls[29] = file:/home/ubuntu/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.20/plexus-utils-3.0.20.jar urls[30] = file:/home/ubuntu/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar urls[31] = file:/home/ubuntu/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar urls[32] = file:/home/ubuntu/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar urls[33] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/yang-parser-impl/1.0.0-SNAPSHOT/yang-parser-impl-1.0.0-SNAPSHOT.jar urls[34] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/yang-model-api/1.0.0-SNAPSHOT/yang-model-api-1.0.0-SNAPSHOT.jar urls[35] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/yang-parser-api/1.0.0-SNAPSHOT/yang-parser-api-1.0.0-SNAPSHOT.jar urls[36] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/yang-model-util/1.0.0-SNAPSHOT/yang-model-util-1.0.0-SNAPSHOT.jar urls[37] = file:/home/ubuntu/.m2/repository/org/antlr/antlr4-runtime/4.5.1/antlr4-runtime-4.5.1.jar urls[38] = file:/home/ubuntu/.m2/repository/com/google/code/findbugs/jsr305/3.0.0/jsr305-3.0.0.jar urls[39] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/yang-maven-plugin-spi/1.0.0-SNAPSHOT/yang-maven-plugin-spi-1.0.0-SNAPSHOT.jar urls[40] = file:/home/ubuntu/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.7/plexus-build-api-0.0.7.jar urls[41] = file:/home/ubuntu/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar Number of foreign imports: 1 import: Entry[import from realm ClassRealm[project>org.opendaylight.l2switch.packethandler:packethandler-model:0.4.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]


at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:168)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 20 more

Caused by: org.apache.maven.plugin.PluginContainerException: A required class was missing while executing org.opendaylight.yangtools:yang-maven-plugin:1.0.0-SNAPSHOT:generate-sources: java/util/function/Consumer

realm = plugin>org.opendaylight.yangtools:yang-maven-plugin:1.0.0-SNAPSHOT strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/yang-maven-plugin/1.0.0-SNAPSHOT/yang-maven-plugin-1.0.0-SNAPSHOT.jar urls[1] = file:/home/ubuntu/.m2/repository/org/opendaylight/mdsal/maven-sal-api-gen-plugin/0.9.0-SNAPSHOT/maven-sal-api-gen-plugin-0.9.0-SNAPSHOT.jar urls[2] = file:/home/ubuntu/.m2/repository/org/opendaylight/mdsal/mdsal-binding-generator-api/0.9.0-SNAPSHOT/mdsal-binding-generator-api-0.9.0-SNAPSHOT.jar urls[3] = file:/home/ubuntu/.m2/repository/org/opendaylight/mdsal/mdsal-binding-generator-impl/0.9.0-SNAPSHOT/mdsal-binding-generator-impl-0.9.0-SNAPSHOT.jar urls[4] = file:/home/ubuntu/.m2/repository/org/javassist/javassist/3.20.0-GA/javassist-3.20.0-GA.jar urls[5] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/yang-data-impl/1.0.0-SNAPSHOT/yang-data-impl-1.0.0-SNAPSHOT.jar urls[6] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/yang-data-util/1.0.0-SNAPSHOT/yang-data-util-1.0.0-SNAPSHOT.jar urls[7] = file:/home/ubuntu/.m2/repository/org/opendaylight/mdsal/mdsal-binding-generator-util/0.9.0-SNAPSHOT/mdsal-binding-generator-util-0.9.0-SNAPSHOT.jar urls[8] = file:/home/ubuntu/.m2/repository/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.jar urls[9] = file:/home/ubuntu/.m2/repository/org/eclipse/xtend/org.eclipse.xtend.lib/2.8.4/org.eclipse.xtend.lib-2.8.4.jar urls[10] = file:/home/ubuntu/.m2/repository/org/eclipse/xtend/org.eclipse.xtend.lib.macro/2.8.4/org.eclipse.xtend.lib.macro-2.8.4.jar urls[11] = file:/home/ubuntu/.m2/repository/org/eclipse/xtext/org.eclipse.xtext.xbase.lib/2.8.4/org.eclipse.xtext.xbase.lib-2.8.4.jar urls[12] = file:/home/ubuntu/.m2/repository/org/opendaylight/mdsal/mdsal-binding-java-api-generator/0.9.0-SNAPSHOT/mdsal-binding-java-api-generator-0.9.0-SNAPSHOT.jar urls[13] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/yang-data-api/1.0.0-SNAPSHOT/yang-data-api-1.0.0-SNAPSHOT.jar urls[14] = file:/home/ubuntu/.m2/repository/org/opendaylight/mdsal/yang-binding/0.9.0-SNAPSHOT/yang-binding-0.9.0-SNAPSHOT.jar urls[15] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/concepts/1.0.0-SNAPSHOT/concepts-1.0.0-SNAPSHOT.jar urls[16] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/util/1.0.0-SNAPSHOT/util-1.0.0-SNAPSHOT.jar urls[17] = file:/home/ubuntu/.m2/repository/com/github/romix/java-concurrent-hash-trie-map/0.2.23/java-concurrent-hash-trie-map-0.2.23.jar urls[18] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/yang-common/1.0.0-SNAPSHOT/yang-common-1.0.0-SNAPSHOT.jar urls[19] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/object-cache-api/1.0.0-SNAPSHOT/object-cache-api-1.0.0-SNAPSHOT.jar urls[20] = file:/home/ubuntu/.m2/repository/com/google/guava/guava/18.0/guava-18.0.jar urls[21] = file:/home/ubuntu/.m2/repository/org/apache/maven/maven-builder-support/3.3.3/maven-builder-support-3.3.3.jar urls[22] = file:/home/ubuntu/.m2/repository/org/eclipse/aether/aether-util/1.0.2.v20150114/aether-util-1.0.2.v20150114.jar urls[23] = file:/home/ubuntu/.m2/repository/javax/enterprise/cdi-api/1.0/cdi-api-1.0.jar urls[24] = file:/home/ubuntu/.m2/repository/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar urls[25] = file:/home/ubuntu/.m2/repository/org/eclipse/sisu/org.eclipse.sisu.inject/0.3.0/org.eclipse.sisu.inject-0.3.0.jar urls[26] = file:/home/ubuntu/.m2/repository/org/sonatype/sisu/sisu-guice/3.2.5/sisu-guice-3.2.5-no_aop.jar urls[27] = file:/home/ubuntu/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar urls[28] = file:/home/ubuntu/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.21/plexus-interpolation-1.21.jar urls[29] = file:/home/ubuntu/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.20/plexus-utils-3.0.20.jar urls[30] = file:/home/ubuntu/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar urls[31] = file:/home/ubuntu/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar urls[32] = file:/home/ubuntu/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar urls[33] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/yang-parser-impl/1.0.0-SNAPSHOT/yang-parser-impl-1.0.0-SNAPSHOT.jar urls[34] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/yang-model-api/1.0.0-SNAPSHOT/yang-model-api-1.0.0-SNAPSHOT.jar urls[35] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/yang-parser-api/1.0.0-SNAPSHOT/yang-parser-api-1.0.0-SNAPSHOT.jar urls[36] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/yang-model-util/1.0.0-SNAPSHOT/yang-model-util-1.0.0-SNAPSHOT.jar urls[37] = file:/home/ubuntu/.m2/repository/org/antlr/antlr4-runtime/4.5.1/antlr4-runtime-4.5.1.jar urls[38] = file:/home/ubuntu/.m2/repository/com/google/code/findbugs/jsr305/3.0.0/jsr305-3.0.0.jar urls[39] = file:/home/ubuntu/.m2/repository/org/opendaylight/yangtools/yang-maven-plugin-spi/1.0.0-SNAPSHOT/yang-maven-plugin-spi-1.0.0-SNAPSHOT.jar urls[40] = file:/home/ubuntu/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.7/plexus-build-api-0.0.7.jar urls[41] = file:/home/ubuntu/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar Number of foreign imports: 1 import: Entry[import from realm ClassRealm[project>org.opendaylight.l2switch.packethandler:packethandler-model:0.4.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]


at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:166)
... 21 more

Caused by: java.lang.NoClassDefFoundError: java/util/function/Consumer at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:195) at org.opendaylight.yangtools.yang2sources.plugin.Util.resolveClass(Util.java:123) at org.opendaylight.yangtools.yang2sources.plugin.Util.getInstance(Util.java:119) at org.opendaylight.yangtools.yang2sources.plugin.YangToSourcesProcessor.generateSourcesWithOneGenerator(YangToSourcesProcessor.java:309) at org.opendaylight.yangtools.yang2sources.plugin.YangToSourcesProcessor.generateSources(YangToSourcesProcessor.java:285) at org.opendaylight.yangtools.yang2sources.plugin.YangToSourcesProcessor.execute(YangToSourcesProcessor.java:95) at org.opendaylight.yangtools.yang2sources.plugin.YangToSourcesMojo.execute(YangToSourcesMojo.java:116) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) ... 21 more Caused by: java.lang.ClassNotFoundException: java.util.function.Consumer at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239) ... 30 more [ERROR] [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/PluginContainerException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :packethandler-model