Message:
The following issue has been reopened.
Reopener: Arnaud HERITIER
Date: Sat, 31 Jul 2004 5:23 AM
We must replace the value of the maven properties by the maven properties themself.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPANT-9
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPANT-9
Summary: ant plug-in does not support proxy environments
Type: Improvement
Status: Reopened
Priority: Trivial
Original Estimate: 5 minutes
Time Spent: Unknown
Remaining: 5 minutes
Project: maven-ant-plugin
Fix Fors:
1.8
Assignee: Arnaud HERITIER
Reporter: Jan Nielsen
Created: Mon, 2 Feb 2004 6:28 PM
Updated: Sat, 31 Jul 2004 5:23 AM
Environment: WinNT, JVM 1.3, Ant 1.5 & Ant 1.6
Description:
When the ant plug-in produces a build.xml, the "maven.proxy.*" properties are not used
in the generated build.xml file. The attached fix works in my environment.
-Jan
Index: src/plugin-resources/templates/build.jelly
===================================================================
RCS file:
/home/cvspublic/maven-plugins/ant/src/plugin-resources/templates/build.jelly,v
retrieving revision 1.5
diff -u -p -r1.5 build.jelly
--- src/plugin-resources/templates/build.jelly 16 Oct 2003 07:56:57 -0000 1.5
+++ src/plugin-resources/templates/build.jelly 2 Feb 2004 20:13:19 -0000
@@ -299,7 +299,13 @@
name="get-deps"
depends="init"
unless="noget">
-
+
+ <setproxy
+ proxyhost="${maven.proxy.host}"
+ proxyport="${maven.proxy.port}"
+ proxyuser="${maven.proxy.username}"
+ proxypassword="${maven.proxy.password}"/>
+
<j:forEach var="dep" items="${pom.dependencies}">
<!-- note: this is a valid use of artifactDirectory -->
<get
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]