Adding license plugin - more to do
Project: http://git-wip-us.apache.org/repos/asf/incubator-curator/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-curator/commit/fe34ac57 Tree: http://git-wip-us.apache.org/repos/asf/incubator-curator/tree/fe34ac57 Diff: http://git-wip-us.apache.org/repos/asf/incubator-curator/diff/fe34ac57 Branch: refs/heads/master Commit: fe34ac579c89407d4c8cd0dabebeaae4f00e3b73 Parents: ac87c26 Author: randgalt <[email protected]> Authored: Wed Mar 27 10:10:09 2013 -0700 Committer: randgalt <[email protected]> Committed: Wed Mar 27 10:10:09 2013 -0700 ---------------------------------------------------------------------- pom.xml | 30 ++++++++++++++++++++++++++++++ 1 files changed, 30 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-curator/blob/fe34ac57/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 1082740..c32cf56 100644 --- a/pom.xml +++ b/pom.xml @@ -408,6 +408,36 @@ </execution> </executions> </plugin> + + <plugin> + <groupId>com.mycila.maven-license-plugin</groupId> + <artifactId>maven-license-plugin</artifactId> + <version>1.9.0</version> + <configuration> + <header>src/etc/header.txt</header> + <excludes> + <exclude>**/.gitignore</exclude> + <exclude>**/DISCLAIMER</exclude> + <exclude>**/LICENSE.txt</exclude> + <exclude>**/NOTICE.txt</exclude> + <exclude>**/README.txt</exclude> + <exclude>**/CHANGES.txt</exclude> + <exclude>**/RELEASE-NOTES</exclude> + </excludes> + <strictCheck>true</strictCheck> + <mapping> + <confluence>XML_STYLE</confluence> + </mapping> + </configuration> + <executions> + <execution> + <id>license</id> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + </plugin> </plugins> </build> </project>
