glennm 2002/07/25 11:48:16
Modified: src/java/org/apache/maven/app Maven.java
Log:
Glenn McAllister - 2002/07/25
- since maven.repo.remote is defined in driver.properties, we don't need to
progrmatically add it in Maven.java (thx to Jason for pointing that out).
Revision Changes Path
1.81 +0 -14 jakarta-turbine-maven/src/java/org/apache/maven/app/Maven.java
Index: Maven.java
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/app/Maven.java,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -r1.80 -r1.81
--- Maven.java 25 Jul 2002 17:54:10 -0000 1.80
+++ Maven.java 25 Jul 2002 18:48:15 -0000 1.81
@@ -135,10 +135,6 @@
/** The current Maven version id */
public static final String APP_VERSION = "1.0-b5-dev";
- /** The default remote repository. */
- public static final String DEFAULT_MAVEN_REMOTE_REPO =
- "http://jakarta.apache.org/turbine/jars2/";
-
// ------------------------------------------------------------
// Class members
// ------------------------------------------------------------
@@ -531,8 +527,6 @@
System.getProperty( eachName ) );
}
- String propsFileName = null;
-
File propsFile = null;
propsFile = new File( getDir(),
@@ -549,14 +543,6 @@
"build.properties" );
loadProperties( propsFile );
-
-
- // The remote repository is a pretty important property. If it hasn't
- // been set yet, default to the Jakarta repo.
- if (getProperty("maven.repo.remote") == null)
- {
- setProperty("maven.repo.remote", DEFAULT_MAVEN_REMOTE_REPO);
- }
}
/** Produce a string representation, suitable for debugging.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>