Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
nightly
-
None
-
None
-
Windows, JRE 1.5.0_12, maven 2.0.8
Description
Line 577 in modules/integration/pom.xml sets the maven.repo.local ant property as follows:
<property name="maven.repo.local" value="${user.home}/.m2/repository"/>
It breaks the build if the maven repository is not at the default location. The ant property should be set in the following way instead:
<property name="maven.repo.local" value="${settings.localRepository}"/>
Thus, the settings.localRepository maven property is correctly propagated as the maven.repo.local ant property.
Also, it would be worth taking a look at these lines in the following files, as they may exhibit the same problem (though I haven't encountered any issue related to this while doing a "mvn install"):
modules/samples/script/mail-test.xml: 32
<property name="maven.repo.local" value="${user.home}/.maven/repository/"/>
modules/samples/script/wsdl-test.xml: 22
<property name="maven.repo.local" value="${user.home}/.maven/repository/" />