Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.9
-
Labels:None
-
Environment:WinNT, JVM 1.3, Ant 1.5 & Ant 1.6
-
Number of attachments :
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">
+
{maven.proxy.host}
+ <setproxy
+ proxyhost="$"
{maven.proxy.port}
+ proxyport="$"
{maven.proxy.username}
+ proxyuser="$"
{maven.proxy.password}
+ proxypassword="$"/>
{pom.dependencies}
+
<j:forEach var="dep" items="$">
<!-- note: this is a valid use of artifactDirectory -->
<get
fixed. Thanks.