ODL Lithium Integration Build Failure

asked 2016-02-15 04:18:26 -0700

sivag123 gravatar image

My MVN/JAVA Version is as below:

mvn -ver Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T17:27:37+05:30) Maven home: /usr/local/apache-maven/apache-maven-3.3.3 Java version: 1.7.095, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre Default locale: enIN, platform encoding: UTF-8 OS name: "linux", version: "3.19.0-25-generic", arch: "amd64", family: "unix"

When i tried to compile the integration folder Firts i got this error:

[INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] integration ........................................ SUCCESS [ 29.495 s] [INFO] features-integration-index ......................... FAILURE [50:33 min] [INFO] features-integration-test .......................... SKIPPED [INFO] distribution-karaf ................................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 51:17 min [INFO] Finished at: 2016-02-15T16:30:26+05:30 [INFO] Final Memory: 140M/336M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project features-integration-index: Could not resolve dependencies for project org.opendaylight.integration:features-integration-index:jar:0.5.0-SNAPSHOT: The following artifacts could not be resolved: org.opendaylight.bgpcep:bgp-labeled-unicast:jar:0.6.0-SNAPSHOT, org.opendaylight.openflowjava:openflow-protocol-impl:jar:0.8.0-SNAPSHOT, org.opendaylight.openflowplugin:openflowplugin-extension-nicira:jar:0.3.0-SNAPSHOT, org.opendaylight.topoprocessing:topoprocessing-inventory-rendering:jar:0.2.0-SNAPSHOT: Could not transfer artifact org.opendaylight.bgpcep:bgp-labeled-unicast:jar:0.6.0-20160214.084728-44 from/to opendaylight-snapshot ( http://nexus.opendaylight.org/content... ): GET request of: org/opendaylight/bgpcep/bgp-labeled-unicast/0.6.0-SNAPSHOT/bgp-labeled-unicast-0.6.0-20160214.084728-44.jar from opendaylight-snapshot failed: Premature end of Content-Length delimited message body (expected: 188534; received: 120904 -> [Help 1]

I did a wget manually like below wget http://nexus.opendaylight.org/openday...

and the compilation proceded further.

Now i got another error as below which i have no clue how to resolve it

[INFO] integration ........................................ SUCCESS [ 14.826 s] [INFO] features-integration-index ......................... SUCCESS [ 33.040 s] [INFO] features-integration-test .......................... SUCCESS [ 5.713 s] [INFO] distribution-karaf ................................. FAILURE [ 15.673 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE

[INFO] Total time: 01:17 min [INFO] Finished at: 2016-02-15T17:28:56+05:30 [INFO] Final Memory: 154M/373M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.opendaylight.odlparent:karaf-plugin:1.7.0-SNAPSHOT:populate-local-repo (populate-local-repo) on project distribution-karaf: Execution populate-local-repo of goal org.opendaylight.odlparent:karaf-plugin:1.7.0-SNAPSHOT:populate-local-repo failed: Unable to load the mojo 'populate-local-repo' in the plugin 'org.opendaylight.odlparent:karaf-plugin:1.7.0-SNAPSHOT' due to an API incompatibility: org.codehaus.plexus.component.repository.exception.ComponentLookupException: org/opendaylight/odlparent/PopulateLocalRepoMojo : Unsupported major.minor version 52.0

PS: I'm usinh the settings.xmal as in https://wiki.opendaylight.org/view/Ge...EnvironmentSetup#Edityour.7E.2F.m2.2Fsettings.xml

and echo $MAVEN_OPTS -Xmx1048m -XX:MaxPermSize=512m

Please let me know how to resolve the above error

edit retag flag offensive close merge delete