Hi,
We need to go through a proxy to get to the outside world here. With the
latest round of Maven updates, support for the proxy.port attribute stopped
working.
It seems that the verify-project target has a proxyPort attribute but the
ProjectVerifier task doesn't support it.
The following patch adds support for the proxyPort attribute to the
ProjectVerifier task. This fixes our proxy problems.
Index: src/java/org/apache/maven/ProjectVerifier.java
===================================================================
RCS file:
/home/cvspublic/jakarta-turbine-maven/src/java/org/apache/maven/ProjectVerif
ier.java,v
retrieving revision 1.1
diff -u -b -r1.1 ProjectVerifier.java
--- src/java/org/apache/maven/ProjectVerifier.java 22 Apr 2002 20:21:57
-0000 1.1
+++ src/java/org/apache/maven/ProjectVerifier.java 1 May 2002 23:03:25
-0000
@@ -148,6 +148,15 @@
}
/**
+ * Sets the proxyPort attribute.
+ */
+ public void setProxyPort(String proxyPort)
+ {
+ System.getProperties().put("proxySet", "true");
+ System.getProperties().put("proxyPort", proxyPort);
+ }
+
+ /**
* Sets the mavenLocalRepo attribute of the Get object
*/
public void setMavenLocalRepo(String mavenLocalRepo)
> --
> Dan Everton
> Engineering Infrastructure Coordinator
> Central Engineering, Boeing Australia Limited
> Phone: +61 07 3306 3288 -- Email: [EMAIL PROTECTED]
>