Community
Participate
Working Groups
Build Identifier: 1.0.0.201106052308 After installing m2e version 1.0.0, I am unable to run Maven clean with an empty local repository. Reproducible: Always Steps to Reproduce: 1. Install m2e 1.0.0 into Eclipse Helios (3.6.2) 2. Remove the contents of the $HOME/.m2/repository directory 3. Run Maven clean from Eclipse on a Maven project The complete output from the Eclipse console is included below. The workaround for this issue is to configure the m2e plugin to use an external Maven install instead of the embedded Maven install. [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building rtcbuildtest 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ Failed to instantiate SLF4J LoggerFactory Reported exception: java.lang.NoClassDefFoundError: org.slf4j.impl.StaticLoggerBinder at org.slf4j.LoggerFactory.bind(LoggerFactory.java:121) at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:111) at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:268) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254) at com.ning.http.client.Realm$RealmBuilder.<clinit>(Realm.java:250) at java.lang.J9VMInternals.initializeImpl(Native Method) at java.lang.J9VMInternals.initialize(J9VMInternals.java:200) at org.sonatype.aether.connector.async.AsyncRepositoryConnector.getRealm(AsyncRepositoryConnector.java:167) at org.sonatype.aether.connector.async.AsyncRepositoryConnector.createConfig(AsyncRepositoryConnector.java:227) at org.sonatype.aether.connector.async.AsyncRepositoryConnector.<init>(AsyncRepositoryConnector.java:149) at org.sonatype.aether.connector.async.AsyncRepositoryConnectorFactory.newInstance(AsyncRepositoryConnectorFactory.java:110) at org.sonatype.aether.impl.internal.DefaultRemoteRepositoryManager.getRepositoryConnector(DefaultRemoteRepositoryManager.java:333) at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:456) at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:220) at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:197) at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:268) at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:173) at org.sonatype.aether.impl.internal.DefaultRepositorySystem.readArtifactDescriptor(DefaultRepositorySystem.java:316) at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:108) at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getPluginDescriptor(DefaultMavenPluginManager.java:143) at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getMojoDescriptor(DefaultMavenPluginManager.java:261) at org.apache.maven.plugin.DefaultBuildPluginManager.getMojoDescriptor(DefaultBuildPluginManager.java:192) at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateLifecycleMappings(DefaultLifecycleExecutionPlanCalculator.java:281) at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateMojoExecutions(DefaultLifecycleExecutionPlanCalculator.java:194) at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:112) at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:129) at org.apache.maven.lifecycle.internal.BuilderCommon.resolveBuildPlan(BuilderCommon.java:92) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:534) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:600) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: java.lang.ClassNotFoundException: org.slf4j.impl.StaticLoggerBinder at java.lang.ClassNotFoundException.<init>(ClassNotFoundException.java:77) at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:38) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230) ... 45 more --------------------------------------------------- constituent[0]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/local-patches.jar constituent[1]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/jars/maven-embedder-3.0.2.jar constituent[2]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/jars/maven-settings-3.0.2.jar constituent[3]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/jars/maven-plugin-api-3.0.2.jar constituent[4]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/jars/maven-model-builder-3.0.2.jar constituent[5]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/jars/plexus-sec-dispatcher-1.3.jar constituent[6]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/jars/plexus-cipher-1.4.jar constituent[7]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/jars/maven-core-3.0.2.jar constituent[8]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/jars/maven-model-3.0.2.jar constituent[9]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/jars/maven-settings-builder-3.0.2.jar constituent[10]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/jars/maven-repository-metadata-3.0.2.jar constituent[11]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/jars/maven-artifact-3.0.2.jar constituent[12]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/jars/maven-aether-provider-3.0.2.jar constituent[13]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/jars/plexus-interpolation-1.14.jar constituent[14]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/jars/maven-compat-3.0.2.jar constituent[15]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/jars/commons-cli-1.2.jar constituent[16]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/jars/wagon-file-1.0-beta-7.jar constituent[17]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/jars/guice-plexus-shim-2.0.0.jar constituent[18]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/jars/plexus-component-annotations-1.5.5.jar constituent[19]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/jars/javax.inject-1.jar constituent[20]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/jars/guice-bean-reflect-2.0.0.jar constituent[21]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/jars/guice-bean-inject-2.0.0.jar constituent[22]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/jars/guice-bean-locators-2.0.0.jar constituent[23]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/jars/guice-bean-binders-2.0.0.jar constituent[24]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/jars/guice-bean-scanners-2.0.0.jar constituent[25]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/jars/guice-bean-converters-2.0.0.jar constituent[26]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/jars/guice-plexus-metadata-2.0.0.jar constituent[27]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/jars/guice-plexus-converters-2.0.0.jar constituent[28]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/jars/guice-plexus-locators-2.0.0.jar constituent[29]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/jars/guice-plexus-binders-2.0.0.jar constituent[30]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/jars/guice-plexus-scanners-2.0.0.jar constituent[31]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/jars/plexus-utils-2.0.6.jar constituent[32]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/jars/sisu-guice-2.9.4-no_aop.jar constituent[33]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/jars/aether-connector-wagon-1.11.jar constituent[34]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/jars/aether-api-1.11.jar constituent[35]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/jars/aether-spi-1.11.jar constituent[36]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/jars/aether-util-1.11.jar constituent[37]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/jars/wagon-provider-api-1.0-beta-6.jar constituent[38]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/jars/aether-impl-1.11.jar constituent[39]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/jars/aether-connector-asynchttpclient-1.11.jar constituent[40]: file:/home/kwedinge/eclipse/plugins/org.eclipse.m2e.maven.runtime_1.0.0.201106052308/jars/wagon-ahc-1.2.0.jar constituent[41]: file:/home/kwedinge/eclipse/configuration/org.eclipse.osgi/bundles/1652/1/.cp/async-http-client-1.6.3.jar constituent[42]: file:/home/kwedinge/eclipse/configuration/org.eclipse.osgi/bundles/1675/1/.cp/netty-3.2.4.Final.jar constituent[43]: file:/home/kwedinge/eclipse/configuration/org.eclipse.osgi/bundles/1676/1/.cp/ --------------------------------------------------- Exception in thread "main" java.lang.NoClassDefFoundError: org.slf4j.impl.StaticLoggerBinder at org.slf4j.LoggerFactory.bind(LoggerFactory.java:121) at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:111) at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:268) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254) at com.ning.http.client.Realm$RealmBuilder.<clinit>(Realm.java:250) at java.lang.J9VMInternals.initializeImpl(Native Method) at java.lang.J9VMInternals.initialize(J9VMInternals.java:200) at org.sonatype.aether.connector.async.AsyncRepositoryConnector.getRealm(AsyncRepositoryConnector.java:167) at org.sonatype.aether.connector.async.AsyncRepositoryConnector.createConfig(AsyncRepositoryConnector.java:227) at org.sonatype.aether.connector.async.AsyncRepositoryConnector.<init>(AsyncRepositoryConnector.java:149) at org.sonatype.aether.connector.async.AsyncRepositoryConnectorFactory.newInstance(AsyncRepositoryConnectorFactory.java:110) at org.sonatype.aether.impl.internal.DefaultRemoteRepositoryManager.getRepositoryConnector(DefaultRemoteRepositoryManager.java:333) at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:456) at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:220) at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:197) at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:268) at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:173) at org.sonatype.aether.impl.internal.DefaultRepositorySystem.readArtifactDescriptor(DefaultRepositorySystem.java:316) at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:108) at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getPluginDescriptor(DefaultMavenPluginManager.java:143) at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getMojoDescriptor(DefaultMavenPluginManager.java:261) at org.apache.maven.plugin.DefaultBuildPluginManager.getMojoDescriptor(DefaultBuildPluginManager.java:192) at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateLifecycleMappings(DefaultLifecycleExecutionPlanCalculator.java:281) at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateMojoExecutions(DefaultLifecycleExecutionPlanCalculator.java:194) at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:112) at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:129) at org.apache.maven.lifecycle.internal.BuilderCommon.resolveBuildPlan(BuilderCommon.java:92) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:534) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:600) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: java.lang.ClassNotFoundException: org.slf4j.impl.StaticLoggerBinder at java.lang.ClassNotFoundException.<init>(ClassNotFoundException.java:77) at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:38) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230) ... 45 more
I am using the following IBM JDK: java version "1.6.0" Java(TM) SE Runtime Environment (build pxa6460sr8fp1-20100624_01(SR8 FP1)) IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux amd64-64 jvmxa6460sr8ifx-20100609_59383 (JIT enabled, AOT enabled) J9VM - 20100609_059383 JIT - r9_20100401_15339ifx2 GC - 20100308_AA) JCL - 20100624_01 This may be a duplicate of 338252. The importance of 338252 should be elevated to critical because this bug is blocking the ability to use the IBM JDK with m2e 1.0.0.
*** This bug has been marked as a duplicate of bug 338252 ***
Moved to https://github.com/eclipse-m2e/m2e-core/issues/