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
-
Activity
Brett Porter
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Component/s | maven-plugins [ 11380 ] | |
| Fix Version/s | 2.0-beta-2 [ 11861 ] | |
| Component/s | maven-artifact-ant [ 11532 ] |
Brett Porter
made changes -
| Component/s | maven-plugins [ 11380 ] | |
| Component/s | maven-ant-plugin [ 11799 ] |
Brett Porter
made changes -
| Fix Version/s | 2.0-beta-2 [ 11861 ] | |
| Fix Version/s | 2.0-beta-3 [ 12015 ] |
Brett Porter
made changes -
| Fix Version/s | 2.0-beta-3 [ 12015 ] | |
| Fix Version/s | 2.0-beta-4 [ 11991 ] | |
| Priority | Major [ 3 ] | Minor [ 4 ] |
Edwin Punzalan
made changes -
| Attachment | MNG-774-maven-ant-plugin.patch [ 16940 ] |
Edwin Punzalan
made changes -
| Assignee | Edwin Punzalan [ elpunzalan ] |
Brett Porter
made changes -
| Fix Version/s | 2.0-beta-4 [ 11991 ] |
Jason van Zyl
made changes -
| Project | Maven 2 [ 10500 ] | Maven 2.x Ant Plugin [ 11124 ] |
| Key | MNG-774 |
|
| Component/s | maven-ant-plugin [ 11799 ] | |
| Affects Version/s | 2.0-alpha-3 [ 11021 ] | |
| Workflow | Maven [ 38896 ] | jira [ 43872 ] |
Jason van Zyl
made changes -
| Workflow | jira [ 43872 ] | Maven [ 44597 ] |
Brett Porter
made changes -
| Workflow | Maven [ 44597 ] | Maven New [ 50640 ] |
Vincent Siveton
made changes -
| Fix Version/s | 2.0-beta-2 [ 12933 ] | |
| Assignee | Edwin Punzalan [ elpunzalan ] | Vincent Siveton [ siveton ] |
| Affects Version/s | 2.0-beta-1 [ 12932 ] |
Vincent Siveton
made changes -
| Status | Open [ 1 ] | Closed [ 6 ] |
| Resolution | Fixed [ 1 ] |
Benjamin Bentmann
made changes -
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?