org.apache.maven.InternalErrorException: Internal error: java.lang.IllegalStateException: Duplicate plugin realm for plugin org.codehaus.groovy:groovy-eclipse-compiler:2.9.0-01

JFrog JIRA | Henning Malzahn | 2 years ago
  1. 0

    Hi folks! Currently we're constantly seeing a lot of the following exceptions when trying to use the Bamboo Artifactory Plug-In in a project that utilizes the groovy-eclipse-compiler in version 2.9.0-01. {code} [ERROR] Internal error: java.lang.IllegalStateException: Duplicate plugin realm for plugin org.codehaus.groovy:groovy-eclipse-compiler:2.9.0-01 -> [Help 1] org.apache.maven.InternalErrorException: Internal error: java.lang.IllegalStateException: Duplicate plugin realm for plugin org.codehaus.groovy:groovy-eclipse-compiler:2.9.0-01 at org.apache.maven.lifecycle.internal.BuilderCommon.handleBuildError(BuilderCommon.java:128) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:95) 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:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) 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:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) 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.IllegalStateException: Duplicate plugin realm for plugin org.codehaus.groovy:groovy-eclipse-compiler:2.9.0-01 at org.apache.maven.plugin.DefaultPluginRealmCache.put(DefaultPluginRealmCache.java:170) at org.apache.maven.plugin.internal.DefaultMavenPluginManager.setupPluginRealm(DefaultMavenPluginManager.java:323) at org.apache.maven.plugin.DefaultBuildPluginManager.getPluginRealm(DefaultBuildPluginManager.java:175) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:78) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) {code} We made sure that the POM does not contain a duplicate definition of the groovy-eclipse-compiler plug-in.

    JFrog JIRA | 2 years ago | Henning Malzahn
    org.apache.maven.InternalErrorException: Internal error: java.lang.IllegalStateException: Duplicate plugin realm for plugin org.codehaus.groovy:groovy-eclipse-compiler:2.9.0-01
  2. 0

    Hi folks! Currently we're constantly seeing a lot of the following exceptions when trying to use the Bamboo Artifactory Plug-In in a project that utilizes the groovy-eclipse-compiler in version 2.9.0-01. {code} [ERROR] Internal error: java.lang.IllegalStateException: Duplicate plugin realm for plugin org.codehaus.groovy:groovy-eclipse-compiler:2.9.0-01 -> [Help 1] org.apache.maven.InternalErrorException: Internal error: java.lang.IllegalStateException: Duplicate plugin realm for plugin org.codehaus.groovy:groovy-eclipse-compiler:2.9.0-01 at org.apache.maven.lifecycle.internal.BuilderCommon.handleBuildError(BuilderCommon.java:128) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:95) 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:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) 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:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) 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.IllegalStateException: Duplicate plugin realm for plugin org.codehaus.groovy:groovy-eclipse-compiler:2.9.0-01 at org.apache.maven.plugin.DefaultPluginRealmCache.put(DefaultPluginRealmCache.java:170) at org.apache.maven.plugin.internal.DefaultMavenPluginManager.setupPluginRealm(DefaultMavenPluginManager.java:323) at org.apache.maven.plugin.DefaultBuildPluginManager.getPluginRealm(DefaultBuildPluginManager.java:175) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:78) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) {code} We made sure that the POM does not contain a duplicate definition of the groovy-eclipse-compiler plug-in.

    JFrog JIRA | 2 years ago | Henning Malzahn
    org.apache.maven.InternalErrorException: Internal error: java.lang.IllegalStateException: Duplicate plugin realm for plugin org.codehaus.groovy:groovy-eclipse-compiler:2.9.0-01
  3. 0

    Maven Duplicate plugin realm for plugin

    Stack Overflow | 3 years ago | Tuno
    org.apache.maven.InternalErrorException: Internal error: java.lang.IllegalStateException: Duplicate plugin realm for plugin eviware:maven-soapui-plugin:4.5.1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Possibly related to BAP-248 Bamboo version 5.12.2 Artifactory Plugin Version 1.11.1 Maven compiler plugin 2.4 Groovy compiler plugin 2.7.0-01 failure message in bamboo: {code} 25-Jul-2016 15:50:51 [ERROR] Internal error: java.lang.IllegalStateException: Duplicate plugin realm for plugin org.apache.maven.plugins:maven-compiler-plugin:2.4 -> [Help 1] 25-Jul-2016 15:50:51 org.apache.maven.InternalErrorException: Internal error: java.lang.IllegalStateException: Duplicate plugin realm for plugin org.apache.maven.plugins:maven-compiler-plugin:2.4 25-Jul-2016 15:50:51 at org.apache.maven.lifecycle.internal.builder.BuilderCommon.handleBuildError(BuilderCommon.java:147) 25-Jul-2016 15:50:51 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:129) 25-Jul-2016 15:50:51 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) 25-Jul-2016 15:50:51 at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) 25-Jul-2016 15:50:51 at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120) 25-Jul-2016 15:50:51 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355) 25-Jul-2016 15:50:51 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155) 25-Jul-2016 15:50:51 at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584) 25-Jul-2016 15:50:51 at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216) 25-Jul-2016 15:50:51 at org.apache.maven.cli.MavenCli.main(MavenCli.java:160) 25-Jul-2016 15:50:51 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 25-Jul-2016 15:50:51 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 25-Jul-2016 15:50:51 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 25-Jul-2016 15:50:51 at java.lang.reflect.Method.invoke(Method.java:597) 25-Jul-2016 15:50:51 at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) 25-Jul-2016 15:50:51 at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) 25-Jul-2016 15:50:51 at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) 25-Jul-2016 15:50:51 at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) 25-Jul-2016 15:50:51 Caused by: java.lang.IllegalStateException: Duplicate plugin realm for plugin org.apache.maven.plugins:maven-compiler-plugin:2.4 25-Jul-2016 15:50:51 at org.apache.maven.plugin.DefaultPluginRealmCache.put(DefaultPluginRealmCache.java:172) 25-Jul-2016 15:50:51 at org.apache.maven.plugin.internal.DefaultMavenPluginManager.setupPluginRealm(DefaultMavenPluginManager.java:331) 25-Jul-2016 15:50:51 at org.apache.maven.plugin.DefaultBuildPluginManager.getPluginRealm(DefaultBuildPluginManager.java:229) 25-Jul-2016 15:50:51 at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:100) 25-Jul-2016 15:50:51 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) 25-Jul-2016 15:50:51 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) 25-Jul-2016 15:50:51 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) 25-Jul-2016 15:50:51 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) 25-Jul-2016 15:50:51 ... 16 more 25-Jul-2016 15:50:51 [ERROR] 25-Jul-2016 15:50:51 [ERROR] 25-Jul-2016 15:50:51 [ERROR] For more information about the errors and possible solutions, please read the following articles: 25-Jul-2016 15:50:51 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException {code} relevant POM configuration: {code} <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.4</version> <configuration> <source>${java.version}</source> <target>${target.jre.version}</target> <compilerId>groovy-eclipse-compiler</compilerId> <!-- <verbose>true</verbose> --> </configuration> <dependencies> <dependency> <groupId>org.codehaus.groovy</groupId> <artifactId>groovy-eclipse-compiler</artifactId> <version>2.7.0-01</version> </dependency> <dependency> <groupId>org.codehaus.groovy</groupId> <artifactId>groovy-eclipse-batch</artifactId> <version>2.0.6-01</version> </dependency> </dependencies> </plugin> {code}

    JFrog JIRA | 4 months ago | Chad Larkin
    org.apache.maven.InternalErrorException: Internal error: java.lang.IllegalStateException: Duplicate plugin realm for plugin org.apache.maven.plugins:maven-compiler-plugin:2.4
  6. 0

    Q fails to compile project

    Google Groups | 9 years ago | bhpps
    java.lang.IllegalStateException: The PluginDescriptor for the plugin org.apache.maven.plugins:maven-compiler-plugin was not found

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Duplicate plugin realm for plugin org.codehaus.groovy:groovy-eclipse-compiler:2.9.0-01

      at org.apache.maven.plugin.DefaultPluginRealmCache.put()
    2. Maven Plugin
      DefaultPluginRealmCache.put
      1. org.apache.maven.plugin.DefaultPluginRealmCache.put(DefaultPluginRealmCache.java:170)
      1 frame
    3. Maven Core
      DefaultMavenPluginManager.setupPluginRealm
      1. org.apache.maven.plugin.internal.DefaultMavenPluginManager.setupPluginRealm(DefaultMavenPluginManager.java:323)
      1 frame
    4. Maven Plugin
      DefaultBuildPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultBuildPluginManager.getPluginRealm(DefaultBuildPluginManager.java:175)
      2. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:78)
      2 frames
    5. Maven Core
      LifecycleModuleBuilder.buildProject
      1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
      2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
      4 frames