To whom it may concern:
 
I've down loaded the maven source from
https://svn.apache.org/repos/asf/maven/trunks.
 
M2_HOME=E:\JUtils\maven-2.0.1-SNAPSHOT and
E:\JUtils\maven-2.0.1-SNAPSHOT\bin is part of my path.
 
I needed the Maven plug-in development using Ant functionality. Over the
weekend I compiled 
from source with no problem on a different machine. I was able to build
Ant plug-ins.
Any help would be appreciated.
 
wford
 
I'm getting this error when I run bootstrap.bat. 
 
 
Building project in
E:\JUtils\maven2.0.1_src\components\maven-script\maven-script-beanshell
------------------------------------------------------------------
Cleaning
E:\JUtils\maven2.0.1_src\components\maven-script\maven-script-beanshell\
target...
Compiling sources ...
Compiling 1 source file to
E:\JUtils\maven2.0.1_src\components\maven-script\maven-script-beanshell\
target\classes
Packaging resources ...
Packaging
E:\JUtils\maven2.0.1_src\components\maven-script\maven-script-beanshell\
target\maven-script-beanshell.jar ...
------------------------------------------------------------------
Running Maven...
E:\JUtils\maven2.0.1_src\components\bootstrap\target\installation\bin\mv
n -e --batch-mode clean install
 
ERROR: M2_HOME is set to an invalid directory.
M2_HOME =
E:\JUtils\MAVEN2~1.1_S\COMPON~1\BOOTST~1\target\INSTAL~1\bin\mvn.bat\..
Please set the M2_HOME variable in your environment to match the
location of the Maven installation
 
Running Maven...
E:\JUtils\maven2.0.1_src\components\bootstrap\target\installation\bin\mv
n -e --batch-mode clean assembly:assembly
 
ERROR: M2_HOME is set to an invalid directory.
M2_HOME =
E:\JUtils\MAVEN2~1.1_S\COMPON~1\BOOTST~1\target\INSTAL~1\bin\mvn.bat\..
Please set the M2_HOME variable in your environment to match the
location of the Maven installation
 
Installing Maven in E:\JUtils\maven-2.0.1-SNAPSHOT\..\maven-2.1-SNAPSHOT
Exception in thread "main" java.lang.Exception: Maven was not installed
in E:\JUtils\maven-2.0.1-SNAPSHOT\..\maven-2.1-SNAPSHOT
        at
org.apache.maven.bootstrap.installer.BootstrapInstaller.run(BootstrapIns
taller.java:151)
        at
org.apache.maven.bootstrap.installer.BootstrapInstaller.main(BootstrapIn
staller.java:93)
Using settings from C:\Documents and Settings\wford\.m2\settings.xml
Using the following for your local repository: C:/Documents and
Settings/wford/.m2/repository
Using the following for your remote repository:
[http://repo1.maven.org/maven2,
http://snapshots.maven.codehaus.org/maven2/]
Analysing dependencies ...
 
 
Building project in
E:\JUtils\maven2.0.1_src\components\maven-core-it-verifier
------------------------------------------------------------------
Cleaning
E:\JUtils\maven2.0.1_src\components\maven-core-it-verifier\target...
Compiling sources ...
Compiling 11 source files to
E:\JUtils\maven2.0.1_src\components\maven-core-it-verifier\target\classe
s
Packaging resources ...
Packaging
E:\JUtils\maven2.0.1_src\components\maven-core-it-verifier\target\maven-
core-it-verifier.jar ...
------------------------------------------------------------------
Total time: 1 seconds
Finished at: Mon Jan 23 16:39:07 EST 2006
ECHO is off.
-----------------------------------------------------------------------
Running integration tests
-----------------------------------------------------------------------
Using default local repository: C:\Documents and
Settings\wford\.m2\repository
it0089... FAILED
----- Standard Out -----
Removing file: C:\Documents and
Settings\wford\.m2\repository/org/apache/maven/plugins/maven-core-it-plu
gin/1.0-SNAPSHOT/maven-cor
e-it-plugin-1.0-SNAPSHOT.jar
Command: E:\JUtils\maven-2.0.1-SNAPSHOT\bin\mvn -e --no-plugin-registry
--batch-mode "-Dmaven.repo.local=C:\Documents and Settings
\wford\.m2\repository" clean:clean install
 

Reply via email to