Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-12951

Freestyle job 'Invoke Maven 3' build step can't find maven home for Maven installation installed from Apache Archives

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • artifactory-plugin
    • None
    • Jenkins 1.424.3
      Ubuntu 10.04.2 LTS
      Tomcat 6

      Out of the blue, with really no explanation, our freestyle projects which use the 'Invoke Maven 3' began throwing the following error when attempting to invoke the Maven 3 step:

      ERROR: Maven 'Maven3' doesn't have its home set
      Finished: FAILURE

      Where 'Maven3' is the name of the Maven installation configured to 'Install from Apache' version 3.0.4

      Nothing in the logs to indicate a problem. I've deleted and re-added the Maven installation as well as creating new ones with different versions. Even went as far a blowing away the Tomcat context and redeploying still nothing.

      Maven 2/3 projects still work fine.
      Not completely convinced the Jenkins-Artifactory plugin doesn't have something to do with this; I have tested this issue in isolation, using only svn checkout and 'Invoke Maven 3', but wonder if the Artifactory plugin may be wrapping the job anyway.

            Unassigned Unassigned
            andrewfannin Andrew Fannin
            Votes:
            6 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: