diff --git a/pom.xml b/pom.xml index 4631f1391fc6ceb022e4a4755db9da228bcfafe4..17ba67ad59109056fa72610e9d4873fbd1803f02 100644 --- a/pom.xml +++ b/pom.xml @@ -10,6 +10,7 @@ <name>TeeTime</name> <description>TeeTime is a Pipes-and-Filters framework for Java</description> <url>http://teetime.sourceforge.org</url> + <inceptionYear>2015</inceptionYear> <licenses> <license> @@ -115,7 +116,7 @@ <build> <plugins> - + <!-- we want JDK 1.6 source and binary compatibility --> <plugin> <groupId>org.apache.maven.plugins</groupId> @@ -282,6 +283,38 @@ </dependency> </dependencies> </plugin> + + <!-- Copyright Header --> + <plugin> + <groupId>com.mycila</groupId> + <artifactId>license-maven-plugin</artifactId> + <version>2.7</version> + <configuration> + <header>com/mycila/maven/plugin/license/templates/APACHE-2.txt</header> + <properties> + <owner>Mycila</owner> + <email>mathieu.carbou@gmail.com</email> + </properties> + <excludes> + <exclude>**/README</exclude> + <exclude>src/test/resources/**</exclude> + <exclude>src/main/resources/**</exclude> + <exclude>conf/**</exclude> + <exclude>doc/**</exclude> + <exclude>experiments/**</exclude> + <exclude>run-configurations/**</exclude> + <exclude>target/**</exclude> + <exclude>pom.xml</exclude> + </excludes> + </configuration> + <executions> + <execution> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + </plugin> </plugins> </build>