Skip to content
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

Add support for specifying comment types #196

Open
alex1989hu opened this issue Dec 6, 2020 · 1 comment
Open

Add support for specifying comment types #196

alex1989hu opened this issue Dec 6, 2020 · 1 comment

Comments

@alex1989hu
Copy link
Contributor

Using mycila/license-maven-plugin gives the possibility to maintain one LICENSE file in the repository and the plugin is able to apply it onto several file types.

In that way, I am not enforced to use one style of comment; I can apply license text onto XML and YAML files, too.

Also it is possible to configure file type and comment type. For example, I can configure the plugin the following way:

  • files ends with .foo shall be handled as XML
  • Dockerfile shall be handled as shell script etc.

Further details: https://github.com/mycila/license-maven-plugin#supported-comment-types

@andrewrynhard
Copy link
Member

This is an interesting idea. This would be one of the only ways we could really support a license file on multiple types of files 🤔 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants