Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.0-beta-1
-
Fix Version/s: 2.0
-
Labels:None
-
Environment:Windows 2000
JDK 1.4.2_05
-
Number of attachments :
Description
i used "m2 ant:ant" to create a ant build file, and found the following line:
<property name="maven.repo.local" value="$
/.m2/repository"/>
but i had changed the "localRepository" to another directory with the "settings.xml" file, so i have to correct it manually!
I hope ant:ant plugin would read the "settings.xml" file to set the "maven.repo.local" property.
Issue Links
- relates to
-
MANT-34
The generated maven-build.xml and maven-build.properties contains absolute path to local repository
-
actually, now that I think about it... we don't want to hardcode a user's path in the script.
Perhaps we could write the property to build.properties instead, and restore the default in the script?