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 2016/09/07 23:17:17 UTC

[3/3] incubator-taverna-workbench git commit: apache-rat excludes

apache-rat excludes

plus no need for maven-compiler-plugin


Project: http://git-wip-us.apache.org/repos/asf/incubator-taverna-workbench/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-taverna-workbench/commit/ee3250e3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-taverna-workbench/tree/ee3250e3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-taverna-workbench/diff/ee3250e3

Branch: refs/heads/master
Commit: ee3250e3ccab41a53f9b97bc7ffb556c76e23ca3
Parents: b259974
Author: Stian Soiland-Reyes <so...@cs.manchester.ac.uk>
Authored: Wed Sep 7 23:16:17 2016 +0100
Committer: Stian Soiland-Reyes <so...@cs.manchester.ac.uk>
Committed: Wed Sep 7 23:16:17 2016 +0100

----------------------------------------------------------------------
 pom.xml | 29 ++++++++++++++++++++---------
 1 file changed, 20 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-taverna-workbench/blob/ee3250e3/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 732fe6f..bae6697 100644
--- a/pom.xml
+++ b/pom.xml
@@ -116,15 +116,26 @@
   </scm>
     <build>
         <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <version>2.3.2</version>
-                <configuration>
-                    <source>1.7</source>
-                    <target>1.7</target>
-                </configuration>
-            </plugin>
+			<plugin>
+				<groupId>org.apache.rat</groupId>
+				<artifactId>apache-rat-plugin</artifactId>
+				<configuration combine.children="append" >
+					<useDefaultExcludes>true</useDefaultExcludes>
+					<excludes>
+						<!-- Following excludes needed for 
+						disabled subfolders that should be modules, but are commented out -->
+						<exclude>**/.classpath</exclude>
+						<exclude>**/.project</exclude>
+						<exclude>**/.settings/</exclude>
+						<exclude>**/target/</exclude>
+						<exclude>**/META-INF/services/</exclude>
+						<!-- No headers in JSON which haven't got comments ... -->
+						<exclude>**/*.json</exclude>
+
+					</excludes>
+				</configuration>
+</plugin>
+
         </plugins>
     </build>
     <repositories>