Clover plugin produces garbled reports for source code with UTF-8


When the source code contains a line such as:

* @author Petter Måhlén

The corresponding file in the coverage report from running mvn clover2:clover is:

* @author Petter Måhlén

This is in spite of having configured the clover2 plugin like so:


The default.encoding is of course set to UTF-8 and is the setting that is used

for all other plugins.

Any idea if that is a bug (seem not to be allowed to view any bugs, or they've all been moved),

or if it can be fixed somehow?



1 answer

1 accepted

0 vote
Nick Pellow Atlassian Team Jan 21, 2012

Hi Petter,

For the maven-clover2-plugin, try setting the 'encoding' configuration instead.

See also:



That solved it, thanks - we must have been looking here: when we found the 'charset' parameter.

Suggest an answer

Log in or Join to answer
Community showcase
Jason Wong
Published 10 hours ago in Agility Beta

Welcome to agility

Every team in the world is unique, and so   Atlassian believes   that each and every team's best way of working  needs to  be molded to their unique circumstances  – ...

221 views 5 12
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot