Redeploy Artifacts fails if Maven Project Configuration->Local Maven Repository is set to "Local to the Executor"

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Critical
    • Component/s: maven-plugin
    • None
    • Environment:
      1.450 Solaris JDK 1.6.0-21

      If Maven Project Configuration->Local Maven Repository is set to "Local to the Executor"
      Redeploy Artifacts fails with:
      java.lang.NullPointerException
      at hudson.maven.local_repo.PerExecutorLocalRepositoryLocator.locate(PerExecutorLocalRepositoryLocator.java:18)
      at hudson.maven.MavenUtil.createEmbedder(MavenUtil.java:106)
      at hudson.maven.reporters.MavenAbstractArtifactRecord$1.perform(MavenAbstractArtifactRecord.java:224)
      at hudson.model.TaskThread.run(TaskThread.java:127)

      It would appear that at least one non-executor associated repo would be required.

      Workaround is to set Use private Maven repository->Local to workspace for the jobs one wishes to support redeploy.

            Assignee:
            Unassigned
            Reporter:
            Jeff Maxwell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: