Hi
I followed the instructions in the README.txt and created M2_HOME
environment variable. and setting the PATH.
% export M2_HOME=/home/peterp/maven-2.0-SNAPSHOT
% export PATH=$PATH:$M2_HOME/bin
Running the ``bootstrap.sh'' causes failure
--------------------------------------------------------------------
Visual output for testParamWithOneProjectBasedExpression:
---------------------------------------------------------------------
One or more required plugin parameters are invalid/missing for 'test:test'
[0] inside the definition for plugin: 'maven-test-plugin'specify the
following:
<configuration>
...
<testName>VALUE</testName>
</configuration>
-OR-
<configuration>
...
<testAlias>VALUE</testAlias>
</configuration>
-OR-
on the command line, specify: '-Dproject.build.finalName=VALUE'
---------------------------------------------------------------------
Visual output for testParamWithOneProjectAPIBasedExpression:
---------------------------------------------------------------------
One or more required plugin parameters are invalid/missing for 'test:test'
[0] on the command line, specify:
'-Dproject.distributionManagementArtifactRepository=VALUE'
---------------------------------------------------------------------
Visual output for testNonEditableParamWithOneProjectBasedExpression:
---------------------------------------------------------------------
One or more required plugin parameters are invalid/missing for 'test:test'
[0] on the command line, specify: '-Dproject.build.finalName=VALUE'
[surefire] Running org.apache.maven.usability.PluginErrorDiagnoserTest
[surefire] Tests run: 10, Failures: 0, Errors: 1, Time elapsed: 0.003
sec <<<<<<<< FAILURE !!
Results :
[surefire] Tests run: 39, Failures: 0, Errors: 1
[INFO]
----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
----------------------------------------------------------------------------
[INFO] There are some test failure.
[INFO]
----------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: There are some
test failure.
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:544)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:469)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:448)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:301)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:137)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: There are
some test failure.
at
org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:247)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:519)
... 16 more
[INFO]
----------------------------------------------------------------------------
[INFO] Total time: 1 minute 24 seconds
[INFO] Finished at: Fri Nov 18 19:05:44 GMT 2005
[INFO] Final Memory: 14M/34M
[INFO]
----------------------------------------------------------------------------
Exception in thread "main" java.lang.Exception: Error executing Maven:
exit code = 1
at
org.apache.maven.bootstrap.installer.BootstrapInstaller.runMaven(BootstrapInstaller.java:224)
at
org.apache.maven.bootstrap.installer.BootstrapInstaller.run(BootstrapInstaller.java:130)
at
org.apache.maven.bootstrap.installer.BootstrapInstaller.main(BootstrapInstaller.java:93)
--
Peter Pilgrim
__ _____ _____ _____
/ //__ // ___// ___/ + Serverside Java
/ /___/ // /__ / /__ + Struts
/ // ___// ___// ___/ + Expresso Committer
__/ // /__ / /__ / /__ + Independent Contractor
/___//____//____//____/ + Intrinsic Motivation
On Line Resume
||
\\===> `` http://www.xenonsoft.demon.co.uk/no-it-striker.html ''
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]