You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@taverna.apache.org by st...@apache.org on 2015/02/17 11:31:54 UTC

[40/50] incubator-taverna-maven-parent git commit: Back to 1-SNAPSHOT and add rat-plugin

Back to 1-SNAPSHOT and add rat-plugin

.. slightly inspired by
https://github.com/apache/jena/blob/master/jena-parent/pom.xml


Project: http://git-wip-us.apache.org/repos/asf/incubator-taverna-maven-parent/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-taverna-maven-parent/commit/53db1f7f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-taverna-maven-parent/tree/53db1f7f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-taverna-maven-parent/diff/53db1f7f

Branch: refs/heads/master
Commit: 53db1f7f6d5f013a13b97ff01405739d3b3aa05f
Parents: e96e316
Author: Stian Soiland-Reyes <st...@apache.org>
Authored: Mon Jan 12 21:06:09 2015 +0000
Committer: Stian Soiland-Reyes <st...@apache.org>
Committed: Mon Jan 12 21:07:53 2015 +0000

----------------------------------------------------------------------
 pom.xml | 34 ++++++++++++++++++++++++++++++++--
 1 file changed, 32 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-taverna-maven-parent/blob/53db1f7f/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index e97a4aa..0cbfc4e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -12,7 +12,7 @@
 
 	<groupId>org.apache.taverna</groupId>
 	<artifactId>taverna-parent</artifactId>
-	<version>4-SNAPSHOT</version>
+	<version>1-SNAPSHOT</version>
 	<packaging>pom</packaging>
 
 	<name>Apache Taverna (incubating) Maven parent</name>
@@ -279,7 +279,37 @@ upgraded - this leads to recursive spaghetti.
 				</dependency>
 			</dependencies>
 		</plugin>
-		</plugins>
+
+      <plugin>
+        <groupId>org.apache.rat</groupId>
+        <artifactId>apache-rat-plugin</artifactId>
+  <version>0.11</version>
+        <executions>
+          <execution>
+            <id>rat-checks</id>
+            <phase>verify</phase>
+            <goals>
+              <goal>check</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <excludes>
+            <!--
+            Text and Markdown files are typically used only for documentation purposes
+            and license declarations are usually spurious in these files since often they
+            will refer to the LICENSE/NOTICE for users to find the actual licenses
+            -->
+            <exclude>**/*.md</exclude>
+            <!--
+            META-INF services files can include comments but a license header would be
+            unecessarily clutter so we exclude these
+            -->
+            <exclude>**/META-INF/services/*</exclude>
+          </excludes>
+        </configuration>
+  </plugins>
+
     <pluginManagement>
 			<plugins>
 	      <plugin>