You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Waldo Ford <wf...@paradigmsolutions.com> on 2006/02/01 23:52:39 UTC

Maven Build Error from SRC

To Whom it may concern:
 
M2_ HOME is set to E:\JUtils\maven-2.0.1-frmSrc and I'm getting the
following error
 
//----------------------------------------------------------------------
------------------------------------------------------------------------
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: Wed Feb 01 17:45:57 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
 
----- Standard Error -----
Exit code: 1
 
>>>>>> Error Stacktrace:
org.apache.maven.it.VerificationException
        at org.apache.maven.it.Verifier.executeGoals(Verifier.java:676)
        at org.apache.maven.it.Verifier.main(Verifier.java:856)
<<<<<< Error Stacktrace
Log file contents:
The system cannot find the path specified.
.
.
.etc
 
The system cannot find the path specified.
0/89 passed
Failed tests: [it0089, it0088, it0087, it0086, it0085, it0084, it0083,
it0082, it0081, it0080, it0079, it0078, it0077, it0076, it0
075, it0074, it0073, it0072, it0071, it0070, it0069, it0068, it0067,
it0066, it0065, it0064, it0063, it0062, it0061, it0060, it005
9, it0058, it0057, it0056, it0055, it0054, it0053, it0052, it0051,
it0050, it0049, it0048, it0047, it0046, it0045, it0044, it0043,
 it0042, it0041, it0040, it0039, it0038, it0037, it0036, it0035, it0034,
it0033, it0032, it0031, it0030, it0029, it0028, it0027, i
t0026, it0025, it0024, it0023, it0022, it0021, it0020, it0019, it0018,
it0017, it0016, it0014, it0013, it0012, it0011, it0010, it0
009, it0008, it0007, it0006, it0005, it0004, it0003, it0002, it0001,
it0000]
E:\JUtils\maven2.0.1_src\components>

Re: Maven Build Error from SRC

Posted by Carlos Sanchez <ca...@apache.org>.
Why don't you try with the last version 2.0.2

On 2/1/06, Waldo Ford <wf...@paradigmsolutions.com> wrote:
> To Whom it may concern:
>
> M2_ HOME is set to E:\JUtils\maven-2.0.1-frmSrc and I'm getting the
> following error
>
> //----------------------------------------------------------------------
> ------------------------------------------------------------------------
> 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: Wed Feb 01 17:45:57 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
>
> ----- Standard Error -----
> Exit code: 1
>
> >>>>>> Error Stacktrace:
> org.apache.maven.it.VerificationException
>         at org.apache.maven.it.Verifier.executeGoals(Verifier.java:676)
>         at org.apache.maven.it.Verifier.main(Verifier.java:856)
> <<<<<< Error Stacktrace
> Log file contents:
> The system cannot find the path specified.
> .
> .
> .etc
>
> The system cannot find the path specified.
> 0/89 passed
> Failed tests: [it0089, it0088, it0087, it0086, it0085, it0084, it0083,
> it0082, it0081, it0080, it0079, it0078, it0077, it0076, it0
> 075, it0074, it0073, it0072, it0071, it0070, it0069, it0068, it0067,
> it0066, it0065, it0064, it0063, it0062, it0061, it0060, it005
> 9, it0058, it0057, it0056, it0055, it0054, it0053, it0052, it0051,
> it0050, it0049, it0048, it0047, it0046, it0045, it0044, it0043,
>  it0042, it0041, it0040, it0039, it0038, it0037, it0036, it0035, it0034,
> it0033, it0032, it0031, it0030, it0029, it0028, it0027, i
> t0026, it0025, it0024, it0023, it0022, it0021, it0020, it0019, it0018,
> it0017, it0016, it0014, it0013, it0012, it0011, it0010, it0
> 009, it0008, it0007, it0006, it0005, it0004, it0003, it0002, it0001,
> it0000]
> E:\JUtils\maven2.0.1_src\components>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org