From 8d494671c39004626ffd97fc97fa8448dcfaab5d Mon Sep 17 00:00:00 2001 From: "Brian R. Jackson" Date: Sat, 29 Jan 2011 22:55:39 -0500 Subject: [PATCH] Added license header checking plugin to build. --- pom.xml | 24 +++++++++++++++++++++++- src/license/header.txt | 13 +++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 src/license/header.txt diff --git a/pom.xml b/pom.xml index 44207d9..145c77f 100644 --- a/pom.xml +++ b/pom.xml @@ -73,7 +73,7 @@ UTF-8 - + @@ -85,6 +85,28 @@ 1.5 + + com.mycila.maven-license-plugin + maven-license-plugin + 1.9.0 + +
${basedir}/src/license/header.txt
+ + src/** + + + ${project.inceptionYear} + brian@jaxzin.com + +
+ + + + check + + + +
diff --git a/src/license/header.txt b/src/license/header.txt new file mode 100644 index 0000000..3d38a41 --- /dev/null +++ b/src/license/header.txt @@ -0,0 +1,13 @@ +Copyright (C) ${year} ${user.name} <${email}> + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. \ No newline at end of file