java.lang.IllegalArgumentException

When not aligning with a user install you must specify a local repository location using the setLocalRepositoryDirectory( File ) method.

Solutions on the web24647

  • via Jenkins JIRA by dhouthoo, 11 months ago
    When not aligning with a user install you must specify a local repository location using the setLocalRepositoryDirectory( File ) method.
  • When not aligning with a user install you must specify a local repository location using the setLocalRepositoryDirectory( File ) method.
  • via JFrog JIRA by Dror Bereznitsky, 1 year ago
    When not aligning with a user install you must specify a local repository location using the setLocalRepositoryDirectory( File ) method.
  • Stack trace

    • java.lang.IllegalArgumentException: When not aligning with a user install you must specify a local repository location using the setLocalRepositoryDirectory( File ) method. at hudson.maven.MavenEmbedder.createMavenSettings(MavenEmbedder.java:708) at hudson.maven.MavenEmbedder.start(MavenEmbedder.java:637) at hudson.maven.MavenUtil.createEmbedder(MavenUtil.java:36) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:206) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:175) at hudson.FilePath.act(FilePath.java:232) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:118) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:119) at hudson.model.Run.run(Run.java:544) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:107) at hudson.model.Executor.run(Executor.java:61)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.