On 2010-12-16 22:15, Andre M wrote: > I just upgraded to Maven3 from Maven2 today, and when I run "mvn.bat > -version", this is what I see:
Try ".\mvn.bat" just to be sure that it is not an issue with your path. > > Apache Maven 2.2.1 (r801777; 2009-08-06 13:16:01-0600) > > Java version: 1.6.0_23 > > Java home: C:\Java\jdk6 > > Default locale: en_US, platform encoding: Cp1252 > > OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows" > > > > I don't think it's my path, because I am in the bin directory of the maven 3 > installation, and I have completed deleted my maven 2 directory. > > > > In addition, when I try to use the new maven installation to do a "mvn clean > compile", I get the following error: > > > > FATAL ERROR: Unable to read settings.xml > > For more information, run with the -e flag > > > > Running a "mvn -e clean compile" gets me the following output: > > > > + Error stacktraces are turned on. > > FATAL ERROR: Unable to read settings.xml > > Error stacktrace: > > > org.codehaus.plexus.component.repository.exception.ComponentLookupException: > Component descriptor cannot be found in the component repository: > org.apache.maven.settings.MavenSe > > ttingsBuilder. > > at > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:323) > > at org.codehaus.plexus.embed.Embedder.lookup(Embedder.java:78) > > at > org.apache.maven.cli.MavenCli.buildSettings(MavenCli.java:402) > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:202) > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:100) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown > Source) > > at java.lang.reflect.Method.invoke(Unknown Source) > > at > org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329) > > at > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239) > > at > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) > > at > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) > > > > Why does my maven3 installation claim that it's version 2.2.1? And what can > I do to address the problem with reading settings.xml? > > > - André > -- Dennis Lundberg --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org