Author: lehmi Date: Mon Nov 6 07:05:11 2023 New Revision: 1913608 URL: http://svn.apache.org/viewvc?rev=1913608&view=rev Log: PDFBOX-5699: remove parent subproject, establish release subproject
Added: pdfbox/branches/3.0/release/ pdfbox/branches/3.0/release/assembly.xml (with props) pdfbox/branches/3.0/release/pom.xml (with props) Removed: pdfbox/branches/3.0/assembly.xml pdfbox/branches/3.0/parent/ Modified: pdfbox/branches/3.0/app/pom.xml pdfbox/branches/3.0/debugger-app/pom.xml pdfbox/branches/3.0/debugger/pom.xml pdfbox/branches/3.0/examples/pom.xml pdfbox/branches/3.0/fontbox/pom.xml pdfbox/branches/3.0/io/pom.xml pdfbox/branches/3.0/pdfbox/pom.xml pdfbox/branches/3.0/pom.xml pdfbox/branches/3.0/preflight-app/pom.xml pdfbox/branches/3.0/preflight/pom.xml pdfbox/branches/3.0/tools/pom.xml pdfbox/branches/3.0/xmpbox/pom.xml Modified: pdfbox/branches/3.0/app/pom.xml URL: http://svn.apache.org/viewvc/pdfbox/branches/3.0/app/pom.xml?rev=1913608&r1=1913607&r2=1913608&view=diff ============================================================================== --- pdfbox/branches/3.0/app/pom.xml (original) +++ pdfbox/branches/3.0/app/pom.xml Mon Nov 6 07:05:11 2023 @@ -24,13 +24,12 @@ <groupId>org.apache.pdfbox</groupId> <artifactId>pdfbox-parent</artifactId> <version>3.0.1-SNAPSHOT</version> - <relativePath>../parent/pom.xml</relativePath> + <relativePath>../pom.xml</relativePath> </parent> <artifactId>pdfbox-app</artifactId> <packaging>bundle</packaging> <name>Apache PDFBox application</name> - <url>http://pdfbox.apache.org/</url> <dependencies> <dependency> @@ -42,21 +41,25 @@ <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcpkix-jdk18on</artifactId> + <version>${bouncycastle.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcprov-jdk18on</artifactId> + <version>${bouncycastle.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> + <version>${commons-io.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.pdfbox</groupId> <artifactId>jbig2-imageio</artifactId> + <version>${jbig2.version}</version> <scope>provided</scope> </dependency> </dependencies> @@ -73,7 +76,7 @@ <Embed-Transitive>true</Embed-Transitive> <Embed-Dependency>*;scope=provided;inline=org/apache/**|org/bouncycastle/**|picocli/**|META-INF/services/**</Embed-Dependency> <Bundle-DocURL>${project.url}</Bundle-DocURL> - <Import-Package>!org.junit.jupiter,javax.*;resolution:=optional,org.apache.avalon.framework.logger;resolution:=optional,org.apache.log;resolution:=optional,*</Import-Package> + <Import-Package>javax.*;resolution:=optional,org.apache.avalon.framework.logger;resolution:=optional,org.apache.log;resolution:=optional,*</Import-Package> <Main-Class>org.apache.pdfbox.tools.PDFBox</Main-Class> </instructions> </configuration> Modified: pdfbox/branches/3.0/debugger-app/pom.xml URL: http://svn.apache.org/viewvc/pdfbox/branches/3.0/debugger-app/pom.xml?rev=1913608&r1=1913607&r2=1913608&view=diff ============================================================================== --- pdfbox/branches/3.0/debugger-app/pom.xml (original) +++ pdfbox/branches/3.0/debugger-app/pom.xml Mon Nov 6 07:05:11 2023 @@ -24,13 +24,13 @@ <groupId>org.apache.pdfbox</groupId> <artifactId>pdfbox-parent</artifactId> <version>3.0.1-SNAPSHOT</version> - <relativePath>../parent/pom.xml</relativePath> + <relativePath>../pom.xml</relativePath> </parent> <artifactId>debugger-app</artifactId> <packaging>bundle</packaging> <name>Apache PDFBox Debugger application</name> - <url>http://pdfbox.apache.org/</url> + <url>https://pdfbox.apache.org/</url> <dependencies> <dependency> @@ -42,16 +42,19 @@ <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcpkix-jdk18on</artifactId> + <version>${bouncycastle.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcprov-jdk18on</artifactId> + <version>${bouncycastle.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.pdfbox</groupId> <artifactId>jbig2-imageio</artifactId> + <version>${jbig2.version}</version> <scope>provided</scope> </dependency> </dependencies> @@ -68,7 +71,7 @@ <Embed-Transitive>true</Embed-Transitive> <Embed-Dependency>*;scope=provided;inline=org/apache/**|org/bouncycastle/**|picocli/**|META-INF/services/**</Embed-Dependency> <Bundle-DocURL>${project.url}</Bundle-DocURL> - <Import-Package>!org.junit.jupiter,javax.*;resolution:=optional,org.apache.avalon.framework.logger;resolution:=optional,org.apache.log;resolution:=optional,*</Import-Package> + <Import-Package>javax.*;resolution:=optional,org.apache.avalon.framework.logger;resolution:=optional,org.apache.log;resolution:=optional,*</Import-Package> <Main-Class>org.apache.pdfbox.debugger.PDFDebugger</Main-Class> </instructions> </configuration> Modified: pdfbox/branches/3.0/debugger/pom.xml URL: http://svn.apache.org/viewvc/pdfbox/branches/3.0/debugger/pom.xml?rev=1913608&r1=1913607&r2=1913608&view=diff ============================================================================== --- pdfbox/branches/3.0/debugger/pom.xml (original) +++ pdfbox/branches/3.0/debugger/pom.xml Mon Nov 6 07:05:11 2023 @@ -24,7 +24,7 @@ <groupId>org.apache.pdfbox</groupId> <artifactId>pdfbox-parent</artifactId> <version>3.0.1-SNAPSHOT</version> - <relativePath>../parent/pom.xml</relativePath> + <relativePath>../pom.xml</relativePath> </parent> <artifactId>pdfbox-debugger</artifactId> @@ -46,10 +46,12 @@ <dependency> <groupId>info.picocli</groupId> <artifactId>picocli</artifactId> + <version>${picocli.version}</version> </dependency> <dependency> <groupId>org.apache.pdfbox</groupId> <artifactId>jbig2-imageio</artifactId> + <version>${jbig2.version}</version> <scope>test</scope> </dependency> <!-- For legal reasons (incompatible license), these two dependencies @@ -58,11 +60,13 @@ <dependency> <groupId>com.github.jai-imageio</groupId> <artifactId>jai-imageio-core</artifactId> + <version>${jai.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.github.jai-imageio</groupId> <artifactId>jai-imageio-jpeg2000</artifactId> + <version>${jai.version}</version> <scope>test</scope> </dependency> </dependencies> Modified: pdfbox/branches/3.0/examples/pom.xml URL: http://svn.apache.org/viewvc/pdfbox/branches/3.0/examples/pom.xml?rev=1913608&r1=1913607&r2=1913608&view=diff ============================================================================== --- pdfbox/branches/3.0/examples/pom.xml (original) +++ pdfbox/branches/3.0/examples/pom.xml Mon Nov 6 07:05:11 2023 @@ -24,7 +24,7 @@ <groupId>org.apache.pdfbox</groupId> <artifactId>pdfbox-parent</artifactId> <version>3.0.1-SNAPSHOT</version> - <relativePath>../parent/pom.xml</relativePath> + <relativePath>../pom.xml</relativePath> </parent> <artifactId>pdfbox-examples</artifactId> @@ -46,10 +46,12 @@ <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcprov-jdk18on</artifactId> + <version>${bouncycastle.version}</version> </dependency> <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcpkix-jdk18on</artifactId> + <version>${bouncycastle.version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> @@ -85,6 +87,7 @@ <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter</artifactId> + <version>${junit.version}</version> </dependency> <dependency> <groupId>javax.servlet</groupId> Modified: pdfbox/branches/3.0/fontbox/pom.xml URL: http://svn.apache.org/viewvc/pdfbox/branches/3.0/fontbox/pom.xml?rev=1913608&r1=1913607&r2=1913608&view=diff ============================================================================== --- pdfbox/branches/3.0/fontbox/pom.xml (original) +++ pdfbox/branches/3.0/fontbox/pom.xml Mon Nov 6 07:05:11 2023 @@ -22,7 +22,7 @@ <groupId>org.apache.pdfbox</groupId> <artifactId>pdfbox-parent</artifactId> <version>3.0.1-SNAPSHOT</version> - <relativePath>../parent/pom.xml</relativePath> + <relativePath>../pom.xml</relativePath> </parent> <artifactId>fontbox</artifactId> @@ -46,10 +46,12 @@ <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> + <version>${commons-logging.version}</version> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter</artifactId> + <version>${junit.version}</version> </dependency> </dependencies> Modified: pdfbox/branches/3.0/io/pom.xml URL: http://svn.apache.org/viewvc/pdfbox/branches/3.0/io/pom.xml?rev=1913608&r1=1913607&r2=1913608&view=diff ============================================================================== --- pdfbox/branches/3.0/io/pom.xml (original) +++ pdfbox/branches/3.0/io/pom.xml Mon Nov 6 07:05:11 2023 @@ -24,7 +24,7 @@ <groupId>org.apache.pdfbox</groupId> <artifactId>pdfbox-parent</artifactId> <version>3.0.1-SNAPSHOT</version> - <relativePath>../parent/pom.xml</relativePath> + <relativePath>../pom.xml</relativePath> </parent> <artifactId>pdfbox-io</artifactId> @@ -41,10 +41,12 @@ <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> + <version>${commons-logging.version}</version> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter</artifactId> + <version>${junit.version}</version> </dependency> </dependencies> Modified: pdfbox/branches/3.0/pdfbox/pom.xml URL: http://svn.apache.org/viewvc/pdfbox/branches/3.0/pdfbox/pom.xml?rev=1913608&r1=1913607&r2=1913608&view=diff ============================================================================== --- pdfbox/branches/3.0/pdfbox/pom.xml (original) +++ pdfbox/branches/3.0/pdfbox/pom.xml Mon Nov 6 07:05:11 2023 @@ -24,7 +24,7 @@ <groupId>org.apache.pdfbox</groupId> <artifactId>pdfbox-parent</artifactId> <version>3.0.1-SNAPSHOT</version> - <relativePath>../parent/pom.xml</relativePath> + <relativePath>../pom.xml</relativePath> </parent> <artifactId>pdfbox</artifactId> @@ -54,22 +54,26 @@ <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> + <version>${commons-logging.version}</version> </dependency> <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcprov-jdk18on</artifactId> + <version>${bouncycastle.version}</version> <scope>compile</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcpkix-jdk18on</artifactId> + <version>${bouncycastle.version}</version> <scope>compile</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter</artifactId> + <version>${junit.version}</version> </dependency> <dependency> <groupId>com.googlecode.java-diff-utils</groupId> @@ -80,6 +84,7 @@ <dependency> <groupId>org.apache.pdfbox</groupId> <artifactId>jbig2-imageio</artifactId> + <version>${jbig2.version}</version> <scope>test</scope> </dependency> <dependency> @@ -94,11 +99,13 @@ <dependency> <groupId>com.github.jai-imageio</groupId> <artifactId>jai-imageio-core</artifactId> + <version>${jai.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.github.jai-imageio</groupId> <artifactId>jai-imageio-jpeg2000</artifactId> + <version>${jai.version}</version> <scope>test</scope> </dependency> <dependency> Modified: pdfbox/branches/3.0/pom.xml URL: http://svn.apache.org/viewvc/pdfbox/branches/3.0/pom.xml?rev=1913608&r1=1913607&r2=1913608&view=diff ============================================================================== --- pdfbox/branches/3.0/pom.xml (original) +++ pdfbox/branches/3.0/pom.xml Mon Nov 6 07:05:11 2023 @@ -21,19 +21,57 @@ <modelVersion>4.0.0</modelVersion> <parent> - <groupId>org.apache.pdfbox</groupId> - <artifactId>pdfbox-parent</artifactId> - <version>3.0.1-SNAPSHOT</version> - <relativePath>parent/pom.xml</relativePath> + <groupId>org.apache</groupId> + <artifactId>apache</artifactId> + <version>30</version> + <relativePath /> </parent> - <artifactId>pdfbox-reactor</artifactId> + <groupId>org.apache.pdfbox</groupId> + <artifactId>pdfbox-parent</artifactId> <packaging>pom</packaging> + <version>3.0.1-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/branches/3.0</connection> + <developerConnection>scm:svn:https://svn.apache.org/repos/asf/pdfbox/branches/3.0</developerConnection> + <url>https://svn.apache.org/viewvc/pdfbox/branches/3.0</url> + </scm> + + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> + + <bouncycastle.version>1.76</bouncycastle.version> + <junit.version>5.10.0</junit.version> + <jbig2.version>3.0.4</jbig2.version> + <jai.version>1.4.0</jai.version> + <commons-io.version>2.15.0</commons-io.version> + <commons-logging.version>1.2</commons-logging.version> + <picocli.version>4.7.5</picocli.version> + <log4j2.version>2.21.0</log4j2.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 /> + </properties> - <name>Apache PDFBox</name> <modules> - <module>parent</module> <module>io</module> <module>fontbox</module> <module>xmpbox</module> @@ -45,129 +83,453 @@ <module>app</module> <module>debugger-app</module> <module>examples</module> + <module>release</module> </modules> <build> <plugins> <plugin> - <artifactId>maven-deploy-plugin</artifactId> - <configuration> - <skip>true</skip> - </configuration> + <groupId>org.jacoco</groupId> + <artifactId>jacoco-maven-plugin</artifactId> + <version>0.8.11</version> + <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> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <argLine>${addmod} @{surefireArgLine}</argLine> + </configuration> + </plugin> + <plugin> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <showDeprecation>true</showDeprecation> + <target>1.8</target> + <source>1.8</source> + <encoding>UTF-8</encoding> + </configuration> + </plugin> + <plugin> + <artifactId>maven-javadoc-plugin</artifactId> + <configuration> + <source>1.8</source> + <links> + <link>https://docs.oracle.com/javase/8/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.codehaus.mojo</groupId> + <artifactId>animal-sniffer-maven-plugin</artifactId> + <version>1.23</version> + <executions> + <execution> + <id>check-java-version</id> + <phase>test</phase> + <goals> + <goal>check</goal> + </goals> + <configuration> + <skip>${skipTests}</skip> + <signature> + <groupId>org.codehaus.mojo.signature</groupId> + <artifactId>java18</artifactId> + <version>1.0</version> + </signature> + <ignores> + <ignore>java.lang.invoke.MethodHandle</ignore> + </ignores> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>com.googlecode.maven-download-plugin</groupId> + <artifactId>download-maven-plugin</artifactId> + <version>1.6.8</version> + <configuration> + <skip>${skipTests}</skip> + </configuration> </plugin> </plugins> + <pluginManagement> + <plugins> + <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> + <plugin> + <artifactId>maven-enforcer-plugin</artifactId> + <version>3.4.1</version> + <executions> + <execution> + <goals> + <goal>enforce</goal> + </goals> + <configuration> + <rules combine.children="append"> + <requireMavenVersion> + <version>3.5</version> + </requireMavenVersion> + </rules> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <version>0.15</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> + </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> + <!-- call mvn with -Pjdk9 or call with -Daddmod="...." --> + <profile> + <id>jdk9</id> + <!-- + allows automatic activation when jdk9 or jdk10 are used + https://maven.apache.org/guides/introduction/introduction-to-profiles.html + https://maven.apache.org/enforcer/enforcer-rules/versionRanges.html + --> + <activation> + <jdk>[9,10]</jdk> + </activation> + <properties> + <!-- needs to exist even if empty due to problems with jacoco-maven-plugin --> + <addmod /> + </properties> + </profile> + <!-- need to specify release version so that if PDFBox is built with + > Java 8, it can still be run with e.g. Java 6; PDFBOX-4715 --> + <profile> + <id>jdkGte9</id> + <activation> + <jdk>[1.9,)</jdk> + </activation> + <build> + <plugins> + <plugin> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <release>8</release> + </configuration> + </plugin> + </plugins> + </build> + </profile> + <profile> + <id>jdk11</id> + <activation> + <jdk>[11,)</jdk> + </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>8.4.2</version> + <configuration> + <failBuildOnAnyVulnerability>true</failBuildOnAnyVulnerability> + <!-- https://github.com/jeremylong/DependencyCheck/issues/1574 --> + <skipSystemScope>true</skipSystemScope> + </configuration> + <executions> + <execution> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + <profile> <id>apache-release</id> <build> <plugins> <plugin> <artifactId>maven-assembly-plugin</artifactId> - <version>3.6.0</version> <executions> <execution> - <goals> - <goal>single</goal> - </goals> - <phase>package</phase> <configuration> - <finalName>pdfbox-${project.version}</finalName> - <descriptors> - <descriptor>assembly.xml</descriptor> - </descriptors> + <skipAssembly>true</skipAssembly> </configuration> </execution> </executions> </plugin> - <plugin> - <artifactId>maven-antrun-plugin</artifactId> - <version>3.1.0</version> - <executions> - <execution> - <goals> - <goal>run</goal> - </goals> - <phase>deploy</phase> - <configuration> - <target> - <mkdir dir="${basedir}/target/${project.version}" /> - <copy todir="${basedir}/target/${project.version}" flatten="true"> - <fileset dir="${basedir}"> - <include name="RELEASE-NOTES.txt" /> - <include name="target/*-src.zip*" /> - <include name="io/target/*-${project.version}.jar*" /> - <include name="fontbox/target/*-${project.version}.jar*" /> - <include name="pdfbox/target/*-${project.version}.jar*" /> - <include name="xmpbox/target/*-${project.version}.jar*" /> - <include name="preflight/target/*-${project.version}.jar*" /> - <include name="debugger/target/*-${project.version}.jar*" /> - <include name="tools/target/*-${project.version}.jar*" /> - <include name="app/target/*-${project.version}.jar*" /> - <include name="preflight-app/target/*-${project.version}.jar*" /> - <include name="debugger-app/target/*-${project.version}.jar*" /> - </fileset> - </copy> - <checksum algorithm="SHA-512" fileext=".sha512"> - <fileset dir="${basedir}/target/${project.version}"> - <include name="*.zip" /> - <include name="*.jar" /> - </fileset> - </checksum> - <checksum file="${basedir}/target/${project.version}/pdfbox-${project.version}-src.zip" algorithm="SHA-512" property="checksum" /> - <echo file="${basedir}/target/vote.txt"> -From: ${username}@apache.org -To: d...@pdfbox.apache.org -Subject: [VOTE] Release Apache PDFBox ${project.version} - -A candidate for the PDFBox ${project.version} release is available at: - - https://dist.apache.org/repos/dist/dev/pdfbox/${project.version}/ - -The release candidate is a zip archive of the sources in: - - https://svn.apache.org/repos/asf/pdfbox/tags/${project.version}/ - -The SHA-512 checksum of the archive is ${checksum}. - -Please vote on releasing this package as Apache PDFBox ${project.version}. -The vote is open for the next 72 hours and passes if a majority of at -least three +1 PDFBox PMC votes are cast. - - [ ] +1 Release this package as Apache PDFBox ${project.version} - [ ] -1 Do not release this package because...${line.separator} - </echo> - <echo /> - <echo> -The release candidate has been prepared in: - - ${basedir}/target/${project.version} - -Please commit it to - - https://dist.apache.org/repos/dist/dev/pdfbox/${project.version}/ - -A release vote template has been generated for you: - - file://${basedir}/target/vote.txt - </echo> - <echo /> - </target> - </configuration> - </execution> - </executions> - <dependencies> - <dependency> - <groupId>org.apache.ant</groupId> - <artifactId>ant-nodeps</artifactId> - <version>1.8.1</version> - </dependency> - </dependencies> - </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> Modified: pdfbox/branches/3.0/preflight-app/pom.xml URL: http://svn.apache.org/viewvc/pdfbox/branches/3.0/preflight-app/pom.xml?rev=1913608&r1=1913607&r2=1913608&view=diff ============================================================================== Binary files - no diff available. Modified: pdfbox/branches/3.0/preflight/pom.xml URL: http://svn.apache.org/viewvc/pdfbox/branches/3.0/preflight/pom.xml?rev=1913608&r1=1913607&r2=1913608&view=diff ============================================================================== --- pdfbox/branches/3.0/preflight/pom.xml (original) +++ pdfbox/branches/3.0/preflight/pom.xml Mon Nov 6 07:05:11 2023 @@ -27,7 +27,7 @@ <groupId>org.apache.pdfbox</groupId> <artifactId>pdfbox-parent</artifactId> <version>3.0.1-SNAPSHOT</version> - <relativePath>../parent/pom.xml</relativePath> + <relativePath>../pom.xml</relativePath> </parent> <!-- enable the Bavaria tests with -Dskip-bavaria=false --> @@ -145,6 +145,7 @@ <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> + <version>${commons-io.version}</version> <scope>test</scope> </dependency> <dependency> @@ -160,6 +161,7 @@ <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter</artifactId> + <version>${junit.version}</version> </dependency> <!-- TODO find a suitable place to store the isator test pdfs <dependency> <groupId>org.pdfa</groupId> <artifactId>isartor</artifactId> <version>1.0-20080813</version> @@ -167,6 +169,7 @@ <dependency> <groupId>org.apache.pdfbox</groupId> <artifactId>jbig2-imageio</artifactId> + <version>${jbig2.version}</version> <scope>test</scope> </dependency> Added: pdfbox/branches/3.0/release/assembly.xml URL: http://svn.apache.org/viewvc/pdfbox/branches/3.0/release/assembly.xml?rev=1913608&view=auto ============================================================================== --- pdfbox/branches/3.0/release/assembly.xml (added) +++ pdfbox/branches/3.0/release/assembly.xml Mon Nov 6 07:05:11 2023 @@ -0,0 +1,33 @@ +<!-- + 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. +--> +<assembly> + <id>src</id> + <formats> + <format>zip</format> + </formats> + <fileSets> + <fileSet> + <directory>${project.basedir}/..</directory> + <outputDirectory></outputDirectory> + <excludes> + <exclude>**/release/**</exclude> + <exclude>**/target/**</exclude> + <exclude>**/.*/**</exclude> + </excludes> + </fileSet> + </fileSets> +</assembly> Propchange: pdfbox/branches/3.0/release/assembly.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: pdfbox/branches/3.0/release/assembly.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Added: pdfbox/branches/3.0/release/pom.xml URL: http://svn.apache.org/viewvc/pdfbox/branches/3.0/release/pom.xml?rev=1913608&view=auto ============================================================================== --- pdfbox/branches/3.0/release/pom.xml (added) +++ pdfbox/branches/3.0/release/pom.xml Mon Nov 6 07:05:11 2023 @@ -0,0 +1,161 @@ +<?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.pdfbox</groupId> + <artifactId>pdfbox-parent</artifactId> + <version>3.0.1-SNAPSHOT</version> + <relativePath>../pom.xml</relativePath> + </parent> + + <artifactId>pdfbox-release</artifactId> + <packaging>pom</packaging> + <name>Apache PDFBox release</name> + + <build> + <plugins> + <plugin> + <artifactId>maven-deploy-plugin</artifactId> + <configuration> + <skip>true</skip> + </configuration> + </plugin> + </plugins> + </build> + + <profiles> + <profile> + <id>apache-release</id> + <properties> + <!-- needs to exist even if empty due to problems with jacoco-maven-plugin --> + <addmod /> + </properties> + <build> + <plugins> + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>single</goal> + </goals> + <phase>package</phase> + <configuration> + <finalName>pdfbox-${project.version}</finalName> + <skipAssembly>false</skipAssembly> + <descriptors> + <descriptor>assembly.xml</descriptor> + </descriptors> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <goals> + <goal>run</goal> + </goals> + <phase>deploy</phase> + <configuration> + <target name="prepare-release"> + <mkdir dir="${basedir}/target/${project.version}" /> + <copy todir="${basedir}/target/${project.version}" flatten="true"> + <fileset dir="${basedir}/.."> + <include name="RELEASE-NOTES.txt" /> + <include name="release/target/*-src.zip*" /> + <include name="io/target/*-${project.version}.jar*" /> + <include name="fontbox/target/*-${project.version}.jar*" /> + <include name="pdfbox/target/*-${project.version}.jar*" /> + <include name="xmpbox/target/*-${project.version}.jar*" /> + <include name="preflight/target/*-${project.version}.jar*" /> + <include name="debugger/target/*-${project.version}.jar*" /> + <include name="tools/target/*-${project.version}.jar*" /> + <include name="app/target/*-${project.version}.jar*" /> + <include name="preflight-app/target/*-${project.version}.jar*" /> + <include name="debugger-app/target/*-${project.version}.jar*" /> + </fileset> + </copy> + <checksum algorithm="SHA-512" fileext=".sha512"> + <fileset dir="${basedir}/target/${project.version}"> + <include name="*.zip" /> + <include name="*.jar" /> + </fileset> + </checksum> + <checksum file="${basedir}/target/${project.version}/pdfbox-${project.version}-src.zip" algorithm="SHA-512" property="checksum" /> + <echo file="${basedir}/target/vote.txt"> +From: ${username}@apache.org +To: d...@pdfbox.apache.org +Subject: [VOTE] Release Apache PDFBox ${project.version} + +A candidate for the PDFBox ${project.version} release is available at: + + https://dist.apache.org/repos/dist/dev/pdfbox/${project.version}/ + +The release candidate is a zip archive of the sources in: + + https://svn.apache.org/repos/asf/pdfbox/tags/${project.version}/ + +The SHA-512 checksum of the archive is ${checksum}. + +Please vote on releasing this package as Apache PDFBox ${project.version}. +The vote is open for the next 72 hours and passes if a majority of at +least three +1 PDFBox PMC votes are cast. + + [ ] +1 Release this package as Apache PDFBox ${project.version} + [ ] -1 Do not release this package because...${line.separator} + </echo> + <echo /> + <echo> +The release candidate has been prepared in: + + ${basedir}/target/${project.version} + +Please commit it to + + https://dist.apache.org/repos/dist/dev/pdfbox/${project.version}/ + +A release vote template has been generated for you: + + file://${basedir}/target/vote.txt + </echo> + <echo /> + </target> + </configuration> + </execution> + </executions> + <dependencies> + <dependency> + <groupId>org.apache.ant</groupId> + <artifactId>ant-nodeps</artifactId> + <version>1.8.1</version> + </dependency> + </dependencies> + </plugin> + </plugins> + </build> + </profile> + </profiles> + +</project> Propchange: pdfbox/branches/3.0/release/pom.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: pdfbox/branches/3.0/release/pom.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Modified: pdfbox/branches/3.0/tools/pom.xml URL: http://svn.apache.org/viewvc/pdfbox/branches/3.0/tools/pom.xml?rev=1913608&r1=1913607&r2=1913608&view=diff ============================================================================== --- pdfbox/branches/3.0/tools/pom.xml (original) +++ pdfbox/branches/3.0/tools/pom.xml Mon Nov 6 07:05:11 2023 @@ -24,7 +24,7 @@ <groupId>org.apache.pdfbox</groupId> <artifactId>pdfbox-parent</artifactId> <version>3.0.1-SNAPSHOT</version> - <relativePath>../parent/pom.xml</relativePath> + <relativePath>../pom.xml</relativePath> </parent> <artifactId>pdfbox-tools</artifactId> @@ -46,19 +46,23 @@ <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> + <version>${commons-io.version}</version> <scope>compile</scope> </dependency> <dependency> <groupId>info.picocli</groupId> <artifactId>picocli</artifactId> + <version>${picocli.version}</version> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter</artifactId> + <version>${junit.version}</version> </dependency> <dependency> <groupId>org.apache.pdfbox</groupId> <artifactId>jbig2-imageio</artifactId> + <version>${jbig2.version}</version> <scope>test</scope> </dependency> <!-- For legal reasons (incompatible license), these two dependencies @@ -67,11 +71,13 @@ <dependency> <groupId>com.github.jai-imageio</groupId> <artifactId>jai-imageio-core</artifactId> + <version>${jai.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.github.jai-imageio</groupId> <artifactId>jai-imageio-jpeg2000</artifactId> + <version>${jai.version}</version> <scope>test</scope> </dependency> </dependencies> Modified: pdfbox/branches/3.0/xmpbox/pom.xml URL: http://svn.apache.org/viewvc/pdfbox/branches/3.0/xmpbox/pom.xml?rev=1913608&r1=1913607&r2=1913608&view=diff ============================================================================== --- pdfbox/branches/3.0/xmpbox/pom.xml (original) +++ pdfbox/branches/3.0/xmpbox/pom.xml Mon Nov 6 07:05:11 2023 @@ -28,17 +28,19 @@ <groupId>org.apache.pdfbox</groupId> <artifactId>pdfbox-parent</artifactId> <version>3.0.1-SNAPSHOT</version> - <relativePath>../parent/pom.xml</relativePath> + <relativePath>../pom.xml</relativePath> </parent> <dependencies> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter</artifactId> - </dependency> + <version>${junit.version}</version> + </dependency> <dependency> - <groupId>commons-logging</groupId> - <artifactId>commons-logging</artifactId> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + <version>${commons-logging.version}</version> </dependency> </dependencies>