Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.2
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Cobertura 1.8 doesn't allow to set the location of cobertura.ser properly. It's always created in the project root and we can't explicitly force it to be in /target.
      Implemented a workaround so that file is moved to target by the mojo.

        Activity

        Hide
        Brian Egge added a comment -

        Same here. Using version 2.0 worked for me.

        Show
        Brian Egge added a comment - Same here. Using version 2.0 worked for me.
        Hide
        Michael Buckley added a comment -

        Has anyone looked at cobertura 1.9 yet? Does this fix this issue? I'm still using the 2.0 plugin to avoid this.

        Show
        Michael Buckley added a comment - Has anyone looked at cobertura 1.9 yet? Does this fix this issue? I'm still using the 2.0 plugin to avoid this.
        Hide
        Simone Gianni added a comment -

        Same problem here. Linux, mvn 2.0.6. Setting plugin version to 2.0 solves.

        Show
        Simone Gianni added a comment - Same problem here. Linux, mvn 2.0.6. Setting plugin version to 2.0 solves.
        Hide
        Dennis Lundberg added a comment -

        Michael: Please try the latest 2.2-SNAPSHOT of this plugin. It uses Cobertura 1.9.

        Show
        Dennis Lundberg added a comment - Michael: Please try the latest 2.2-SNAPSHOT of this plugin. It uses Cobertura 1.9.
        Hide
        Arnaud Heritier added a comment -

        Fixed with cobertura 1.9
        By default the cobertura.ser file is now in :
        $

        {project.build.directory}

        /cobertura/cobertura.ser

        It can be changed in the plugin config with :

        <plugin>
        <artifactId>cobertura-maven-plugin</artifactId>
        <configuration>
        <dataFile>$

        {basedir}

        /target/test-harness/check/cobertura.ser</dataFile>
        </configuration>
        </plugin>

        Show
        Arnaud Heritier added a comment - Fixed with cobertura 1.9 By default the cobertura.ser file is now in : $ {project.build.directory} /cobertura/cobertura.ser It can be changed in the plugin config with : <plugin> <artifactId>cobertura-maven-plugin</artifactId> <configuration> <dataFile>$ {basedir} /target/test-harness/check/cobertura.ser</dataFile> </configuration> </plugin>

          People

          • Assignee:
            Joakim Erdfelt
            Reporter:
            fabrizio giustina
          • Votes:
            27 Vote for this issue
            Watchers:
            23 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: