<?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. !--> <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> <parent> <groupId>org.apache</groupId> <artifactId>apache</artifactId> <version>35</version> <relativePath /> </parent> <groupId>org.apache.pdfbox</groupId> <artifactId>pdfbox-parent</artifactId> <packaging>pom</packaging> <version>4.0.0-SNAPSHOT</version> <name>Apache PDFBox parent</name> <inceptionYear>2002</inceptionYear> <organization> <name>The Apache Software Foundation</name> <url>https://pdfbox.apache.org</url> </organization> <issueManagement> <system>jira</system> <url>https://issues.apache.org/jira/browse/PDFBOX</url> </issueManagement> <scm> <connection>scm:svn:https://svn.apache.org/repos/asf/pdfbox/trunk/parent</connection> <developerConnection>scm:svn:https://svn.apache.org/repos/asf/pdfbox/trunk/parent</developerConnection> <url>https://svn.apache.org/viewvc/pdfbox/trunk/parent</url> </scm> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <bouncycastle.version>1.81</bouncycastle.version> <log4j2.version>2.25.0</log4j2.version> <!-- can't update to 6.0.0, needs jdk17 --> <junit.version>5.13.3</junit.version> <jbig2.version>3.0.4</jbig2.version> <jai.version>1.4.0</jai.version> <commons-io.version>2.19.0</commons-io.version> <picocli.version>4.7.7</picocli.version> <!-- This is a default value to avoid problems when running single tests see also https://stackoverflow.com/a/28695766/535646 https://maven.apache.org/surefire/maven-surefire-plugin/faq.html#late-property-evaluation --> <surefireArgLine /> <!-- needed here since apache 32 --> <maven.compiler.source>11</maven.compiler.source> <maven.compiler.release>11</maven.compiler.release> </properties> <dependencyManagement> <dependencies> <!-- not used directly, updated to have less output from versions plugin --> <dependency> <groupId>org.apache.maven.plugin-tools</groupId> <artifactId>maven-plugin-annotations</artifactId> <version>3.15.1</version> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-bom</artifactId> <version>${log4j2.version}</version> <scope>import</scope> <type>pom</type> </dependency> </dependencies> </dependencyManagement> <build> <plugins> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.13</version> <configuration> <skip>${skipTests}</skip> </configuration> <executions> <execution> <goals> <goal>prepare-agent</goal> </goals> <configuration> <propertyName>surefireArgLine</propertyName> </configuration> </execution> <execution> <id>report</id> <phase>test</phase> <goals> <goal>report</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>3.6.0</version> <!-- this one is for checkstyle:check --> <configuration> <skip>${skipTests}</skip> <configLocation>checkstyle.xml</configLocation> <consoleOutput>true</consoleOutput> <includeTestSourceDirectory>true</includeTestSourceDirectory> <testSourceDirectories>${project.basedir}/src/test/java</testSourceDirectories> <failsOnError>true</failsOnError> </configuration> <!-- this one is for checkstyle in the complete build --> <executions> <execution> <id>check</id> <phase>validate</phase> <goals> <goal>check</goal> </goals> <configuration> <skip>${skipTests}</skip> <configLocation>checkstyle.xml</configLocation> <consoleOutput>true</consoleOutput> <includeTestSourceDirectory>true</includeTestSourceDirectory> <testSourceDirectories>${project.basedir}/src/test/java</testSourceDirectories> <failsOnError>true</failsOnError> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <configuration> <argLine>${addmod} @{surefireArgLine}</argLine> </configuration> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <showDeprecation>true</showDeprecation> <encoding>UTF-8</encoding> </configuration> </plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <sourcepath>src/main/java</sourcepath> <links> <link>https://docs.oracle.com/en/java/javase/11/docs/api/</link> </links> <encoding>UTF-8</encoding> <notimestamp>true</notimestamp> <locale>en</locale> </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> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manifest> <addDefaultImplementationEntries>true</addDefaultImplementationEntries> <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> </manifest> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> </plugins> <pluginManagement> <plugins> <plugin> <groupId>com.googlecode.maven-download-plugin</groupId> <artifactId>download-maven-plugin</artifactId> <version>1.13.0</version> <configuration> <skip>${skipTests}</skip> </configuration> </plugin> <plugin> <artifactId>maven-enforcer-plugin</artifactId> <version>3.6.0</version> <executions> <execution> <goals> <goal>enforce</goal> </goals> <configuration> <rules combine.children="append"> <requireMavenVersion> <version>3.6.3</version> </requireMavenVersion> </rules> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> <version>0.16.1</version> <configuration> <excludes> <exclude>release.properties</exclude> <exclude>.github/workflows/codeql-analysis.yml</exclude> </excludes> </configuration> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>5.1.9</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>3.6.0</version> </plugin> </plugins> </pluginManagement> </build> <profiles> <profile> <id>default</id> <activation> <activeByDefault>true</activeByDefault> </activation> <properties> <!-- needs to exist even if empty due to problems with jacoco-maven-plugin --> <addmod /> </properties> </profile> <profile> <id>pedantic</id> <properties> <!-- needs to exist even if empty due to problems with jacoco-maven-plugin --> <addmod /> </properties> <build> <plugins> <plugin> <artifactId>maven-surefire-plugin</artifactId> <configuration> <systemPropertyVariables> <!-- we don't want to DoS the TSA server, thus we test this only in pedantic mode --> <org.apache.pdfbox.examples.pdmodel.tsa>http://time.certum.pl</org.apache.pdfbox.examples.pdmodel.tsa> </systemPropertyVariables> </configuration> </plugin> <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> <groupId>org.owasp</groupId> <artifactId>dependency-check-maven</artifactId> <version>12.1.3</version> <configuration> <failBuildOnCVSS>0</failBuildOnCVSS> <!-- https://github.com/jeremylong/DependencyCheck/issues/1574 --> <skipSystemScope>true</skipSystemScope> </configuration> <executions> <execution> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> <!-- 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>gbailleul</id> <name>Guillaume Bailleul</name> <roles> <role>PMC Member</role> </roles> </developer> <developer> <id>hennejg</id> <name>Jörg Henne</name> <roles> <role>PMC Member</role> </roles> </developer> <developer> <id>holdersn</id> <name>Sebastian Holder</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>jeremias</id> <name>Jeremias Maerki</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>koch</id> <name>Johannes Koch</name> <roles> <role>PMC Member</role> </roles> </developer> <developer> <id>koehlecn</id> <name>Carolin Köhler</name> <roles> <role>PMC Member</role> </roles> </developer> <developer> <id>mmayer</id> <name>Matthäus Mayer</name> <roles> <role>PMC Member</role> </roles> </developer> <developer> <id>msahyoun</id> <name>Maruan Sahyoun</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>tallison</id> <name>Tim Allison</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> <developer> <id>leleueri</id> <name>Eric Leleu</name> <roles> <role>Emeritus PMC Member</role> </roles> </developer> <developer> <id>jukka</id> <name>Jukka Zitting</name> <roles> <role>Emeritus PMC Member</role> </roles> </developer> </developers> </project>