Uploaded image for project: 'Clover'
  1. Clover
  2. CLOV-1021

Support for Maven Groovy Eclipse compiler

    • Icon: Suggestion Suggestion
    • Resolution: Fixed
    • 3.1.3
    • Groovy
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      When the Clover Groovy plugin was developed, only the standard Maven Groovy compiler (GMaven) was targeted.

      The plugin wasn't tested against the Maven Groovy Eclipse compiler, so this compiler is incompatible at the moment.

      It would be great if the Clover Groovy plugin supported the Maven Groovy Eclipse compiler, because GMaven is becoming obsolete, and the Maven Groovy Eclipse compiler usage is becoming more popular.

        1. clover-3.1.1-SNAPSHOT.jar.zip
          9.96 MB
          Michael Studman
        2. clover-3.1.1-SNAPSHOT.pom
          1 kB
          Michael Studman
        3. maven-clover2-plugin-3.1.1-SNAPSHOT.jar
          79 kB
          Michael Studman
        4. maven-clover2-plugin-3.1.1-SNAPSHOT.pom
          14 kB
          Michael Studman

            [CLOV-1021] Support for Maven Groovy Eclipse compiler

            Please disregard the previous note by Joshua. He was not aware this is fixed and will be included in 3.1.3

            Michael Studman (Inactive) added a comment - Please disregard the previous note by Joshua. He was not aware this is fixed and will be included in 3.1.3

            None as yet. It's in our public snapshot repo as 3.1.3-SNAPSHOT so feel free to modify your pom and depend on that.

            https://maven.atlassian.com/public-snapshot

            Michael Studman (Inactive) added a comment - None as yet. It's in our public snapshot repo as 3.1.3-SNAPSHOT so feel free to modify your pom and depend on that. https://maven.atlassian.com/public-snapshot

            Is there any targeted release date for this fix? I would like to start having my builds use the Groovy Eclipse compiler but without this fix that is becoming a difficult task.

            Jonathan Wright added a comment - Is there any targeted release date for this fix? I would like to start having my builds use the Groovy Eclipse compiler but without this fix that is becoming a difficult task.

            Travis, it means your Clover license is out of its maintenance period which means you can't use new releases built after June 09 2011.

            The fix will allow coverage of groovy code through the Maven Eclipse Groovy plugin.

            Michael Studman (Inactive) added a comment - Travis, it means your Clover license is out of its maintenance period which means you can't use new releases built after June 09 2011. The fix will allow coverage of groovy code through the Maven Eclipse Groovy plugin.

            Looking forward to the release. I tried the attached versions but was not able to use them because of a license issue: "setup failed: Clover upgrades for your license ended June 09 2011, and this version of Clover was built October 02 2011"

            Anyway, will this fix allow coverage of groovy code or just allow groovy test classes to be used?

            Travis Hume added a comment - Looking forward to the release. I tried the attached versions but was not able to use them because of a license issue: "setup failed: Clover upgrades for your license ended June 09 2011, and this version of Clover was built October 02 2011" Anyway, will this fix allow coverage of groovy code or just allow groovy test classes to be used?

            DanL added a comment -

            Hi Michael,

            thank you for the snapshot files - I've tried them out on several Eclipse project I have with various amounts of Groovy tests. It works without a glitch and the coverage looks right from those tests.
            Looks like you nailed it!

            Dan.

            DanL added a comment - Hi Michael, thank you for the snapshot files - I've tried them out on several Eclipse project I have with various amounts of Groovy tests. It works without a glitch and the coverage looks right from those tests. Looks like you nailed it! Dan.

            Oh, BTW, I had to zip up the one of the jars because otherwise it exceeded the attachment size for jira.atlassian.com. You will need to unzip it before installing it.

            Michael.

            Michael Studman (Inactive) added a comment - Oh, BTW, I had to zip up the one of the jars because otherwise it exceeded the attachment size for jira.atlassian.com. You will need to unzip it before installing it. Michael.

            Hi Dan,

            I've uploaded snapshot artefact jars and poms for Clover and Clover-Maven2. These fix the problem for me when running your sample project (many thanks for supplying that, BTW).

            Would you mind installing them, changing your pom.xml to depend on these snapshots, giving it a go and letting us know?

            Michael.

            Michael Studman (Inactive) added a comment - Hi Dan, I've uploaded snapshot artefact jars and poms for Clover and Clover-Maven2. These fix the problem for me when running your sample project (many thanks for supplying that, BTW). Would you mind installing them, changing your pom.xml to depend on these snapshots, giving it a go and letting us know? Michael.

            I have been able to reproduce this bug and have a fair idea of why it is happening. Unfortunately it is not straight forward so will require some effort and planning. I expect to be able to start it by 12th Sep and will hopefully, if all goes well, be finished it that same week. I'll keep any voters notified with my progress.

            Michael Studman (Inactive) added a comment - - edited I have been able to reproduce this bug and have a fair idea of why it is happening. Unfortunately it is not straight forward so will require some effort and planning. I expect to be able to start it by 12th Sep and will hopefully, if all goes well, be finished it that same week. I'll keep any voters notified with my progress.

              mstudman Michael Studman (Inactive)
              fkraemer Felipe Kraemer
              Votes:
              5 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: