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

Accepted Answer
0 votes
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 Sign up to answer
Community showcase
Posted Tuesday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

127 views 6 8
View post

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