You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by le...@apache.org on 2017/11/02 17:10:43 UTC

pdfbox-jbig2 git commit: added rat configuration

Repository: pdfbox-jbig2
Updated Branches:
  refs/heads/master 3800281fc -> a386a6b35


added rat configuration


Project: http://git-wip-us.apache.org/repos/asf/pdfbox-jbig2/repo
Commit: http://git-wip-us.apache.org/repos/asf/pdfbox-jbig2/commit/a386a6b3
Tree: http://git-wip-us.apache.org/repos/asf/pdfbox-jbig2/tree/a386a6b3
Diff: http://git-wip-us.apache.org/repos/asf/pdfbox-jbig2/diff/a386a6b3

Branch: refs/heads/master
Commit: a386a6b353d2de8f22645d4057972b73e8f3de62
Parents: 3800281
Author: Andreas Lehmkühler <an...@lehmi.de>
Authored: Thu Nov 2 18:10:27 2017 +0100
Committer: Andreas Lehmkühler <an...@lehmi.de>
Committed: Thu Nov 2 18:10:27 2017 +0100

----------------------------------------------------------------------
 pom.xml | 78 ++++++++++++++++++++++++++++++++++++------------------------
 1 file changed, 47 insertions(+), 31 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/pdfbox-jbig2/blob/a386a6b3/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 507e409..21b73ec 100644
--- a/pom.xml
+++ b/pom.xml
@@ -229,35 +229,35 @@
 	</dependency>
     </dependencies>
 
-	<build>
-		<plugins>
-			<plugin>
-				<artifactId>maven-compiler-plugin</artifactId>
-				<configuration>
-					<source>1.7</source>
-					<target>1.7</target>
-					<debug>false</debug>
-					<optimize>true</optimize>
-				</configuration>
-			</plugin>
+    <build>
+        <plugins>
             <plugin>
-		      <artifactId>maven-release-plugin</artifactId>
-		      <configuration>
-		          <autoVersionSubmodules>true</autoVersionSubmodules>
-		          <!-- Keep changes in the local repo, push will be done afterwards -->
-		          <pushChanges>false</pushChanges>
-		          <localCheckout>true</localCheckout>
-		          <!-- Use a better name for the tag -->
-		          <tagNameFormat>${project.artifactId}-${project.version}</tagNameFormat>
-		      </configuration>
-		      <dependencies>
-		          <dependency>
-		            <groupId>org.apache.maven.scm</groupId>
-		            <artifactId>maven-scm-provider-gitexe</artifactId>
-		            <version>1.9</version>
-		          </dependency>
-		      </dependencies>
-		    </plugin>
+		<artifactId>maven-compiler-plugin</artifactId>
+		<configuration>
+			<source>1.7</source>
+			<target>1.7</target>
+			<debug>false</debug>
+			<optimize>true</optimize>
+			</configuration>
+            </plugin>
+            <plugin>
+		<artifactId>maven-release-plugin</artifactId>
+		<configuration>
+			<autoVersionSubmodules>true</autoVersionSubmodules>
+		        <!-- Keep changes in the local repo, push will be done afterwards -->
+		        <pushChanges>false</pushChanges>
+		        <localCheckout>true</localCheckout>
+		        <!-- Use a better name for the tag -->
+		        <tagNameFormat>${project.artifactId}-${project.version}</tagNameFormat>
+		</configuration>
+		<dependencies>
+			<dependency>
+			        <groupId>org.apache.maven.scm</groupId>
+			        <artifactId>maven-scm-provider-gitexe</artifactId>
+		        	<version>1.9</version>
+		        </dependency>
+		</dependencies>
+            </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-source-plugin</artifactId>
@@ -270,10 +270,26 @@
                    </execution>
                 </executions>
             </plugin>
-		</plugins>
-	</build>
+	</plugins>
+        <pluginManagement>
+            <plugins>
+                <plugin>
+                    <groupId>org.apache.rat</groupId>
+                    <artifactId>apache-rat-plugin</artifactId>
+                    <version>0.11</version>
+                    <configuration>
+                        <excludes>
+                            <exclude>src/test/resources/images/*</exclude>
+                            <exclude>src/test/resources/images/arith/*</exclude>
+                            <exclude>src/test/resources/com/levigo/jbig2/github/*</exclude>
+                        </excludes>
+                    </configuration>
+                </plugin>
+            </plugins>
+        </pluginManagement>
+   </build>
 
-	<profiles>
+   <profiles>
         <profile>
             <id>pedantic</id>
             <build>