brett 2005/04/03 17:12:56
Modified: maven-mboot2/src/main/java MBoot.java
Log:
update to releases
Revision Changes Path
1.80 +24 -28 maven-components/maven-mboot2/src/main/java/MBoot.java
Index: MBoot.java
===================================================================
RCS file: /home/cvs/maven-components/maven-mboot2/src/main/java/MBoot.java,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -r1.79 -r1.80
--- MBoot.java 1 Apr 2005 16:03:42 -0000 1.79
+++ MBoot.java 4 Apr 2005 00:12:56 -0000 1.80
@@ -40,13 +40,14 @@
// These are the bootstrap processes' dependencies
// ----------------------------------------------------------------------
- String[] bootstrapDeps = new String[]{"junit/jars/junit-3.8.1.jar",
"modello/jars/modello-core-1.0-SNAPSHOT.jar",
-
"modello/jars/modello-xdoc-plugin-1.0-SNAPSHOT.jar",
-
"modello/jars/modello-xml-plugin-1.0-SNAPSHOT.jar",
-
"modello/jars/modello-xpp3-plugin-1.0-SNAPSHOT.jar",
+ String[] bootstrapDeps = new String[]{"junit/jars/junit-3.8.1.jar",
+
"org.codehaus.modello/jars/modello-core-1.0-alpha-1.jar",
+
"org.codehaus.modello/jars/modello-xdoc-plugin-1.0-alpha-1.jar",
+
"org.codehaus.modello/jars/modello-xml-plugin-1.0-alpha-1.jar",
+
"org.codehaus.modello/jars/modello-xpp3-plugin-1.0-alpha-1.jar",
"plexus/jars/plexus-utils-1.0-alpha-2.jar",
-
"surefire/jars/surefire-booter-1.2-SNAPSHOT.jar",
-
"surefire/jars/surefire-1.2-SNAPSHOT.jar", "qdox/jars/qdox-1.2.jar"};
+
"surefire/jars/surefire-booter-1.2.jar", "surefire/jars/surefire-1.2.jar",
+ "qdox/jars/qdox-1.2.jar"};
// ----------------------------------------------------------------------
// These are plexus' runtime dependencies
@@ -64,17 +65,6 @@
"org.apache.maven/jars/maven-plugin-tools-java-2.0-SNAPSHOT.jar",
"org.apache.maven/jars/maven-plugin-tools-pluggy-2.0-SNAPSHOT.jar"};
- // ----------------------------------------------------------------------
- // These are modello's runtime dependencies
- // ----------------------------------------------------------------------
-
- String[] modelloDeps = new
String[]{"classworlds/jars/classworlds-1.1-alpha-1.jar",
-
"plexus/jars/plexus-container-default-1.0-alpha-2.jar",
-
"modello/jars/modello-core-1.0-SNAPSHOT.jar",
-
"modello/jars/modello-xdoc-plugin-1.0-SNAPSHOT.jar",
-
"modello/jars/modello-xml-plugin-1.0-SNAPSHOT.jar",
-
"modello/jars/modello-xpp3-plugin-1.0-SNAPSHOT.jar"};
-
String[] builds = new String[]{"maven-model", "maven-settings",
"maven-monitor", "maven-plugin", "maven-artifact",
"maven-script/maven-script-marmalade",
"maven-core", "maven-archiver",
"maven-plugin-tools/maven-plugin-tools-api",
@@ -87,6 +77,13 @@
"maven-plugins/maven-jar-plugin",
"maven-plugins/maven-plugin-plugin",
"maven-plugins/maven-resources-plugin", "maven-plugins/maven-surefire-plugin"};
+ String[] modelloDeps = new
String[]{"classworlds/jars/classworlds-1.1-alpha-1.jar",
+
"plexus/jars/plexus-container-default-1.0-alpha-2.jar",
+
"org.codehaus.modello/jars/modello-core-1.0-alpha-1.jar",
+
"org.codehaus.modello/jars/modello-xdoc-plugin-1.0-alpha-1.jar",
+
"org.codehaus.modello/jars/modello-xml-plugin-1.0-alpha-1.jar",
+
"org.codehaus.modello/jars/modello-xpp3-plugin-1.0-alpha-1.jar"};
+
private static final Map MODELLO_TARGET_VERSIONS;
private static final Map MODELLO_MODEL_FILES;
@@ -96,14 +93,12 @@
Map targetVersions = new TreeMap();
targetVersions.put( "maven-model", "4.0.0" );
targetVersions.put( "maven-settings", "1.0.0" );
- targetVersions.put( "maven-plugins/maven-assemble-plugin", "1.0.0" );
MODELLO_TARGET_VERSIONS = Collections.unmodifiableMap(
targetVersions );
Map modelFiles = new TreeMap();
modelFiles.put( "maven-model", "maven.mdo" );
modelFiles.put( "maven-settings", "settings.mdo" );
- modelFiles.put( "maven-plugins/maven-assemble-plugin",
"src/main/mdo/descriptor.mdo" );
MODELLO_MODEL_FILES = Collections.unmodifiableMap( modelFiles );
}
@@ -684,9 +679,10 @@
File f = new File( repoLocal, dependency );
if ( !f.exists() )
{
- throw new FileNotFoundException( "Missing dependency: " +
dependency + ( !online
-
? "; run again online"
-
: "; there was a problem downloading it earlier" ) );
+ throw new FileNotFoundException( "Missing dependency: " +
dependency +
+ ( !online
+ ? "; run again online"
+ : "; there was a problem
downloading it earlier" ) );
}
cl.addURL( f.toURL() );
@@ -703,9 +699,10 @@
File f = new File( repoLocal, dependency );
if ( !f.exists() )
{
- throw new FileNotFoundException( "Missing dependency: " +
dependency + ( !online
-
? "; run again online"
-
: "; there was a problem downloading it earlier" ) );
+ throw new FileNotFoundException( "Missing dependency: " +
dependency +
+ ( !online
+ ? "; run again online"
+ : "; there was a problem
downloading it earlier" ) );
}
cl.addURL( f.toURL() );
@@ -737,9 +734,8 @@
File f = new File( repoLocal, dependency );
if ( !f.exists() )
{
- throw new FileNotFoundException( "Missing dependency: " +
dependency + ( !online
-
? "; run again online"
-
: "; there was a problem downloading it earlier" ) );
+ String msg = ( !online ? "; run again online" : "; there was
a problem downloading it earlier" );
+ throw new FileNotFoundException( "Missing dependency: " +
dependency + msg );
}
modelloClassLoader.addURL( f.toURL() );