NitorCreations/nflow

mvn versions:display-plugin-updates fails

jsyrjala opened this issue · 3 comments

mvn versions:display-plugin-updates
...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  3.483 s (Wall Clock)
[INFO] Finished at: 2020-01-22T08:03:25+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:versions-maven-plugin:2.7:display-plugin-updates (default-cli) on project nflow-engine: Failed to interpolate field: private java.util.List org.apache.maven.model.ModelBase.repositories on class: org.apache.maven.model.ModelBase: class org.apache.maven.project.interpolation.StringSearchModelInterpolator$InterpolateObjectAction cannot access a member of class org.apache.maven.model.ModelBase with modifiers "private" -> [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/display/MAVEN/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :nflow-engine

According to git bisect this started with commit dae3f13 Enable parallel maven module builds and junit tests

Run it with -T1

This is caused by .mvn/maven.config which sets -T0.5C. Forcing one thread works.

Need to either use -T1 or wait for a fix to maven-versions-plugin. Closing.