Menu

#54 [cobertura] Does not respect maven.cobertura.merge.outputDir

release
closed-duplicate
nobody
None
5
2005-08-01
2005-06-23
Jeff Jensen
No

Setting maven.cobertura.merge.outputDir has no effect -
the tool always writes cobertura.ser to ${basedir}.

In the meantime, this is a work-around:
Add this to the maven.xml file, and it will delete
the file with the clean goal:
<preGoal name="clean:clean">
<ant:delete file="${basedir}/cobertura.ser" />
</preGoal>

This is a problem as a built file is written to a
source dir, and must be deleted on each build.

Same as JCoverage problem (see
http://jira.codehaus.org/browse/MPJCOVERAGE-29\)

Discussion

  • Jamie Bisotti

    Jamie Bisotti - 2005-07-12

    Logged In: YES
    user_id=723823

    I don't really think this is a bug; it's more of an enhancement
    request. Looks like the same issue has been filed as an RFE, so
    I suggest we Answer/Close this one.

     
  • Carlos Sanchez

    Carlos Sanchez - 2005-08-01
    • status: open --> closed-duplicate
     
  • Carlos Sanchez

    Carlos Sanchez - 2005-08-01

    Logged In: YES
    user_id=792979

    Dupe of 1226313

     

Log in to post a comment.