-
-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
license headers for java files #118
Comments
+1 👍 |
You can change this behaviour easily, just by adding the following lines to the configuration tag of the plugin inside the pom.xml: <mapping>
<java>SLASHSTAR_STYLE</java>
</mapping> The comment styles are documented at the README.md file. |
An alternative way to mark these comments is with http://www.oracle.com/technetwork/java/javase/documentation/codeconventions-141999.html#350 This is supported by another license plugin through a property: would it make sense for this plugin to have a standard format for this style? |
And there's already a PR for this ( |
The current default Additionally, Javadocs are also supposed to document specific language elements which they precede. A javadoc comment prefacing a The default behavior can be overridden, yes, but there are at least two problems with this:
|
Fixed in #109 |
Changes in license headers in .java files is because mathieucarbou/license-maven-plugin#118
The plugin uses
/** ... */
instead of/* ... */
for license headers in java files.Some of the IDEs (like intellij) marks them as "Dangling javadoc comment" (rightly so).
The text was updated successfully, but these errors were encountered: