Hi Team

Getting compilation errors on tagged version of mdsal project:
git checkout tags/release/oxygen-sr4 -b oxygen-sr4

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] mdsal-parent 2.4.4 ................................. SUCCESS [  7.372 s]
[INFO] mdsal-artifacts 2.4.4 .............................. SUCCESS [  0.112 s]
[INFO] yang-binding 0.12.4 ................................ SUCCESS [  2.813 s]
[INFO] binding-parent 0.12.4 .............................. SUCCESS [  0.113 s]
[INFO] mdsal-binding-generator-api 0.12.4 ................. SUCCESS [  0.664 s]
[INFO] mdsal-binding-generator-util 0.12.4 ................ SUCCESS [  1.236 s]
[INFO] mdsal-binding-generator-impl 0.12.4 ................ SUCCESS [  1.841 s]
[INFO] mdsal-binding-java-api-generator 0.12.4 ............ FAILURE [02:48 min]
[INFO] maven-sal-api-gen-plugin 0.12.4 .................... SKIPPED


[ERROR] Failed to execute goal 
org.eclipse.xtend:xtend-maven-plugin:2.14.0:compile (default) on project 
mdsal-binding-java-api-generator: Execution default of goal 
org.eclipse.xtend:xtend-maven-plugin:2.14.0:compile failed: An API 
incompatibility was encountered while executing 
org.eclipse.xtend:xtend-maven-plugin:2.14.0:compile: 
java.lang.NoSuchMethodError: 
org.eclipse.jdt.internal.compiler.batch.FileSystem.getClasspath(Ljava/lang/String;Ljava/lang/String;ZLorg/eclipse/jdt/internal/compiler/env/AccessRuleSet;Ljava/lang/String;Ljava/util/Map;)Lorg/eclipse/jdt/internal/compiler/batch/FileSystem$Classpath;
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>org.eclipse.xtend:xtend-maven-plugin:2.14.0
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = 
file:/root/.m2/repository/org/eclipse/xtend/xtend-maven-plugin/2.14.0/xtend-maven-plugin-2.14.0.jar
[ERROR] urls[1] = 
file:/root/.m2/repository/org/eclipse/platform/org.eclipse.equinox.common/3.10.0/org.eclipse.equinox.common-3.10.0.jar


Java and maven version details:
Apache Maven 3.5.4
Java version: 1.8.0_45

How to resolve these errors?

Thanks
Vikram
_______________________________________________
controller-dev mailing list
controller-dev@lists.opendaylight.org
https://lists.opendaylight.org/mailman/listinfo/controller-dev

Reply via email to