Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Not A Bug
    • Affects Version/s: 1.8
    • Fix Version/s: None
    • Component/s: Maven Plugin
    • Labels:
      None
    • Environment:
      windows XP
    • Number of attachments :
      0

      Description

      Hi
      I installed maven in eclipse ganymede 3.4 and I try to build my projet whit the plugin maven for SONAR I chosee this goals, (actually I tried with all the posibilytes presents for sonar, but always is the same error)

      org.codehaus.sonar:sonar-maven-plugin:1.8:sonar

      I have these ERROR in the log, I have no idea what that's means, any idea??? how i can resolve that?
      thank you
      ----------
      [INFO] Scanning for projects...
      [INFO] ------------------------------------------------------------------------
      [INFO] Building Unnamed - GFIFT:WEFTG02R01:jar:1.0
      [INFO]
      [INFO] Id: GFIFT:WEFTG02R01:jar:1.0
      [INFO] task-segment: [org.codehaus.sonar:sonar-maven-plugin:1.8:sonar] (aggregator-style)
      [INFO] ------------------------------------------------------------------------
      [INFO] [sonar:sonar]
      [INFO] Sonar host: http://localhost:80/sonar
      [INFO] Sonar version: 1.9
      [INFO] [sonar-core:internal]
      [INFO] Sonar JDBC URL: jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8
      [INFO] Sonar JDBC login: sonar
      [INFO] Sonar JDBC driver: com.mysql.jdbc.Driver
      [INFO] Sonar branch:
      [INFO] Unnamed - GFIFT:WEFTG02R01:jar:1.0 Selected quality profile : Weft, language=java
      [INFO] Unnamed - GFIFT:WEFTG02R01:jar:1.0 Executing org.apache.maven.plugins:maven-checkstyle-plugin:[checkstyle]
      [ERROR] org.sonar.mojo.InternalMojo#execute() caused a linkage error (java.lang.NoSuchMethodError). Check the realms:

      NOTE:
      Plugin realm is: /plugins/org.codehaus.sonar.runtime:sonar-core-maven-plugin:20090618094800@48/thread:main
      Container realm is: plexus.core

      Realm ID: /plugins/org.codehaus.sonar.runtime:sonar-core-maven-plugin:20090618094800@48/thread:main
      urls[0] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/org/codehaus/sonar/runtime/sonar-core-maven-plugin/20090618094800/sonar-core-maven-plugin-20090618094800.jar
      urls[1] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/org/codehaus/sonar/sonar-commons/1.9/sonar-commons-1.9.jar
      urls[2] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar
      urls[3] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/xml-apis/xml-apis/1.3.03/xml-apis-1.3.03.jar
      urls[4] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/org/picocontainer/picocontainer/2.7/picocontainer-2.7.jar
      urls[5] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar
      urls[6] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar
      urls[7] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/ch/qos/logback/logback-classic/0.9.15/logback-classic-0.9.15.jar
      urls[8] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/ch/qos/logback/logback-core/0.9.15/logback-core-0.9.15.jar
      urls[9] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/geronimo-spec/geronimo-spec-jta/1.0-M1/geronimo-spec-jta-1.0-M1.jar
      urls[10] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/org/hibernate/hibernate/3.2.6.ga/hibernate-3.2.6.ga.jar
      urls[11] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.jar
      urls[12] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar
      urls[13] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/asm/asm-attrs/1.5.3/asm-attrs-1.5.3.jar
      urls[14] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar
      urls[15] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/antlr/antlr/2.7.6/antlr-2.7.6.jar
      urls[16] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/cglib/cglib/2.1_3/cglib-2.1_3.jar
      urls[17] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/asm/asm/1.5.3/asm-1.5.3.jar
      urls[18] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/org/hibernate/hibernate-annotations/3.3.1.GA/hibernate-annotations-3.3.1.GA.jar
      urls[19] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/org/hibernate/hibernate-commons-annotations/3.3.0.ga/hibernate-commons-annotations-3.3.0.ga.jar
      urls[20] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/org/hibernate/ejb3-persistence/1.0.1.GA/ejb3-persistence-1.0.1.GA.jar
      urls[21] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar
      urls[22] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/org/hibernate/hibernate-entitymanager/3.3.1.ga/hibernate-entitymanager-3.3.1.ga.jar
      urls[23] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/org/hibernate/hibernate-validator/3.0.0.ga/hibernate-validator-3.0.0.ga.jar
      urls[24] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/jboss/javassist/3.3.ga/javassist-3.3.ga.jar
      urls[25] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/jboss/jboss-common-core/2.0.4.GA/jboss-common-core-2.0.4.GA.jar
      urls[26] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/commons-configuration/commons-configuration/1.5/commons-configuration-1.5.jar
      urls[27] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar
      urls[28] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar
      urls[29] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar
      urls[30] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/commons-beanutils/commons-beanutils-core/1.7.0/commons-beanutils-core-1.7.0.jar
      urls[31] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar
      urls[32] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/commons-dbcp/commons-dbcp/1.2.2/commons-dbcp-1.2.2.jar
      urls[33] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/commons-pool/commons-pool/1.3/commons-pool-1.3.jar
      urls[34] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/org/codehaus/sonar/sonar-plugin-api/1.9/sonar-plugin-api-1.9.jar
      urls[35] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar
      urls[36] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/jfree/jfreechart/1.0.9/jfreechart-1.0.9.jar
      urls[37] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/jfree/jcommon/1.0.12/jcommon-1.0.12.jar
      urls[38] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/com/thoughtworks/xstream/xstream/1.3/xstream-1.3.jar
      urls[39] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/xpp3/xpp3/1.1.3.3/xpp3-1.1.3.3.jar
      urls[40] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/org/codehaus/woodstox/woodstox-core-lgpl/4.0.4/woodstox-core-lgpl-4.0.4.jar
      urls[41] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar
      urls[42] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/org/codehaus/woodstox/stax2-api/3.0.1/stax2-api-3.0.1.jar
      urls[43] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/org/codehaus/staxmate/staxmate/2.0.0/staxmate-2.0.0.jar
      urls[44] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/pmd/pmd/4.2.5/pmd-4.2.5.jar
      urls[45] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/ant/ant/1.6/ant-1.6.jar
      urls[46] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/jaxen/jaxen/1.1.1/jaxen-1.1.1.jar
      urls[47] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar
      urls[48] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/xom/xom/1.0/xom-1.0.jar
      urls[49] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/xerces/xmlParserAPIs/2.6.2/xmlParserAPIs-2.6.2.jar
      urls[50] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/xalan/xalan/2.6.0/xalan-2.6.0.jar
      urls[51] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/com/ibm/icu/icu4j/2.6.1/icu4j-2.6.1.jar
      urls[52] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/junit/junit/4.4/junit-4.4.jar
      urls[53] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/org/codehaus/sonar/sonar-squid/1.9/sonar-squid-1.9.jar
      urls[54] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/checkstyle/checkstyle/4.4/checkstyle-4.4.jar
      urls[55] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/org/jdom/jdom/1.1/jdom-1.1.jar
      urls[56] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/commons-math/commons-math/1.2/commons-math-1.2.jar
      urls[57] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/org/codehaus/sonar/runtime/jdbc-driver/parent/20090618094800/parent-20090618094800.pom
      urls[58] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/org/codehaus/sonar/runtime/jdbc-driver/mysql-connector-java-5.0.8/20090618094800/mysql-connector-java-5.0.8-20090618094800.jar
      urls[59] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/org/codehaus/sonar/runtime/plugins/parent/20090618094800/parent-20090618094800.pom
      urls[60] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-checkstyle-1.9/20090618094800/sonar-plugin-checkstyle-1.9-20090618094800.jar
      urls[61] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-clover-1.9/20090618094800/sonar-plugin-clover-1.9-20090618094800.jar
      urls[62] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-cobertura-1.9/20090618094800/sonar-plugin-cobertura-1.9-20090618094800.jar
      urls[63] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-core-1.9/20090618094800/sonar-plugin-core-1.9-20090618094800.jar
      urls[64] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-cpd-1.9/20090618094800/sonar-plugin-cpd-1.9-20090618094800.jar
      urls[65] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-findbugs-1.9/20090618094800/sonar-plugin-findbugs-1.9-20090618094800.jar
      urls[66] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-googleanalytics-1.9/20090618094800/sonar-plugin-googleanalytics-1.9-20090618094800.jar
      urls[67] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-pmd-1.9/20090618094800/sonar-plugin-pmd-1.9-20090618094800.jar
      urls[68] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-squid-1.9/20090618094800/sonar-plugin-squid-1.9-20090618094800.jar
      urls[69] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-surefire-1.9/20090618094800/sonar-plugin-surefire-1.9-20090618094800.jar
      urls[70] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/org/codehaus/sonar/runtime/rules-extensions/parent/20090618094800/parent-20090618094800.pom

      Realm ID: plexus.core
      urls[0] = file:/C:/Program%20Files/eclipse/configuration/org.eclipse.osgi/bundles/642/1/.cp/org.maven.ide.eclipse.cliresolver.jar
      urls[1] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/aspectjrt-1.5.3.jar
      urls[2] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/commons-cli-1.0.jar
      urls[3] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/doxia-sink-api-1.0-alpha-9.jar
      urls[4] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/jsch-0.1.27.jar
      urls[5] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/jtidy-4aug2000r7-dev.jar
      urls[6] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-artifact-3.0-SNAPSHOT.jar
      urls[7] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-core-2.1-SNAPSHOT.jar
      urls[8] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-embedder-2.1-SNAPSHOT.jar
      urls[9] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-lifecycle-2.1-SNAPSHOT.jar
      urls[10] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-model-2.1-SNAPSHOT.jar
      urls[11] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-plugin-api-2.1-SNAPSHOT.jar
      urls[12] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-profile-2.1-SNAPSHOT.jar
      urls[13] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-project-2.1-SNAPSHOT.jar
      urls[14] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-reporting-api-2.1-SNAPSHOT.jar
      urls[15] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-toolchain-2.1-SNAPSHOT.jar
      urls[16] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-workspace-2.1-SNAPSHOT.jar
      urls[17] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/plexus-container-default-1.0-alpha-44.jar
      urls[18] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/plexus-interactivity-api-1.0-alpha-6.jar
      urls[19] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/plexus-interpolation-1.0-SNAPSHOT.jar
      urls[20] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/plexus-utils-1.5.1.jar
      urls[21] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/wagon-file-1.0-beta-2.jar
      urls[22] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/wagon-http-lightweight-1.0-beta-2.jar
      urls[23] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/wagon-http-shared-1.0-beta-2.jar
      urls[24] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/wagon-provider-api-1.0-beta-2.jar
      urls[25] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/wagon-ssh-1.0-beta-2.jar
      urls[26] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/wagon-ssh-common-1.0-beta-2.jar
      urls[27] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/wagon-ssh-external-1.0-beta-2.jar

      java.lang.NoSuchMethodError: org.apache.maven.execution.ReactorManager.<init>(Ljava/util/List;)V
      at org.sonar.mojo.MojoExecutor.executeMojo(MojoExecutor.java:38)
      at org.sonar.mojo.MojoExecutor.executeMojo(MojoExecutor.java:33)
      at org.sonar.mojo.InternalMojo.executeMojo(InternalMojo.java:279)
      at org.sonar.mojo.InternalMojo.executeMojos(InternalMojo.java:261)
      at org.sonar.mojo.InternalMojo.processModules(InternalMojo.java:175)
      at org.sonar.mojo.InternalMojo.execute(InternalMojo.java:160)
      at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:579)
      at org.sonar.mojo.bootstrap.Bootstraper.executeMojo(Bootstraper.java:76)
      at org.sonar.mojo.bootstrap.Bootstraper.start(Bootstraper.java:62)
      at org.sonar.mojo.bootstrap.SonarMojo.execute(SonarMojo.java:112)
      at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:579)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:498)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentForProject(DefaultLifecycleExecutor.java:265)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:180)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
      at org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:223)
      at org.apache.maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
      at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:904)
      at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
      at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1)
      at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:176)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:63)
      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.launchEnhanced(Launcher.java:289)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408)
      at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351)
      at org.codehaus.classworlds.Launcher.main(Launcher.java:31)
      [ERROR] org.sonar.mojo.bootstrap.SonarMojo#execute() caused a linkage error (java.lang.NoSuchMethodError). Check the realms:

      NOTE:
      Plugin realm is: /plugins/org.codehaus.sonar:sonar-maven-plugin:1.8@48/thread:main
      Container realm is: plexus.core

      Realm ID: /plugins/org.codehaus.sonar:sonar-maven-plugin:1.8@48/thread:main
      urls[0] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/org/codehaus/sonar/sonar-maven-plugin/1.8/sonar-maven-plugin-1.8.jar
      urls[1] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar
      urls[2] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/xml-apis/xml-apis/1.3.03/xml-apis-1.3.03.jar
      urls[3] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar
      urls[4] = file:/C:/Documents%20and%20Settings/vyauri/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar

      Realm ID: plexus.core
      urls[0] = file:/C:/Program%20Files/eclipse/configuration/org.eclipse.osgi/bundles/642/1/.cp/org.maven.ide.eclipse.cliresolver.jar
      urls[1] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/aspectjrt-1.5.3.jar
      urls[2] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/commons-cli-1.0.jar
      urls[3] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/doxia-sink-api-1.0-alpha-9.jar
      urls[4] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/jsch-0.1.27.jar
      urls[5] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/jtidy-4aug2000r7-dev.jar
      urls[6] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-artifact-3.0-SNAPSHOT.jar
      urls[7] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-core-2.1-SNAPSHOT.jar
      urls[8] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-embedder-2.1-SNAPSHOT.jar
      urls[9] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-lifecycle-2.1-SNAPSHOT.jar
      urls[10] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-model-2.1-SNAPSHOT.jar
      urls[11] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-plugin-api-2.1-SNAPSHOT.jar
      urls[12] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-profile-2.1-SNAPSHOT.jar
      urls[13] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-project-2.1-SNAPSHOT.jar
      urls[14] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-reporting-api-2.1-SNAPSHOT.jar
      urls[15] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-toolchain-2.1-SNAPSHOT.jar
      urls[16] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-workspace-2.1-SNAPSHOT.jar
      urls[17] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/plexus-container-default-1.0-alpha-44.jar
      urls[18] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/plexus-interactivity-api-1.0-alpha-6.jar
      urls[19] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/plexus-interpolation-1.0-SNAPSHOT.jar
      urls[20] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/plexus-utils-1.5.1.jar
      urls[21] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/wagon-file-1.0-beta-2.jar
      urls[22] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/wagon-http-lightweight-1.0-beta-2.jar
      urls[23] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/wagon-http-shared-1.0-beta-2.jar
      urls[24] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/wagon-provider-api-1.0-beta-2.jar
      urls[25] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/wagon-ssh-1.0-beta-2.jar
      urls[26] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/wagon-ssh-common-1.0-beta-2.jar
      urls[27] = file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/wagon-ssh-external-1.0-beta-2.jar

      java.lang.NoSuchMethodError: org.apache.maven.execution.ReactorManager.<init>(Ljava/util/List;)V
      at org.sonar.mojo.MojoExecutor.executeMojo(MojoExecutor.java:38)
      at org.sonar.mojo.MojoExecutor.executeMojo(MojoExecutor.java:33)
      at org.sonar.mojo.InternalMojo.executeMojo(InternalMojo.java:279)
      at org.sonar.mojo.InternalMojo.executeMojos(InternalMojo.java:261)
      at org.sonar.mojo.InternalMojo.processModules(InternalMojo.java:175)
      at org.sonar.mojo.InternalMojo.execute(InternalMojo.java:160)
      at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:579)
      at org.sonar.mojo.bootstrap.Bootstraper.executeMojo(Bootstraper.java:76)
      at org.sonar.mojo.bootstrap.Bootstraper.start(Bootstraper.java:62)
      at org.sonar.mojo.bootstrap.SonarMojo.execute(SonarMojo.java:112)
      at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:579)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:498)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentForProject(DefaultLifecycleExecutor.java:265)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:180)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
      at org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:223)
      at org.apache.maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
      at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:904)
      at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
      at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1)
      at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:176)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:63)
      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.launchEnhanced(Launcher.java:289)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408)
      at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351)
      at org.codehaus.classworlds.Launcher.main(Launcher.java:31)
      ---------------------------------------------------
      constituent[0]: file:/C:/Program%20Files/eclipse/configuration/org.eclipse.osgi/bundles/642/1/.cp/org.maven.ide.eclipse.cliresolver.jar
      constituent[1]: file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/aspectjrt-1.5.3.jar
      constituent[2]: file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/commons-cli-1.0.jar
      constituent[3]: file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/doxia-sink-api-1.0-alpha-9.jar
      constituent[4]: file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/jsch-0.1.27.jar
      constituent[5]: file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/jtidy-4aug2000r7-dev.jar
      constituent[6]: file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-artifact-3.0-SNAPSHOT.jar
      constituent[7]: file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-core-2.1-SNAPSHOT.jar
      constituent[8]: file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-embedder-2.1-SNAPSHOT.jar
      constituent[9]: file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-lifecycle-2.1-SNAPSHOT.jar
      constituent[10]: file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-model-2.1-SNAPSHOT.jar
      constituent[11]: file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-plugin-api-2.1-SNAPSHOT.jar
      constituent[12]: file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-profile-2.1-SNAPSHOT.jar
      constituent[13]: file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-project-2.1-SNAPSHOT.jar
      constituent[14]: file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-reporting-api-2.1-SNAPSHOT.jar
      constituent[15]: file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-toolchain-2.1-SNAPSHOT.jar
      constituent[16]: file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/maven-workspace-2.1-SNAPSHOT.jar
      constituent[17]: file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/plexus-container-default-1.0-alpha-44.jar
      constituent[18]: file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/plexus-interactivity-api-1.0-alpha-6.jar
      constituent[19]: file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/plexus-interpolation-1.0-SNAPSHOT.jar
      constituent[20]: file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/plexus-utils-1.5.1.jar
      constituent[21]: file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/wagon-file-1.0-beta-2.jar
      constituent[22]: file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/wagon-http-lightweight-1.0-beta-2.jar
      constituent[23]: file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/wagon-http-shared-1.0-beta-2.jar
      constituent[24]: file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/wagon-provider-api-1.0-beta-2.jar
      constituent[25]: file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/wagon-ssh-1.0-beta-2.jar
      constituent[26]: file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/wagon-ssh-common-1.0-beta-2.jar
      constituent[27]: file:/C:/Program%20Files/eclipse/plugins/org.maven.ide.components.maven_embedder_2.1.0.20080530-2300/jars/wagon-ssh-external-1.0-beta-2.jar
      ---------------------------------------------------
      Exception in thread "main" java.lang.NoSuchMethodError: org.apache.maven.execution.ReactorManager.<init>(Ljava/util/List;)V
      at org.sonar.mojo.MojoExecutor.executeMojo(MojoExecutor.java:38)
      at org.sonar.mojo.MojoExecutor.executeMojo(MojoExecutor.java:33)
      at org.sonar.mojo.InternalMojo.executeMojo(InternalMojo.java:279)
      at org.sonar.mojo.InternalMojo.executeMojos(InternalMojo.java:261)
      at org.sonar.mojo.InternalMojo.processModules(InternalMojo.java:175)
      at org.sonar.mojo.InternalMojo.execute(InternalMojo.java:160)
      at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:579)
      at org.sonar.mojo.bootstrap.Bootstraper.executeMojo(Bootstraper.java:76)
      at org.sonar.mojo.bootstrap.Bootstraper.start(Bootstraper.java:62)
      at org.sonar.mojo.bootstrap.SonarMojo.execute(SonarMojo.java:112)
      at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:579)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:498)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentForProject(DefaultLifecycleExecutor.java:265)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:180)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
      at org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:223)
      at org.apache.maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
      at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:904)
      at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
      at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1)
      at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:176)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:63)
      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.launchEnhanced(Launcher.java:289)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408)
      at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351)
      at org.codehaus.classworlds.Launcher.main(Launcher.java:31)

        Activity

        Hide
        CÚdric Munger added a comment -

        Hi,

        Works nice on my box, make sure you're not using the eclipse plugin maven embedder (define a new maven runtime pointing to your local maven install), use the latest maven eclipse plugin and uncheck "resolve workspace artifacts" in the maven project launch window.

        Let us know if it works.

        Regards

        Show
        CÚdric Munger added a comment - Hi, Works nice on my box, make sure you're not using the eclipse plugin maven embedder (define a new maven runtime pointing to your local maven install), use the latest maven eclipse plugin and uncheck "resolve workspace artifacts" in the maven project launch window. Let us know if it works. Regards
        Hide
        Simon Brandhof added a comment -

        I think that the problem is a problem of versions. Server is 1.9 but your command line is for 1.8.

        Show
        Simon Brandhof added a comment - I think that the problem is a problem of versions. Server is 1.9 but your command line is for 1.8.
        Hide
        ninova added a comment -


        thank you the problem is fixed, I changed the Maven runtime "embebed" for my local maven

        Show
        ninova added a comment - thank you the problem is fixed, I changed the Maven runtime "embebed" for my local maven
        Hide
        NAFNAF added a comment -

        Hello,
        Please, someone can give me the contains of files to join maven and sonar together. I'm using netbeans and embebded maven but since last month, i try to join mavent and sonar without success. Thanks for all

        Show
        NAFNAF added a comment - Hello, Please, someone can give me the contains of files to join maven and sonar together. I'm using netbeans and embebded maven but since last month, i try to join mavent and sonar without success. Thanks for all
        Hide
        cforce added a comment -

        I don't want to switch off "Resolve workspace artifacts". thas is amajor feature of m2e i want keep using. I sthere a Bug Fix instead 0of thus ugly workwound?

        Show
        cforce added a comment - I don't want to switch off "Resolve workspace artifacts". thas is amajor feature of m2e i want keep using. I sthere a Bug Fix instead 0of thus ugly workwound?

          People

          • Assignee:
            Unassigned
            Reporter:
            ninova
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: