Tanks, The bootstrap really continues and everything seems to be ok. It was just a bit confusing :).
Jan -----Original Message----- From: John Casey [mailto:[EMAIL PROTECTED] Sent: Friday, November 11, 2005 5:35 PM To: Maven Users List Subject: Re: Problem with M2 build -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 One such failure is normal (yeah, I know it's strange)...but the bootstrap should continue, and the plugin-plugin will be rebuilt along with the rest of maven-plugins in the next step. Do you find that this is not happening? - -j Janecek Jan wrote: | Hi, | | I'm affraid that there's a problem with m2 build. I checked out m2 | from repository, executed m2-bootstrap-all.bat and it failed with the | following error: | | org.apache.maven.lifecycle.LifecycleExecutionException: Internal error | in the plugin manager executi ng goal | 'org.apache.maven.plugins:maven-plugin-plugin:2.0.1-SNAPSHOT:updateReg | is | try': Unable to find | the mojo | 'org.apache.maven.plugins:maven-plugin-plugin:2.0.1-SNAPSHOT:updateReg | is | try' in the plugin | 'org.apache.maven.plugins:maven-plugin-plugin' | at | org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defau | lt | LifecycleExecutor | .java:523) | at | org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLif | ec | ycle(DefaultLifec | ycleExecutor.java:469) | at | org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defaul | tL | ifecycleExecutor. | java:448) | at | org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHand | le | Failures(DefaultL | ifecycleExecutor.java:301) | at | org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegment | s( | DefaultLifecycleE | xecutor.java:268) | at | org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLif | ec | ycleExecutor.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.j | av | a:39) | at | sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess | or | Impl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | 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.PluginManagerException: Unable to | find the mojo 'org.apache.maven | .plugins:maven-plugin-plugin:2.0.1-SNAPSHOT:updateRegistry' in the | plugin 'org.apache.maven.plugins: | maven-plugin-plugin' | at | org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Default | Pl | uginManager.java: | 533) | at | org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugin | Ma | nager.java:390) | at | org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defau | lt | LifecycleExecutor | .java:519) | ... 16 more | Caused by: | org.codehaus.plexus.component.repository.exception.ComponentLookupExce | pt | ion: Unable to lo | okup component | 'org.apache.maven.plugin.Mojoorg.apache.maven.plugins:maven-plugin-plu | gi | n:2.0.1-SNAPS | HOT:updateRegistry', it could not be created | at | org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContain | er | .java:331) | at | org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContain | er | .java:436) | at | org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Default | Pl | uginManager.java: | 524) | ... 18 more | Caused by: | org.codehaus.plexus.component.factory.ComponentInstantiationException: | Could not instanci | ate component: role: 'null', implementation: | 'org.apache.maven.plugin.plugin.UpdatePluginRegistryMoj | o' | at | org.codehaus.plexus.component.factory.java.JavaComponentFactory.makeEx | ce | ption(JavaCompone | ntFactory.java:77) | at | org.codehaus.plexus.component.factory.java.JavaComponentFactory.newIns | ta | nce(JavaComponent | Factory.java:54) | at | org.codehaus.plexus.DefaultPlexusContainer.createComponentInstance(Def | au | ltPlexusContainer | .java:1454) | at | org.codehaus.plexus.component.manager.AbstractComponentManager.createC | om | ponentInstance(Ab | stractComponentManager.java:93) | at | org.codehaus.plexus.component.manager.PerLookupComponentManager.getCom | po | nent(PerLookupCom | ponentManager.java:48) | at | org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContain | er | .java:327) | ... 20 more | Caused by: java.lang.ClassNotFoundException: | org.apache.maven.plugin.plugin.UpdatePluginRegistryMojo | | at java.net.URLClassLoader$1.run(URLClassLoader.java:200) | at java.security.AccessController.doPrivileged(Native Method) | at java.net.URLClassLoader.findClass(URLClassLoader.java:188) | at java.lang.ClassLoader.loadClass(ClassLoader.java:306) | at | org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLo | ad | er.java:195) | at | org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm | .j | ava:255) | at | org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm | .j | ava:274) | at | org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm | .j | ava:274) | at | org.codehaus.plexus.component.factory.java.JavaComponentFactory.newIns | ta | nce(JavaComponent | Factory.java:30) | ... 24 more | | | maven-plugin-plugin is built in the repository (that was initially | empty) and UpdatePluginRegistryMojo class is packed in it. It seems to | me that this plugin is not on the classpath. | | Does anyone know how to fix it? | | Regards, | Jan | -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFDdMgZK3h2CZwO/4URAglbAKCADFtCptTR7xzJRATNCqHmxJ7ONwCfW5QR gmkG6ac2YLzSB7CObItxJ/U= =TjbD -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
