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

0

mvn clean install error

asked 2017-06-08 00:05:47 -0700

im_rohit gravatar image

Hi all

I have downloaded the distribution of odl and when i execute the following:

cd distribution mvn clean install

I am getting the following error:

[INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] ODL :: integration :: distribution-artifacts ....... SUCCESS [ 3.171 s] [INFO] ODL :: integration :: properties ................... SUCCESS [ 0.049 s] [INFO] ODL :: integration :: artifact-artifacts ........... SUCCESS [ 0.042 s] [INFO] ODL :: integration :: feature3-repo-artifacts ...... SUCCESS [ 0.025 s] [INFO] ODL :: integration :: feature-repo-artifacts ....... SUCCESS [ 0.013 s] [INFO] ODL :: integration :: single-feature-artifacts ..... SUCCESS [ 0.018 s] [INFO] ODL :: integration :: other-artifacts .............. SUCCESS [ 0.016 s] [INFO] ODL :: integration :: upstream-all-artifacts ....... SUCCESS [ 0.058 s] [INFO] ODL :: integration :: upstream-aggregator .......... SUCCESS [ 0.026 s] [INFO] ODL :: integration :: all-artifacts ................ SUCCESS [ 0.035 s] [INFO] ODL :: integration :: artifacts-aggregator ......... SUCCESS [ 0.010 s] [INFO] ODL :: integration :: version ...................... SUCCESS [ 45.260 s] [INFO] ODL :: integration :: odl-distribution-version ..... SUCCESS [01:03 min] [INFO] ODL :: integration :: features-distribution ........ SUCCESS [ 45.652 s] [INFO] ODL :: integration :: features-index ............... FAILURE [04:03 min] [INFO] ODL :: integration :: odl-integration-compatible-with-all SKIPPED [INFO] ODL :: integration :: odl-integration-all .......... SKIPPED [INFO] ODL :: integration :: features-test ................ SKIPPED [INFO] ODL :: integration :: karaf ........................ SKIPPED [INFO] ODL :: integration :: features3-distribution ....... SKIPPED [INFO] ODL :: integration :: features-integration-index ... SKIPPED [INFO] ODL :: integration :: features-integration-test .... SKIPPED [INFO] ODL :: integration :: distribution-karaf ........... SKIPPED [INFO] ODL :: integration :: singles-aggregator ........... SKIPPED [INFO] ODL :: integration :: repos-aggregator ............. SKIPPED [INFO] ODL :: integration :: features-aggregator .......... SKIPPED [INFO] Integration/Distribution ........................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 07:02 min [INFO] Finished at: 2017-06-07T23:08:43-07:00 [INFO] Final Memory: 158M/378M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default) on project features-index: There are test failures. [ERROR] [ERROR] Please refer to /home/mini/distribution/features/repos/index/target/surefire-reports for the individual test results. [ERROR] -> [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/di... [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :features-index

Can anyone suggest me solution to this. Thanks

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2017-06-09 09:58:03 -0700

Cheng Ian Liu gravatar image

Do you really mean mvn clean install on a "distribution"? I thought you can only run but not build on a distribution...

edit flag offensive delete publish link more

Comments

I followed this installation instruction from the official wiki website of OpenDaylight. https://wiki.opendaylight.org/view/Install_On_Ubuntu_14.04 # cd distribution # mvn clean install -DskipTests But still cannot resolve the issue.

im_rohit ( 2017-06-12 01:07:58 -0700 )edit
0

answered 2017-06-13 07:18:56 -0700

karthik330 gravatar image

For the instance you can skip the TEST :

mvn install -DskipTests or mvn install -Dmaven.test.skip=true

edit flag offensive delete publish link more

Comments

I have tried this one also....still not working Same error

im_rohit ( 2017-06-15 21:35:36 -0700 )edit
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2017-06-08 00:05:47 -0700

Seen: 46 times

Last updated: Jun 13