I just downloaded the latest copy of Maven 2.0 from SVN
(http://svn.apache.org/repos/asf/maven/components/trunk). I am
building on Windows XP.
I encountered the following problems during the build.
1) m2-bootstrap-all.bat
------------------------
:chkMHome
if not "%M2_HOME%"=="" goto init
echo.
echo ERROR: M2_HOME not found in your environment.
echo Please set the M2_HOME variable in your environment to match the
echo location of the Maven installation
echo.
goto end
@REM ==== END VALIDATION ====
:init
@REM Decide how to startup depending on the version of windows
---------------------
Since my M2_HOME is set, the script ends. The 'if not' should just read 'if'
2) Everything builds correctly, but I see these stack traces generated
by some of the integration tests.
------------------
java.lang.NoSuchMethodError: org.apache.maven.model.PatternSet.getDefaultExclude
s()Ljava/util/List;
at org.apache.maven.plugin.resources.ResourcesMojo.getJarResources(Resou
rcesMojo.java:134)
at org.apache.maven.plugin.resources.ResourcesMojo.copyResources(Resourc
esMojo.java:73)
at org.apache.maven.plugin.resources.ResourcesMojo.execute(ResourcesMojo
.java:65)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:439)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.processGoals(Defa
ultLifecycleExecutor.java:210)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:93)
at org.apache.maven.DefaultMaven.processProject(DefaultMaven.java:256)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:175)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:262)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:303)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:243)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416)
at org.codehaus.classworlds.Launcher.main(Launcher.java:363)
Exception in thread "main"
it0004...
------------
Regards,
Shane
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]