You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/07/19 20:20:43 UTC

[jira] Closed: (MPANT-9) ant plug-in does not support proxy environments

Message:

   The following issue has been closed.

   Resolver: Arnaud HERITIER
       Date: Mon, 19 Jul 2004 2:18 PM

fixed. Thanks.
---------------------------------------------------------------------
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: Closed
   Priority: Trivial
 Resolution: FIXED

 Original Estimate: 5 minutes
 Time Spent: Unknown
  Remaining: 5 minutes

    Project: maven-ant-plugin
   Fix Fors:
             1.8

   Assignee: 
   Reporter: Jan Nielsen

    Created: Mon, 2 Feb 2004 6:28 PM
    Updated: Mon, 19 Jul 2004 2:18 PM
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org