You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2015/02/07 14:51:17 UTC
svn commit: r1658059 - /pdfbox/trunk/preflight/pom.xml
Author: tilman
Date: Sat Feb 7 13:51:16 2015
New Revision: 1658059
URL: http://svn.apache.org/r1658059
Log:
PDFBOX-2610: add Bavaria tests to the build, disabled by default
PDFBOX-2383: remove padaf directory from the build because it no longer exists
Modified:
pdfbox/trunk/preflight/pom.xml
Modified: pdfbox/trunk/preflight/pom.xml
URL: http://svn.apache.org/viewvc/pdfbox/trunk/preflight/pom.xml?rev=1658059&r1=1658058&r2=1658059&view=diff
==============================================================================
--- pdfbox/trunk/preflight/pom.xml (original)
+++ pdfbox/trunk/preflight/pom.xml Sat Feb 7 13:51:16 2015
@@ -29,6 +29,11 @@
<version>2.0.0-SNAPSHOT</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
+
+ <!-- enable the Bavaria tests with -Dskip-bavaria=false -->
+ <properties>
+ <skip-bavaria>true</skip-bavaria>
+ </properties>
<build>
<plugins>
@@ -128,7 +133,6 @@
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<excludes>
- <exclude>src/test/resources/org/apache/padaf/preflight/font/*.font</exclude>
<exclude>src/main/resources/project.version</exclude>
<exclude>release.properties</exclude>
</excludes>
@@ -160,6 +164,20 @@
<md5>9f129c834bc6f9f8dabad4491c4c10ec</md5>
</configuration>
</execution>
+ <execution>
+ <id>get-bavaria</id>
+ <phase>generate-test-resources</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <skip>${skip-bavaria}</skip>
+ <url>http://www.pdflib.com/fileadmin/pdflib/Bavaria/2009-04-03-Bavaria-pdfa.zip</url>
+ <unpack>true</unpack>
+ <outputDirectory>${project.build.directory}/pdfs</outputDirectory>
+ <md5>d8fccb2fea540ab49bef237f3579546b</md5>
+ </configuration>
+ </execution>
</executions>
</plugin>
</plugins>