java.lang.IllegalArgumentException: mavenHome must exists

JFrog JIRA | Jascha Lee | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      mavenHome must exists

      at hudson.maven.MavenEmbedderUtils.buildClassRealm()
    2. Hudson Maven Embedder
      MavenEmbedderUtils.getMavenVersion
      1. hudson.maven.MavenEmbedderUtils.buildClassRealm(MavenEmbedderUtils.java:75)
      2. hudson.maven.MavenEmbedderUtils.getMavenVersion(MavenEmbedderUtils.java:186)
      2 frames
    3. org.jfrog.hudson
      ArtifactoryMaven3NativeConfigurator.setUp
      1. org.jfrog.hudson.maven3.ArtifactoryMaven3NativeConfigurator.setUp(ArtifactoryMaven3NativeConfigurator.java:91)
      1 frame
    4. Hudson Maven Embedder
      MavenModuleSetBuild$RunnerImpl.doRun
      1. hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:607)
      1 frame
    5. Hudson
      Run.run
      1. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:429)
      2. hudson.model.Run.run(Run.java:1374)
      2 frames
    6. Hudson Maven Embedder
      MavenModuleSetBuild.run
      1. hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:467)
      1 frame
    7. Hudson
      Executor.run
      1. hudson.model.ResourceController.execute(ResourceController.java:88)
      2. hudson.model.Executor.run(Executor.java:145)
      2 frames