History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: MANT-2
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Vincent Siveton
Reporter: island chen
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Maven 2.x Ant Plugin

error "maven.repo.local" property in the ant file

Created: 22/Aug/05 09:23 PM   Updated: 21/Mar/08 05:36 PM
Component/s: None
Affects Version/s: 2.0-beta-1
Fix Version/s: 2.0

Time Tracking:
Not Specified

File Attachments: 1. Text File MNG-774-maven-ant-plugin.patch (0.6 kb)

Environment:
Windows 2000
JDK 1.4.2_05
Issue Links:
Related
 


 Description  « Hide
i used "m2 ant:ant" to create a ant build file, and found the following line:
<property name="maven.repo.local" value="${user.home}/.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.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Brett Porter - 08/Oct/05 10:08 PM
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?


Vincent Siveton - 23/Sep/06 12:22 PM
Fixed as Brett suggested