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] http://cwiki.apache.org/confluence/di...
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :sfc-ios-xe-renderer

1 answer

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 ?