Author: jvanzyl
Date: Mon Jan 15 13:10:57 2007
New Revision: 496493

URL: http://svn.apache.org/viewvc?view=rev&rev=496493
Log: (empty)

Modified:
    maven/components/trunk/maven-cli/src/bin/m2.conf
    maven/components/trunk/maven-cli/src/bin/mvn
    maven/components/trunk/maven-cli/src/bin/mvn.bat

Modified: maven/components/trunk/maven-cli/src/bin/m2.conf
URL: 
http://svn.apache.org/viewvc/maven/components/trunk/maven-cli/src/bin/m2.conf?view=diff&rev=496493&r1=496492&r2=496493
==============================================================================
--- maven/components/trunk/maven-cli/src/bin/m2.conf (original)
+++ maven/components/trunk/maven-cli/src/bin/m2.conf Mon Jan 15 13:10:57 2007
@@ -1,9 +1,7 @@
-main is org.apache.maven.cli.MavenCli from plexus.core.maven
+main is org.apache.maven.cli.MavenCli from plexus.core
 
 set maven.home default ${user.home}/m2
 
 [plexus.core]
 load ${maven.home}/core/*.jar
-
-[plexus.core.maven]
 load ${maven.home}/lib/*.jar

Modified: maven/components/trunk/maven-cli/src/bin/mvn
URL: 
http://svn.apache.org/viewvc/maven/components/trunk/maven-cli/src/bin/mvn?view=diff&rev=496493&r1=496492&r2=496493
==============================================================================
--- maven/components/trunk/maven-cli/src/bin/mvn (original)
+++ maven/components/trunk/maven-cli/src/bin/mvn Mon Jan 15 13:10:57 2007
@@ -1,21 +1,18 @@
 #!/bin/sh
 # ----------------------------------------------------------------------------
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#    http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
+#  Copyright 2001-2004 The Apache Software Foundation.
+#  
+#  Licensed under the Apache License, Version 2.0 (the "License");
+#  you may not use this file except in compliance with the License.
+#  You may obtain a copy of the License at
+#  
+#       http://www.apache.org/licenses/LICENSE-2.0
+#  
+#  Unless required by applicable law or agreed to in writing, software
+#  distributed under the License is distributed on an "AS IS" BASIS,
+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#  See the License for the specific language governing permissions and
+#  limitations under the License.
 # ----------------------------------------------------------------------------
 
 #   Copyright (c) 2001-2002 The Apache Software Foundation.  All rights
@@ -146,7 +143,7 @@
   echo "Warning: JAVA_HOME environment variable is not set."
 fi
 
-CLASSWORLDS_LAUNCHER=org.codehaus.classworlds.Launcher
+CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher
 
 # For Cygwin, switch paths to Windows format before running java
 if $cygwin; then
@@ -160,8 +157,9 @@
 
 exec "$JAVACMD" \
   $MAVEN_OPTS \
-  -classpath "${M2_HOME}"/core/boot/classworlds-*.jar \
+  -classpath "${M2_HOME}"/core/boot/plexus-classworlds-*.jar \
   "-Dclassworlds.conf=${M2_HOME}/bin/m2.conf" \
   "-Dmaven.home=${M2_HOME}"  \
   ${CLASSWORLDS_LAUNCHER} $QUOTED_ARGS
+
 

Modified: maven/components/trunk/maven-cli/src/bin/mvn.bat
URL: 
http://svn.apache.org/viewvc/maven/components/trunk/maven-cli/src/bin/mvn.bat?view=diff&rev=496493&r1=496492&r2=496493
==============================================================================
--- maven/components/trunk/maven-cli/src/bin/mvn.bat (original)
+++ maven/components/trunk/maven-cli/src/bin/mvn.bat Mon Jan 15 13:10:57 2007
@@ -1,21 +1,19 @@
 @REM 
----------------------------------------------------------------------------
[EMAIL PROTECTED] Licensed to the Apache Software Foundation (ASF) under one
[EMAIL PROTECTED] or more contributor license agreements.  See the NOTICE file
[EMAIL PROTECTED] distributed with this work for additional information
[EMAIL PROTECTED] regarding copyright ownership.  The ASF licenses this file
[EMAIL PROTECTED] to you under the Apache License, Version 2.0 (the
[EMAIL PROTECTED] "License"); you may not use this file except in compliance
[EMAIL PROTECTED] with the License.  You may obtain a copy of the License at
[EMAIL PROTECTED]
[EMAIL PROTECTED]    http://www.apache.org/licenses/LICENSE-2.0
[EMAIL PROTECTED]
[EMAIL PROTECTED] Unless required by applicable law or agreed to in writing,
[EMAIL PROTECTED] software distributed under the License is distributed on an
[EMAIL PROTECTED] "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
[EMAIL PROTECTED] KIND, either express or implied.  See the License for the
[EMAIL PROTECTED] specific language governing permissions and limitations
[EMAIL PROTECTED] under the License.
[EMAIL PROTECTED] Copyright 2001-2004 The Apache Software Foundation.
[EMAIL PROTECTED] 
[EMAIL PROTECTED] Licensed under the Apache License, Version 2.0 (the 
"License");
[EMAIL PROTECTED] you may not use this file except in compliance with the 
License.
[EMAIL PROTECTED] You may obtain a copy of the License at
[EMAIL PROTECTED] 
[EMAIL PROTECTED]      http://www.apache.org/licenses/LICENSE-2.0
[EMAIL PROTECTED] 
[EMAIL PROTECTED] Unless required by applicable law or agreed to in writing, 
software
[EMAIL PROTECTED] distributed under the License is distributed on an "AS IS" 
BASIS,
[EMAIL PROTECTED] WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express 
or implied.
[EMAIL PROTECTED] See the License for the specific language governing 
permissions and
[EMAIL PROTECTED] limitations under the License.
 @REM 
----------------------------------------------------------------------------
[EMAIL PROTECTED] 
 
 @REM 
----------------------------------------------------------------------------
 @REM Maven2 Start Up Batch script
@@ -124,8 +122,8 @@
 SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
 
 @REM Start MAVEN2
-for %%i in ("%M2_HOME%"\core\boot\classworlds-*) do set CLASSWORLDS_JAR="%%i"
-%MAVEN_JAVA_EXE% %MAVEN_OPTS% -classpath %CLASSWORLDS_JAR% 
"-Dclassworlds.conf=%M2_HOME%\bin\m2.conf" "-Dmaven.home=%M2_HOME%" 
org.codehaus.classworlds.Launcher %MAVEN_CMD_LINE_ARGS%
+for %%i in ("%M2_HOME%"\core\boot\plexus-classworlds-*) do set 
CLASSWORLDS_JAR="%%i"
+%MAVEN_JAVA_EXE% %MAVEN_OPTS% -classpath %CLASSWORLDS_JAR% 
"-Dclassworlds.conf=%M2_HOME%\bin\m2.conf" "-Dmaven.home=%M2_HOME%" 
org.codehaus.plexus.classworlds.launcher.Launcher %MAVEN_CMD_LINE_ARGS%
 if ERRORLEVEL 1 goto error
 goto end
 
@@ -154,4 +152,5 @@
 if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE%
 
 exit /B %ERROR_CODE%
+
 


Reply via email to