dion 02/05/02 23:58:37
Modified: src/java/org/apache/maven ProjectVerifier.java
Log:
Patch from Dan Everton <[EMAIL PROTECTED]> that places the Proxy
Port back into the project verifier, as used by maven:verify-project when downloading
jar files for the build
Revision Changes Path
1.3 +10 -1
jakarta-turbine-maven/src/java/org/apache/maven/ProjectVerifier.java
Index: ProjectVerifier.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/ProjectVerifier.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ProjectVerifier.java 3 May 2002 06:03:26 -0000 1.2
+++ ProjectVerifier.java 3 May 2002 06:58:37 -0000 1.3
@@ -81,7 +81,7 @@
* and make sure they are all here before trying to compile.
*
* @author <a href="[EMAIL PROTECTED]">Jason van Zyl</a>
- * @version $Id: ProjectVerifier.java,v 1.2 2002/05/03 06:03:26 dion Exp $
+ * @version $Id: ProjectVerifier.java,v 1.3 2002/05/03 06:58:37 dion Exp $
* @task Create a list of all things that could go wrong and then protect
* against them.
* @task Merge the XML POM validation mechanism in here.
@@ -148,6 +148,15 @@
{
System.getProperties().put("proxySet", "true");
System.getProperties().put("proxyHost", proxyHost);
+ }
+
+ /**
+ * Sets the proxyPort attribute.
+ */
+ public void setProxyPort(String proxyPort)
+ {
+ System.getProperties().put("proxySet", "true");
+ System.getProperties().put("proxyPort", proxyPort);
}
/**