-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 1.6.0
-
Component/s: None
-
Labels:
-
Environment:
ONOS BUILD
-
Story Points:3
module choiceCaseTest {
yang-version 1;
namespace http://huawei.com;
prefix Ant;
container link {
choice interfaceType {
case ethernerType {
leaf ethernet
}
case p2pType {
leaf p2p { type string; }
}
}
}
}
[INFO] 6 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.907 s
[INFO] Finished at: 2016-05-20T15:18:20+05:30
[INFO] Final Memory: 30M/324M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project onlab-test: Compilation failure: Compilation failure:
[ERROR] /home/root1/onos/utils/test/src/main/java/org/onosproject/yang/gen/v1/http/huawei/com/rev20160520/choicecasetest/link/interfacetype/EthernerTypeBuilder.java:[23,82] error: cannot find symbol
[ERROR] symbol: class interfaceType
[ERROR] location: package org.onosproject.yang.gen.v1.http.huawei.com.rev20160520.choicecasetest.link
[ERROR] /home/root1/onos/utils/test/src/main/java/org/onosproject/yang/gen/v1/http/huawei/com/rev20160520/choicecasetest/link/interfacetype/EthernerType.java:[20,82] error: cannot find symbol
[ERROR] symbol: class interfaceType
[ERROR] location: package org.onosproject.yang.gen.v1.http.huawei.com.rev20160520.choicecasetest.link
[ERROR] /home/root1/onos/utils/test/src/main/java/org/onosproject/yang/gen/v1/http/huawei/com/rev20160520/choicecasetest/link/interfacetype/EthernerType.java:[26,58] error: cannot find symbol
[ERROR] symbol: class interfaceType
[ERROR] /home/root1/onos/utils/test/src/main/java/org/onosproject/yang/gen/v1/http/huawei/com/rev20160520/choicecasetest/link/interfacetype/P2PtypeBuilder.java:[23,82] error: cannot find symbol
[ERROR] symbol: class interfaceType
[ERROR] location: package org.onosproject.yang.gen.v1.http.huawei.com.rev20160520.choicecasetest.link
[ERROR] /home/root1/onos/utils/test/src/main/java/org/onosproject/yang/gen/v1/http/huawei/com/rev20160520/choicecasetest/link/interfacetype/P2Ptype.java:[20,82] error: cannot find symbol
[ERROR] symbol: class interfaceType
[ERROR] location: package org.onosproject.yang.gen.v1.http.huawei.com.rev20160520.choicecasetest.link
[ERROR] /home/root1/onos/utils/test/src/main/java/org/onosproject/yang/gen/v1/http/huawei/com/rev20160520/choicecasetest/link/interfacetype/P2Ptype.java:[26,53] error: cannot find symbol
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project onlab-test: Compilation failure
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
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:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
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.CompilationFailureException: Compilation failure
at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:729)
at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 20 more
[ERROR]
[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/MojoFailureException
root1@root1-HP-EliteBook-840-G2:~/onos/utils/test$ ^C
root1@root1-HP-EliteBook-840-G2:~/onos/utils/test$