java.lang.RuntimeException: Unable to determine Maven version

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Matthieu Simonin, 6 months ago
via Jenkins JIRA by srijini s, 1 year ago
Unable to determine Maven version
via jenkins-ci.org by Unknown author, 6 months ago
via Google Groups by inderpree...@gmail.com, 2 years ago
via Jenkins JIRA by Giuliano Ribeiro, 1 year ago
Unable to determine Maven version
via Jenkins JIRA by Giuliano Ribeiro, 1 year ago
Unable to determine Maven version
java.lang.RuntimeException: Unable to determine Maven version
at hudson.maven.MavenEmbedderUtils.buildClassRealm(MavenEmbedderUtils.java:76)
at hudson.maven.MavenEmbedderUtils.getMavenVersion(MavenEmbedderUtils.java:188)
at org.jfrog.hudson.maven3.MavenVersionCallable.call(MavenVersionCallable.java:45)
at org.jfrog.hudson.maven3.MavenVersionCallable.call(MavenVersionCallable.java:33)
at hudson.FilePath.act(FilePath.java:1077)
at org.jfrog.hudson.util.MavenVersionHelper.isAtLeast(MavenVersionHelper.java:109)
at org.jfrog.hudson.util.MavenVersionHelper.isAtLeastVersion(MavenVersionHelper.java:81)
at org.jfrog.hudson.util.MavenVersionHelper.isAtLeastResolutionCapableVersion(MavenVersionHelper.java:72)
at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.isMavenVersionValid(MavenExtractorEnvironment.java:165)
at org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:100)
at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:947)
at hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:56)
at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:165)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
at hudson.model.Run.execute(Run.java:1738)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:410)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.