[
https://issues.apache.org/jira/browse/WINK-75?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12730686#action_12730686
]
Jason Dillon commented on WINK-75:
----------------------------------
This does work, but is missing a few files. Specifically the excludes of
*.apt. It would also be nice if some of the internal non/spec required files
like wink-providers and such could have some sort of extension to clue the
scanner that these files can use script style comments, and those files that
can take them should all have a header applied.
> Change com.google.code.maven-license-plugin legal plugin to not be inherited
> ----------------------------------------------------------------------------
>
> Key: WINK-75
> URL: https://issues.apache.org/jira/browse/WINK-75
> Project: Wink
> Issue Type: Improvement
> Components: Build
> Affects Versions: 0.1
> Reporter: Bryant Luk
> Assignee: Bryant Luk
> Fix For: 0.1
>
>
> This JIRA is for changing the main pom.xml:
> {noformat}
> <plugin>
> <groupId>com.google.code.maven-license-plugin</groupId>
> <artifactId>maven-license-plugin</artifactId>
> + <inherited>false</inherited>
> <configuration>
> -
> <header>${module.relative.path}src/etc/header.txt</header>
> + <header>src/etc/header.txt</header>
> <quiet>false</quiet>
> <failIfMissing>true</failIfMissing>
> <aggregate>true</aggregate>
> <includes>
> - <include>src/**</include>
> + <include>**/src/**</include>
> <include>**/test/**</include>
> </includes>
> <excludes>
> {noformat}
> Random testing (removing license info on files in submodules) seemed to show
> this plugin working still. This will enable modules to be more easily
> created/moved around if necessary.
> I think it's still a good idea to run the license plugin on mvn install in
> the default profile to give a heads up before a bad build.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.