Author: tilman Date: Fri Mar 14 18:51:18 2014 New Revision: 1577658 URL: http://svn.apache.org/r1577658 Log: PDFBOX-1975: use a different repository to get a better version of jai_imageio
Modified: pdfbox/trunk/parent/pom.xml pdfbox/trunk/pdfbox/pom.xml Modified: pdfbox/trunk/parent/pom.xml URL: http://svn.apache.org/viewvc/pdfbox/trunk/parent/pom.xml?rev=1577658&r1=1577657&r2=1577658&view=diff ============================================================================== --- pdfbox/trunk/parent/pom.xml (original) +++ pdfbox/trunk/parent/pom.xml Fri Mar 14 18:51:18 2014 @@ -1,346 +1,346 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - ! Licensed to the Apache Software Foundation (ASF) under one or more - ! contributor license agreements. See the NOTICE file distributed with - ! this work for additional information regarding copyright ownership. - ! The ASF licenses this file to You under the Apache License, Version 2.0 - ! (the "License"); you may not use this file except in compliance with - ! the License. You may obtain a copy of the License at - ! - ! http://www.apache.org/licenses/LICENSE-2.0 - ! - ! Unless required by applicable law or agreed to in writing, software - ! distributed under the License is distributed on an "AS IS" BASIS, - ! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ! See the License for the specific language governing permissions and - ! limitations under the License. - !--> +! Licensed to the Apache Software Foundation (ASF) under one or more +! contributor license agreements. See the NOTICE file distributed with +! this work for additional information regarding copyright ownership. +! The ASF licenses this file to You under the Apache License, Version 2.0 +! (the "License"); you may not use this file except in compliance with +! the License. You may obtain a copy of the License at +! +! http://www.apache.org/licenses/LICENSE-2.0 +! +! Unless required by applicable law or agreed to in writing, software +! distributed under the License is distributed on an "AS IS" BASIS, +! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +! See the License for the specific language governing permissions and +! limitations under the License. +!--> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - <modelVersion>4.0.0</modelVersion> + <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.apache</groupId> - <artifactId>apache</artifactId> - <version>13</version> - <relativePath /> - </parent> + <parent> + <groupId>org.apache</groupId> + <artifactId>apache</artifactId> + <version>13</version> + <relativePath /> + </parent> - <groupId>org.apache.pdfbox</groupId> - <artifactId>pdfbox-parent</artifactId> - <version>2.0.0-SNAPSHOT</version> - <packaging>pom</packaging> + <groupId>org.apache.pdfbox</groupId> + <artifactId>pdfbox-parent</artifactId> + <version>2.0.0-SNAPSHOT</version> + <packaging>pom</packaging> - <name>PDFBox parent</name> - <inceptionYear>2002</inceptionYear> + <name>PDFBox parent</name> + <inceptionYear>2002</inceptionYear> - <organization> - <name>The Apache Software Foundation</name> - <url>http://pdfbox.apache.org</url> - </organization> + <organization> + <name>The Apache Software Foundation</name> + <url>http://pdfbox.apache.org</url> + </organization> - <issueManagement> - <system>jira</system> - <url>https://issues.apache.org/jira/browse/PDFBOX</url> - </issueManagement> + <issueManagement> + <system>jira</system> + <url>https://issues.apache.org/jira/browse/PDFBOX</url> + </issueManagement> - <properties> - <project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding> - </properties> + <properties> + <project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding> + </properties> - <dependencyManagement> - <dependencies> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.11</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>commons-logging</groupId> - <artifactId>commons-logging</artifactId> - <version>1.1.3</version> - </dependency> - <dependency> - <groupId>commons-io</groupId> - <artifactId>commons-io</artifactId> - <version>2.4</version> - </dependency> - <dependency> - <groupId>org.bouncycastle</groupId> - <artifactId>bcprov-jdk15on</artifactId> - <version>1.49</version> - </dependency> - <dependency> - <groupId>org.bouncycastle</groupId> - <artifactId>bcmail-jdk15on</artifactId> - <version>1.49</version> - </dependency> - <dependency> - <groupId>com.ibm.icu</groupId> - <artifactId>icu4j</artifactId> - <version>52.1</version> - </dependency> + <dependencyManagement> + <dependencies> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.11</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + <version>1.1.3</version> + </dependency> + <dependency> + <groupId>commons-io</groupId> + <artifactId>commons-io</artifactId> + <version>2.4</version> + </dependency> + <dependency> + <groupId>org.bouncycastle</groupId> + <artifactId>bcprov-jdk15on</artifactId> + <version>1.49</version> + </dependency> + <dependency> + <groupId>org.bouncycastle</groupId> + <artifactId>bcmail-jdk15on</artifactId> + <version>1.49</version> + </dependency> + <dependency> + <groupId>com.ibm.icu</groupId> + <artifactId>icu4j</artifactId> + <version>52.1</version> + </dependency> - <!-- For legal reasons (incompatible license), these two dependencies - are to be used only in the tests and may not be distributed. - See also LEGAL-195 --> - <dependency> - <groupId>com.levigo.jbig2</groupId> - <artifactId>levigo-jbig2-imageio</artifactId> - <version>1.6.2</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>javax.media</groupId> - <artifactId>jai_imageio</artifactId> - <version>1.1</version> - <scope>test</scope> - </dependency> - </dependencies> - </dependencyManagement> + <!-- For legal reasons (incompatible license), these two dependencies + are to be used only in the tests and may not be distributed. + See also LEGAL-195 --> + <dependency> + <groupId>com.levigo.jbig2</groupId> + <artifactId>levigo-jbig2-imageio</artifactId> + <version>1.6.2</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>net.java.dev.jai-imageio</groupId> + <artifactId>jai-imageio-core-standalone</artifactId> + <version>1.2-pre-dr-b04-2011-07-04</version> + <scope>test</scope> + </dependency> + </dependencies> + </dependencyManagement> - <repositories> - <repository> - <id>jbig2.googlecode</id> - <name>JBIG2 ImageIO-Plugin repository at googlecode.com</name> - <url>http://jbig2-imageio.googlecode.com/svn/maven-repository/</url> - </repository> - <repository> - <id>osgeo</id> - <name>Open Source Geospatial Foundation Repository</name> - <url>http://download.osgeo.org/webdav/geotools/</url> - </repository> - </repositories> + <repositories> + <repository> + <id>jbig2.googlecode</id> + <name>JBIG2 ImageIO-Plugin repository at googlecode.com</name> + <url>http://jbig2-imageio.googlecode.com/svn/maven-repository/</url> + </repository> + <repository> + <id>mygrid-repository</id> + <name>myGrid Repository</name> + <url>http://www.mygrid.org.uk/maven/repository</url> + </repository> + </repositories> - <profiles> - <profile> - <id>pedantic</id> - <build> + <profiles> + <profile> + <id>pedantic</id> + <build> + <plugins> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <executions> + <execution> + <phase>verify</phase> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + </profiles> + + <build> <plugins> - <plugin> - <groupId>org.apache.rat</groupId> - <artifactId>apache-rat-plugin</artifactId> - <executions> - <execution> - <phase>verify</phase> - <goals> - <goal>check</goal> - </goals> - </execution> - </executions> - </plugin> + <plugin> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <target>1.6</target> + <source>1.6</source> + </configuration> + </plugin> + <plugin> + <artifactId>maven-javadoc-plugin</artifactId> + <configuration> + <source>1.6</source> + <links> + <link>http://download.oracle.com/javase/1.6.0/docs/api/</link> + </links> + </configuration> + </plugin> + <plugin> + <artifactId>maven-release-plugin</artifactId> + <configuration> + <useReleaseProfile>false</useReleaseProfile> + <goals>deploy</goals> + <arguments>-Papache-release,pedantic</arguments> + <autoVersionSubmodules>true</autoVersionSubmodules> + </configuration> + </plugin> </plugins> - </build> - </profile> - </profiles> - - <build> - <plugins> - <plugin> - <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <target>1.6</target> - <source>1.6</source> - </configuration> - </plugin> - <plugin> - <artifactId>maven-javadoc-plugin</artifactId> - <configuration> - <source>1.6</source> - <links> - <link>http://download.oracle.com/javase/1.6.0/docs/api/</link> - </links> - </configuration> - </plugin> - <plugin> - <artifactId>maven-release-plugin</artifactId> - <configuration> - <useReleaseProfile>false</useReleaseProfile> - <goals>deploy</goals> - <arguments>-Papache-release,pedantic</arguments> - <autoVersionSubmodules>true</autoVersionSubmodules> - </configuration> - </plugin> - </plugins> - <pluginManagement> - <plugins> - <plugin> - <groupId>org.apache.rat</groupId> - <artifactId>apache-rat-plugin</artifactId> - <version>0.10</version> - <configuration> - <excludes> - <exclude>release.properties</exclude> - </excludes> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-bundle-plugin</artifactId> - <version>2.3.7</version> - </plugin> - <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> - <plugin> - <groupId>org.eclipse.m2e</groupId> - <artifactId>lifecycle-mapping</artifactId> - <version>1.0.0</version> - <configuration> - <lifecycleMappingMetadata> - <pluginExecutions> - <pluginExecution> - <pluginExecutionFilter> - <groupId> - org.apache.maven.plugins - </groupId> - <artifactId> - maven-antrun-plugin - </artifactId> - <versionRange>[1.6,)</versionRange> - <goals> - <goal>run</goal> - </goals> - </pluginExecutionFilter> - <action> - <ignore /> - </action> - </pluginExecution> - </pluginExecutions> - </lifecycleMappingMetadata> - </configuration> - </plugin> - </plugins> - </pluginManagement> - </build> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <version>0.10</version> + <configuration> + <excludes> + <exclude>release.properties</exclude> + </excludes> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <version>2.3.7</version> + </plugin> + <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> + <plugin> + <groupId>org.eclipse.m2e</groupId> + <artifactId>lifecycle-mapping</artifactId> + <version>1.0.0</version> + <configuration> + <lifecycleMappingMetadata> + <pluginExecutions> + <pluginExecution> + <pluginExecutionFilter> + <groupId> + org.apache.maven.plugins + </groupId> + <artifactId> + maven-antrun-plugin + </artifactId> + <versionRange>[1.6,)</versionRange> + <goals> + <goal>run</goal> + </goals> + </pluginExecutionFilter> + <action> + <ignore /> + </action> + </pluginExecution> + </pluginExecutions> + </lifecycleMappingMetadata> + </configuration> + </plugin> + </plugins> + </pluginManagement> + </build> - <!-- Developers listed by PMC Chair, PMC all alphabetical--> - <developers> - <developer> - <id>lehmi</id> - <name>Andreas Lehmkühler</name> - <roles> - <role>PMC Chair</role> - </roles> - </developer> - <developer> - <id>adam</id> - <name>Adam Nichols</name> - <roles> - <role>PMC Member</role> - </roles> - </developer> - <developer> - <id>blitchfield</id> - <name>Ben Litchfield</name> - <roles> - <role>PMC Member</role> - </roles> - </developer> - <developer> - <id>carrier</id> - <name>Brian Carrier</name> - <roles> - <role>PMC Member</role> - </roles> - </developer> - <developer> - <id>danielwilson</id> - <name>Daniel Wilson</name> - <roles> - <role>PMC Member</role> - </roles> - </developer> - <developer> - <id>leleueri</id> - <name>Eric Leleu</name> - <roles> - <role>PMC Member</role> - </roles> - </developer> - <developer> - <id>gbailleul</id> - <name>Guillaume Bailleul</name> - <roles> - <role>PMC Member</role> - </roles> - </developer> - <developer> - <id>jeremias</id> - <name>Jeremias Maerki</name> - <roles> - <role>PMC Member</role> - </roles> - </developer> - <developer> - <id>koch</id> - <name>Johannes Koch</name> - <roles> - <role>PMC Member</role> - </roles> - </developer> - <developer> - <id>jahewson</id> - <name>John Hewson</name> - <roles> - <role>PMC Member</role> - </roles> - </developer> - <developer> - <id>jukka</id> - <name>Jukka Zitting</name> - <roles> - <role>PMC Member</role> - </roles> - </developer> - <developer> - <id>kjackson</id> - <name>Kevin Jackson</name> - <roles> - <role>PMC Member</role> - </roles> - </developer> - <developer> - <id>msayhoun</id> - <name>Maruan Sayhoun</name> - <roles> - <role>PMC Member</role> - </roles> - </developer> - <developer> - <id>pkoch</id> - <name>Phillipp Koch</name> - <roles> - <role>PMC Member</role> - </roles> - </developer> - <developer> - <id>tchojecki</id> - <name>Thomas Chojecki</name> - <roles> - <role>PMC Member</role> - </roles> - </developer> - <developer> - <id>tboehme</id> - <name>Timo Boehme</name> - <roles> - <role>PMC Member</role> - </roles> - </developer> - <developer> - <id>tilman</id> - <name>Tilman Hausherr</name> - <roles> - <role>PMC Member</role> - </roles> - </developer> - <developer> - <id>vfed</id> - <name>Villu Ruusmann</name> - <roles> - <role>PMC Member</role> - </roles> - </developer> - </developers> + <!-- Developers listed by PMC Chair, PMC all alphabetical--> + <developers> + <developer> + <id>lehmi</id> + <name>Andreas Lehmkühler</name> + <roles> + <role>PMC Chair</role> + </roles> + </developer> + <developer> + <id>adam</id> + <name>Adam Nichols</name> + <roles> + <role>PMC Member</role> + </roles> + </developer> + <developer> + <id>blitchfield</id> + <name>Ben Litchfield</name> + <roles> + <role>PMC Member</role> + </roles> + </developer> + <developer> + <id>carrier</id> + <name>Brian Carrier</name> + <roles> + <role>PMC Member</role> + </roles> + </developer> + <developer> + <id>danielwilson</id> + <name>Daniel Wilson</name> + <roles> + <role>PMC Member</role> + </roles> + </developer> + <developer> + <id>leleueri</id> + <name>Eric Leleu</name> + <roles> + <role>PMC Member</role> + </roles> + </developer> + <developer> + <id>gbailleul</id> + <name>Guillaume Bailleul</name> + <roles> + <role>PMC Member</role> + </roles> + </developer> + <developer> + <id>jeremias</id> + <name>Jeremias Maerki</name> + <roles> + <role>PMC Member</role> + </roles> + </developer> + <developer> + <id>koch</id> + <name>Johannes Koch</name> + <roles> + <role>PMC Member</role> + </roles> + </developer> + <developer> + <id>jahewson</id> + <name>John Hewson</name> + <roles> + <role>PMC Member</role> + </roles> + </developer> + <developer> + <id>jukka</id> + <name>Jukka Zitting</name> + <roles> + <role>PMC Member</role> + </roles> + </developer> + <developer> + <id>kjackson</id> + <name>Kevin Jackson</name> + <roles> + <role>PMC Member</role> + </roles> + </developer> + <developer> + <id>msayhoun</id> + <name>Maruan Sayhoun</name> + <roles> + <role>PMC Member</role> + </roles> + </developer> + <developer> + <id>pkoch</id> + <name>Phillipp Koch</name> + <roles> + <role>PMC Member</role> + </roles> + </developer> + <developer> + <id>tchojecki</id> + <name>Thomas Chojecki</name> + <roles> + <role>PMC Member</role> + </roles> + </developer> + <developer> + <id>tboehme</id> + <name>Timo Boehme</name> + <roles> + <role>PMC Member</role> + </roles> + </developer> + <developer> + <id>tilman</id> + <name>Tilman Hausherr</name> + <roles> + <role>PMC Member</role> + </roles> + </developer> + <developer> + <id>vfed</id> + <name>Villu Ruusmann</name> + <roles> + <role>PMC Member</role> + </roles> + </developer> + </developers> </project> Modified: pdfbox/trunk/pdfbox/pom.xml URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/pom.xml?rev=1577658&r1=1577657&r2=1577658&view=diff ============================================================================== --- pdfbox/trunk/pdfbox/pom.xml (original) +++ pdfbox/trunk/pdfbox/pom.xml Fri Mar 14 18:51:18 2014 @@ -1,153 +1,153 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - ! Licensed to the Apache Software Foundation (ASF) under one or more - ! contributor license agreements. See the NOTICE file distributed with - ! this work for additional information regarding copyright ownership. - ! The ASF licenses this file to You under the Apache License, Version 2.0 - ! (the "License"); you may not use this file except in compliance with - ! the License. You may obtain a copy of the License at - ! - ! http://www.apache.org/licenses/LICENSE-2.0 - ! - ! Unless required by applicable law or agreed to in writing, software - ! distributed under the License is distributed on an "AS IS" BASIS, - ! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ! See the License for the specific language governing permissions and - ! limitations under the License. - !--> +! Licensed to the Apache Software Foundation (ASF) under one or more +! contributor license agreements. See the NOTICE file distributed with +! this work for additional information regarding copyright ownership. +! The ASF licenses this file to You under the Apache License, Version 2.0 +! (the "License"); you may not use this file except in compliance with +! the License. You may obtain a copy of the License at +! +! http://www.apache.org/licenses/LICENSE-2.0 +! +! Unless required by applicable law or agreed to in writing, software +! distributed under the License is distributed on an "AS IS" BASIS, +! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +! See the License for the specific language governing permissions and +! limitations under the License. +!--> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - <modelVersion>4.0.0</modelVersion> + <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.apache.pdfbox</groupId> - <artifactId>pdfbox-parent</artifactId> - <version>2.0.0-SNAPSHOT</version> - <relativePath>../parent/pom.xml</relativePath> - </parent> - - <artifactId>pdfbox</artifactId> - <packaging>bundle</packaging> - - <name>Apache PDFBox</name> - <description> - The Apache PDFBox library is an open source Java tool for working with PDF documents. - </description> - <inceptionYear>2002</inceptionYear> - - <dependencies> - <dependency> - <groupId>org.apache.pdfbox</groupId> - <artifactId>fontbox</artifactId> - <version>${project.version}</version> - </dependency> - <dependency> - <groupId>org.apache.pdfbox</groupId> - <artifactId>jempbox</artifactId> - <version>${project.version}</version> - </dependency> - <dependency> - <groupId>commons-logging</groupId> - <artifactId>commons-logging</artifactId> - </dependency> - <dependency> - <groupId>org.bouncycastle</groupId> - <artifactId>bcmail-jdk15on</artifactId> - <optional>true</optional> - </dependency> - <dependency> - <groupId>org.bouncycastle</groupId> - <artifactId>bcprov-jdk15on</artifactId> - <optional>true</optional> - </dependency> - <dependency> - <groupId>com.ibm.icu</groupId> - <artifactId>icu4j</artifactId> - <optional>true</optional> - </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <scope>test</scope> - </dependency> - <!-- For legal reasons (incompatible license), these two dependencies - are to be used only in the tests and may not be distributed. - See also LEGAL-195 --> - <dependency> - <groupId>com.levigo.jbig2</groupId> - <artifactId>levigo-jbig2-imageio</artifactId> - <scope>test</scope> - </dependency> - <dependency> - <groupId>javax.media</groupId> - <artifactId>jai_imageio</artifactId> - <scope>test</scope> - </dependency> - </dependencies> - - <build> - <resources> - <resource> - <directory>src/main/resources</directory> - <filtering>true</filtering> - <includes> - <include>**/*.properties</include> - </includes> - </resource> - <resource> - <directory>src/main/resources</directory> - <filtering>false</filtering> - <excludes> - <exclude>**/*.properties</exclude> - </excludes> - </resource> - </resources> - <plugins> - <plugin> - <artifactId>maven-surefire-plugin</artifactId> - <configuration> - <argLine>-Xmx128m</argLine> - <excludes> - <exclude>org/apache/pdfbox/TestAll.java</exclude> - <exclude>org/apache/pdfbox/util/TestPDFToImage.java</exclude> - <exclude>org/apache/pdfbox/encryption/TestPublicKeyEncryption.java</exclude> - </excludes> - <systemPropertyVariables> - <java.util.logging.config.file>src/test/resources/logging.properties</java.util.logging.config.file> - </systemPropertyVariables> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-bundle-plugin</artifactId> - <extensions>true</extensions> - <configuration> - <instructions> - <Include-Resource> - {maven-resources}, - META-INF=target/maven-shared-archive-resources/META-INF, - org/apache/pdfbox/resources=target/classes/org/apache/pdfbox/resources - </Include-Resource> - </instructions> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.rat</groupId> - <artifactId>apache-rat-plugin</artifactId> - <configuration> - <excludes> - <exclude>src/main/resources/org/apache/pdfbox/resources/afm/*</exclude> - <exclude>src/main/resources/org/apache/pdfbox/resources/cmap/*</exclude> - <exclude>src/main/resources/org/apache/pdfbox/resources/icc/*</exclude> - <exclude>src/test/resources/input/rendering/*.ai</exclude> - <exclude>src/test/resources/output/*</exclude> - <exclude>release.properties</exclude> - </excludes> - </configuration> - </plugin> - </plugins> - </build> + <parent> + <groupId>org.apache.pdfbox</groupId> + <artifactId>pdfbox-parent</artifactId> + <version>2.0.0-SNAPSHOT</version> + <relativePath>../parent/pom.xml</relativePath> + </parent> + + <artifactId>pdfbox</artifactId> + <packaging>bundle</packaging> + + <name>Apache PDFBox</name> + <description> + The Apache PDFBox library is an open source Java tool for working with PDF documents. + </description> + <inceptionYear>2002</inceptionYear> + + <dependencies> + <dependency> + <groupId>org.apache.pdfbox</groupId> + <artifactId>fontbox</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.pdfbox</groupId> + <artifactId>jempbox</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + </dependency> + <dependency> + <groupId>org.bouncycastle</groupId> + <artifactId>bcmail-jdk15on</artifactId> + <optional>true</optional> + </dependency> + <dependency> + <groupId>org.bouncycastle</groupId> + <artifactId>bcprov-jdk15on</artifactId> + <optional>true</optional> + </dependency> + <dependency> + <groupId>com.ibm.icu</groupId> + <artifactId>icu4j</artifactId> + <optional>true</optional> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <scope>test</scope> + </dependency> + <!-- For legal reasons (incompatible license), these two dependencies + are to be used only in the tests and may not be distributed. + See also LEGAL-195 --> + <dependency> + <groupId>com.levigo.jbig2</groupId> + <artifactId>levigo-jbig2-imageio</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>net.java.dev.jai-imageio</groupId> + <artifactId>jai-imageio-core-standalone</artifactId> + <scope>test</scope> + </dependency> + </dependencies> + + <build> + <resources> + <resource> + <directory>src/main/resources</directory> + <filtering>true</filtering> + <includes> + <include>**/*.properties</include> + </includes> + </resource> + <resource> + <directory>src/main/resources</directory> + <filtering>false</filtering> + <excludes> + <exclude>**/*.properties</exclude> + </excludes> + </resource> + </resources> + <plugins> + <plugin> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <argLine>-Xmx128m</argLine> + <excludes> + <exclude>org/apache/pdfbox/TestAll.java</exclude> + <exclude>org/apache/pdfbox/util/TestPDFToImage.java</exclude> + <exclude>org/apache/pdfbox/encryption/TestPublicKeyEncryption.java</exclude> + </excludes> + <systemPropertyVariables> + <java.util.logging.config.file>src/test/resources/logging.properties</java.util.logging.config.file> + </systemPropertyVariables> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <extensions>true</extensions> + <configuration> + <instructions> + <Include-Resource> + {maven-resources}, + META-INF=target/maven-shared-archive-resources/META-INF, + org/apache/pdfbox/resources=target/classes/org/apache/pdfbox/resources + </Include-Resource> + </instructions> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <configuration> + <excludes> + <exclude>src/main/resources/org/apache/pdfbox/resources/afm/*</exclude> + <exclude>src/main/resources/org/apache/pdfbox/resources/cmap/*</exclude> + <exclude>src/main/resources/org/apache/pdfbox/resources/icc/*</exclude> + <exclude>src/test/resources/input/rendering/*.ai</exclude> + <exclude>src/test/resources/output/*</exclude> + <exclude>release.properties</exclude> + </excludes> + </configuration> + </plugin> + </plugins> + </build> </project>