SonarQube Plugins
  1. SonarQube Plugins
  2. SONARPLUGINS-410

Clirr plugin isn't compatible with Sonar 2.

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: CLIRR-0.2
    • Fix Version/s: CLIRR-0.2
    • Component/s: Clirr
    • Labels:
      None
    • Number of attachments :
      2

      Description

      Using Clirr plugin with Sonar 2 fails with :

      [INFO]    task-segment: [org.codehaus.mojo:clirr-maven-plugin:2.2.2:clirr]
      [INFO] ------------------------------------------------------------------------
      [INFO] Preparing clirr:clirr
      [INFO] [enforcer:enforce {execution: enforce-java-version}]
      [INFO] [enforcer:enforce {execution: enforce-maven-version}]
      [INFO] [resources:resources {execution: default-resources}]
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] Copying 0 resource
      [INFO] [compiler:compile {execution: default-compile}]
      [INFO] Nothing to compile - all classes are up to date
      [INFO] [antrun:run {execution: compile}]
      [INFO] Executing tasks
      [INFO] Executed tasks
      [INFO] [clirr:clirr {execution: default-cli}]
      [INFO] Comparing to version: 1.3
      [INFO]  Execute maven plugin clirr-maven-plugin done: 1407 ms
      [INFO]  Sensor org.sonar.plugins.clirr.ClirrSensor@381cf4...
      [FATAL ERROR] org.sonar.maven2.BatchMojo#execute() caused a linkage error (java.lang.IncompatibleClassChangeError) and may be out-of-date. Check the realms:
      [FATAL ERROR] Plugin realm = app0.child-container[org.codehaus.sonar.runtime:sonar-core-maven-plugin:20100311093859]
      urls[0] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/sonar/runtime/sonar-core-maven-plugin/20100311093859/sonar-core-maven-plugin-20100311093859.jar
      urls[1] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/apache/maven/shared/maven-dependency-tree/1.2/maven-dependency-tree-1.2.jar
      urls[2] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
      urls[3] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/junit/junit/4.4/junit-4.4.jar
      urls[4] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/sonar/sonar-squid/2.0.1/sonar-squid-2.0.1.jar
      urls[5] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/sonar/sonar-graph/2.0.1/sonar-graph-2.0.1.jar
      urls[6] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar
      urls[7] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/com/google/collections/google-collections/1.0/google-collections-1.0.jar
      urls[8] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/checkstyle/checkstyle/4.4/checkstyle-4.4.jar
      urls[9] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/antlr/antlr/2.7.6/antlr-2.7.6.jar
      urls[10] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/commons-beanutils/commons-beanutils-core/1.7.0/commons-beanutils-core-1.7.0.jar
      urls[11] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar
      urls[12] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/asm/asm-all/3.2/asm-all-3.2.jar
      urls[13] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/commons-io/commons-io/1.4/commons-io-1.4.jar
      urls[14] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar
      urls[15] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/picocontainer/picocontainer/2.9/picocontainer-2.9.jar
      urls[16] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/sonar/sonar-plugin-api/2.0.1/sonar-plugin-api-2.0.1.jar
      urls[17] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/sonar/sonar-colorizer/2.0.1/sonar-colorizer-2.0.1.jar
      urls[18] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/hibernate/hibernate-core/3.3.2.GA/hibernate-core-3.3.2.GA.jar
      urls[19] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar
      urls[20] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/xml-apis/xml-apis/1.3.03/xml-apis-1.3.03.jar
      urls[21] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/hibernate/hibernate-annotations/3.4.0.GA/hibernate-annotations-3.4.0.GA.jar
      urls[22] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/hibernate/ejb3-persistence/1.0.2.GA/ejb3-persistence-1.0.2.GA.jar
      urls[23] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/hibernate/hibernate-commons-annotations/3.1.0.GA/hibernate-commons-annotations-3.1.0.GA.jar
      urls[24] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/hibernate/hibernate-entitymanager/3.4.0.GA/hibernate-entitymanager-3.4.0.GA.jar
      urls[25] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/javassist/javassist/3.4.GA/javassist-3.4.GA.jar
      urls[26] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/geronimo-spec/geronimo-spec-jta/1.0-M1/geronimo-spec-jta-1.0-M1.jar
      urls[27] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/commons-dbcp/commons-dbcp/1.2.2/commons-dbcp-1.2.2.jar
      urls[28] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/commons-pool/commons-pool/1.3/commons-pool-1.3.jar
      urls[29] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/apache/maven/shared/maven-common-artifact-filters/1.2/maven-common-artifact-filters-1.2.jar
      urls[30] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/apache/maven/shared/maven-plugin-testing-harness/1.1/maven-plugin-testing-harness-1.1.jar
      urls[31] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar
      urls[32] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/commons-configuration/commons-configuration/1.6/commons-configuration-1.6.jar
      urls[33] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar
      urls[34] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar
      urls[35] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/commons-codec/commons-codec/1.4/commons-codec-1.4.jar
      urls[36] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/hibernate/hibernate-ehcache/3.3.2.GA/hibernate-ehcache-3.3.2.GA.jar
      urls[37] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.jar
      urls[38] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/jfree/jfreechart/1.0.9/jfreechart-1.0.9.jar
      urls[39] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/jfree/jcommon/1.0.12/jcommon-1.0.12.jar
      urls[40] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar
      urls[41] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/com/thoughtworks/xstream/xstream/1.3.1/xstream-1.3.1.jar
      urls[42] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/xpp3/xpp3/1.1.3.3/xpp3-1.1.3.3.jar
      urls[43] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/woodstox/woodstox-core-lgpl/4.0.4/woodstox-core-lgpl-4.0.4.jar
      urls[44] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar
      urls[45] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/woodstox/stax2-api/3.0.1/stax2-api-3.0.1.jar
      urls[46] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/staxmate/staxmate/2.0.0/staxmate-2.0.0.jar
      urls[47] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar
      urls[48] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/xalan/xalan/2.7.1/xalan-2.7.1.jar
      urls[49] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/xalan/serializer/2.7.1/serializer-2.7.1.jar
      urls[50] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/pmd/pmd/4.2.5/pmd-4.2.5.jar
      urls[51] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/sonar/sonar-batch/2.0.1/sonar-batch-2.0.1.jar
      urls[52] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/ch/qos/logback/logback-classic/0.9.15/logback-classic-0.9.15.jar
      urls[53] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/ch/qos/logback/logback-core/0.9.15/logback-core-0.9.15.jar
      urls[54] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/sonar/runtime/plugins/parent/20100311093859/parent-20100311093859.pom
      urls[55] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/sonar/runtime/plugins/sonar-timeline-plugin-0.1/20100311093859/sonar-timeline-plugin-0.1-20100311093859.jar
      urls[56] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/sonar/runtime/plugins/sonar-clirr-plugin-0.1-SNAPSHOT/20100311093859/sonar-clirr-plugin-0.1-SNAPSHOT-20100311093859.jar
      urls[57] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/sonar/runtime/plugins/sonar-views-plugin-1.3/20100311093859/sonar-views-plugin-1.3-20100311093859.jar
      urls[58] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/sonar/runtime/plugins/sonar-ldap-plugin-0.1/20100311093859/sonar-ldap-plugin-0.1-20100311093859.jar
      urls[59] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/sonar/runtime/plugins/sonar-artifact-size-plugin-0.1/20100311093859/sonar-artifact-size-plugin-0.1-20100311093859.jar
      urls[60] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/sonar/runtime/plugins/sonar-rulesmeter-plugin-0.1/20100311093859/sonar-rulesmeter-plugin-0.1-20100311093859.jar
      urls[61] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/sonar/runtime/plugins/sonar-technicaldebt-plugin-1.0-SNAPSHOT/20100311093859/sonar-technicaldebt-plugin-1.0-SNAPSHOT-20100311093859.jar
      urls[62] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/sonar/runtime/plugins/sonar-jira-plugin-0.1/20100311093859/sonar-jira-plugin-0.1-20100311093859.jar
      urls[63] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/sonar/runtime/plugins/sonar-radiator-plugin-1.0/20100311093859/sonar-radiator-plugin-1.0-20100311093859.jar
      urls[64] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/sonar/runtime/plugins/sonar-scm-activity-plugin-0.3-SNAPSHOT-shaded/20100311093859/sonar-scm-activity-plugin-0.3-SNAPSHOT-shaded-20100311093859.jar
      urls[65] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/sonar/runtime/plugins/sonar-motion-chart-plugin-1.0/20100311093859/sonar-motion-chart-plugin-1.0-20100311093859.jar
      urls[66] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/sonar/runtime/plugins/sonar-build-stability-plugin-1.0.1/20100311093859/sonar-build-stability-plugin-1.0.1-20100311093859.jar
      urls[67] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/sonar/runtime/plugins/sonar-sigmm-plugin-0.3/20100311093859/sonar-sigmm-plugin-0.3-20100311093859.jar
      urls[68] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/sonar/runtime/plugins/sonar-quality-index-plugin-1.1/20100311093859/sonar-quality-index-plugin-1.1-20100311093859.jar
      urls[69] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-core-2.0.1/20100311093859/sonar-plugin-core-2.0.1-20100311093859.jar
      urls[70] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-squid-2.0.1/20100311093859/sonar-plugin-squid-2.0.1-20100311093859.jar
      urls[71] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-pmd-2.0.1/20100311093859/sonar-plugin-pmd-2.0.1-20100311093859.jar
      urls[72] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-clover-2.0.1/20100311093859/sonar-plugin-clover-2.0.1-20100311093859.jar
      urls[73] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-cobertura-2.0.1/20100311093859/sonar-plugin-cobertura-2.0.1-20100311093859.jar
      urls[74] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-surefire-2.0.1/20100311093859/sonar-plugin-surefire-2.0.1-20100311093859.jar
      urls[75] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-findbugs-2.0.1/20100311093859/sonar-plugin-findbugs-2.0.1-20100311093859.jar
      urls[76] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-checkstyle-2.0.1/20100311093859/sonar-plugin-checkstyle-2.0.1-20100311093859.jar
      urls[77] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-googleanalytics-2.0.1/20100311093859/sonar-plugin-googleanalytics-2.0.1-20100311093859.jar
      urls[78] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-design-2.0.1/20100311093859/sonar-plugin-design-2.0.1-20100311093859.jar
      urls[79] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-cpd-2.0.1/20100311093859/sonar-plugin-cpd-2.0.1-20100311093859.jar
      urls[80] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/sonar/runtime/jdbc-driver/parent/20100311093859/parent-20100311093859.pom
      urls[81] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/sonar/runtime/jdbc-driver/mysql-connector-java-5.1.6/20100311093859/mysql-connector-java-5.1.6-20100311093859.jar
      urls[82] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/sonar/runtime/rules-extensions/parent/20100311093859/parent-20100311093859.pom
      [FATAL ERROR] Container realm = plexus.core
      urls[0] = file:/mnt/home/hudson/hudson/tools/maven-2.2.x/lib/maven-2.2.1-uber.jar
      [FATAL ERROR] org.codehaus.mojo.sonar.SonarMojo#execute() caused a linkage error (java.lang.IncompatibleClassChangeError) and may be out-of-date. Check the realms:
      [FATAL ERROR] Plugin realm = app0.child-container[org.codehaus.mojo:sonar-maven-plugin:1.0-beta-1]
      urls[0] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/mojo/sonar-maven-plugin/1.0-beta-1/sonar-maven-plugin-1.0-beta-1.jar
      urls[1] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/commons-io/commons-io/1.3/commons-io-1.3.jar
      urls[2] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar
      urls[3] = file:/mnt/home/hudson/hudson/jobs/cs-1.3.x-sonar/workspace/.repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
      [FATAL ERROR] Container realm = plexus.core
      urls[0] = file:/mnt/home/hudson/hudson/tools/maven-2.2.x/lib/maven-2.2.1-uber.jar
      [INFO] ------------------------------------------------------------------------
      [ERROR] FATAL ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] null
      [INFO] ------------------------------------------------------------------------
      [INFO] Trace
      java.lang.IncompatibleClassChangeError
      	at org.sonar.plugins.clirr.ClirrSensor.saveViolations(ClirrSensor.java:81)
      	at org.sonar.plugins.clirr.ClirrSensor.analyse(ClirrSensor.java:62)
      	at org.sonar.batch.SensorsExecutor.execute(SensorsExecutor.java:58)
      	at org.sonar.batch.ProjectBatch.execute(ProjectBatch.java:54)
      	at org.sonar.batch.AggregatorBatch.analyzeProject(AggregatorBatch.java:98)
      	at org.sonar.batch.AggregatorBatch.analyzeProject(AggregatorBatch.java:95)
      	at org.sonar.batch.AggregatorBatch.analyzeProjects(AggregatorBatch.java:90)
      	at org.sonar.batch.AggregatorBatch.execute(AggregatorBatch.java:74)
      	at org.sonar.maven2.BatchMojo.executeBatch(BatchMojo.java:140)
      	at org.sonar.maven2.BatchMojo.execute(BatchMojo.java:122)
      	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
      	at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:82)
      	at org.codehaus.mojo.sonar.Bootstraper.start(Bootstraper.java:65)
      	at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:117)
      	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:284)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
      	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
      	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
      	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
      	at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.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)
      

      Upgrading the sonar version in the plugin's pom, it doesn't build because of an incompatible API
      I attach the fix for sonar 2. I'm not sure it will work with 1.X

      1. sonar-clirr-plugin-compat-sonar2.patch
        1 kB
        Arnaud Heritier

        Activity

        Hide
        Mike R. Haller added a comment -

        Fixed version, built on Sonar 2.0.1

        Show
        Mike R. Haller added a comment - Fixed version, built on Sonar 2.0.1
        Hide
        Evgeny Mandrikov added a comment -

        Why not release this version?

        Show
        Evgeny Mandrikov added a comment - Why not release this version?
        Hide
        Simon Brandhof added a comment -

        The problem is that CLIRR generates violations on the project itself (for example when API files are deleted). Such project violations can't be displayed yet.
        This limitation will be fixed in sonar 2.2.

        Currently the workaround is to implement a page dedicated to CLIRR violations.

        Show
        Simon Brandhof added a comment - The problem is that CLIRR generates violations on the project itself (for example when API files are deleted). Such project violations can't be displayed yet. This limitation will be fixed in sonar 2.2. Currently the workaround is to implement a page dedicated to CLIRR violations.
        Hide
        Evgeny Mandrikov added a comment -

        So maybe we can implement this page and release first version?
        Mike, if needed I can help with it.

        Show
        Evgeny Mandrikov added a comment - So maybe we can implement this page and release first version? Mike, if needed I can help with it.
        Hide
        Olivier Gaudin added a comment -

        What is the status on this ? Can we proceed with the release ?

        Show
        Olivier Gaudin added a comment - What is the status on this ? Can we proceed with the release ?
        Hide
        Evgeny Mandrikov added a comment -

        If I correctly understand what Simon said - no, but I think that we can make required changes and proceed.

        Show
        Evgeny Mandrikov added a comment - If I correctly understand what Simon said - no, but I think that we can make required changes and proceed.
        Hide
        Mike R. Haller added a comment -

        For a 0.2 version release, it would be sufficient to have the CLIRR violations on the dashboard?
        Is it really necessary / desired to have a separate page for it? If so, let me know and I'll try to build one with the help of Evgeny

        Show
        Mike R. Haller added a comment - For a 0.2 version release, it would be sufficient to have the CLIRR violations on the dashboard? Is it really necessary / desired to have a separate page for it? If so, let me know and I'll try to build one with the help of Evgeny
        Hide
        Simon Brandhof added a comment -

        I commited a first draft of a page that displays all the messages (screenshot. I have still some minor improvements to do (like suppressing zero-value measures in drilldown) and we could release the version 0.2.
        Feel free to build it from trunk and test it.

        Show
        Simon Brandhof added a comment - I commited a first draft of a page that displays all the messages ( screenshot . I have still some minor improvements to do (like suppressing zero-value measures in drilldown) and we could release the version 0.2. Feel free to build it from trunk and test it.

          People

          • Assignee:
            Mike R. Haller
            Reporter:
            Arnaud Heritier
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: