mam-dev / foss-parent

Parent POM for 1-and-1 open source projects using Maven.
http://1and1.github.io/foss-parent/github-report.html
Apache License 2.0
10 stars 4 forks source link

Configure maven-license-plugin to use SLASHSTAR_STYLE #100

Closed atrepczik closed 8 years ago

atrepczik commented 8 years ago

Right now, by default, the maven-license-plugin will require the license header in Java source files to be in JavaDoc style. This is unusual and collides with the maven-javadoc-plugin, which tries to parse the license as JavaDoc, stumbling over invalid characters, such as '&'. There is an upstream ticket which will change this default setting soon:

https://github.com/mycila/license-maven-plugin/pull/109

This PR will set the default style for Java sources to "slashstyle", i.e. simple block comments, preparing for the upstream change. Note, that this is a breaking change and users might have to adapt to it.

mfriedenhagen commented 8 years ago

The danger of a breaking change is minimal. I always deleted the star-in-question manually, so this is a great addition.