[
https://issues.jenkins-ci.org/browse/JENKINS-12951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=162937#comment-162937
]
Kanstantsin Shautsou commented on JENKINS-12951:
------------------------------------------------
the same on 1.463. Invoke maven doesn't work in:
1) free style job
2) in post/pre build action in "maven2/3 project"
> Freestyle job 'Invoke Maven 3' build step can't find maven home for Maven
> installation installed from Apache Archives
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: JENKINS-12951
> URL: https://issues.jenkins-ci.org/browse/JENKINS-12951
> Project: Jenkins
> Issue Type: Bug
> Components: maven
> Affects Versions: current
> Environment: Jenkins 1.424.3
> Ubuntu 10.04.2 LTS
> Tomcat 6
> Reporter: Andrew Fannin
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira