Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode


Unable to execute "mvn clean install" for SFC module.

asked 2017-02-28 00:46:22 -0800

karra88 gravatar image

updated 2017-02-28 00:46:44 -0800

version of mvn is 3.3.9. Have executed command where .m2 folder gets updated. Still facing the error and below is the error.

[ERROR] Failed to execute goal org.opendaylight.yangtools:yang-maven-plugin:1.1.0-SNAPSHOT:generate-sources (config) on project sfc-ios-xe-renderer: yang-to-sources: One or more code generators failed, including failed list(generatorClass=exception) {org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl=java.lang.IllegalStateException} -> [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] [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :sfc-ios-xe-renderer

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-03-01 23:18:28 -0800

karra88 gravatar image

I ran the command "mvn clean install" for some random number of times and now it worked and I didn't change anything in the system after the failure of build and before success of build. It happened even before for other modules. why this uncertainty ? Can anybody please explain ?

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-02-28 00:46:22 -0800

Seen: 245 times

Last updated: Mar 01 '17