1<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
2  <modelVersion>4.0.0</modelVersion>
3
4  <!-- The Basics -->
5  <groupId>com.gitlab.pdftk-java</groupId>
6  <version>3.3.2</version>
7  <artifactId>pdftk-java</artifactId>
8  <packaging>jar</packaging>
9  <dependencies>
10    <dependency>
11      <groupId>org.bouncycastle</groupId>
12      <artifactId>bcprov-jdk15on</artifactId>
13      <version>1.70</version>
14    </dependency>
15    <dependency>
16      <groupId>org.apache.commons</groupId>
17      <artifactId>commons-lang3</artifactId>
18      <version>3.12.0</version>
19    </dependency>
20    <dependency>
21      <groupId>junit</groupId>
22      <artifactId>junit</artifactId>
23      <version>4.12</version>
24      <scope>test</scope>
25    </dependency>
26    <dependency>
27      <groupId>com.github.stefanbirkner</groupId>
28      <artifactId>system-rules</artifactId>
29      <version>1.19.0</version>
30      <scope>test</scope>
31    </dependency>
32  </dependencies>
33  <properties>
34    <maven.compiler.source>1.8</maven.compiler.source>
35    <maven.compiler.target>1.8</maven.compiler.target>
36    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
37  </properties>
38
39  <!-- Build Settings -->
40  <build>
41    <sourceDirectory>java</sourceDirectory>
42    <testSourceDirectory>test</testSourceDirectory>
43    <resources>
44      <resource>
45        <directory>java</directory>
46        <includes>
47          <include>**/*.afm</include>
48          <include>**/*.txt</include>
49        </includes>
50      </resource>
51    </resources>
52    <plugins>
53      <plugin>
54        <groupId>biz.aQute.bnd</groupId>
55        <artifactId>bnd-maven-plugin</artifactId>
56        <version>5.3.0</version>
57        <executions>
58          <execution>
59            <goals>
60              <goal>bnd-process</goal>
61            </goals>
62          </execution>
63        </executions>
64        <configuration>
65          <bnd>
66            Main-Class: com.gitlab.pdftk_java.pdftk
67          </bnd>
68        </configuration>
69      </plugin>
70      <plugin>
71        <groupId>org.apache.maven.plugins</groupId>
72        <artifactId>maven-jar-plugin</artifactId>
73        <version>3.2.0</version>
74        <configuration>
75          <archive>
76            <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
77          </archive>
78        </configuration>
79      </plugin>
80      <plugin>
81        <groupId>org.jacoco</groupId>
82        <artifactId>jacoco-maven-plugin</artifactId>
83        <version>0.8.4</version>
84        <executions>
85          <execution>
86            <id>default-prepare-agent</id>
87            <goals>
88              <goal>prepare-agent</goal>
89            </goals>
90          </execution>
91          <execution>
92            <id>default-report</id>
93            <goals>
94              <goal>report</goal>
95            </goals>
96          </execution>
97          <execution>
98            <id>default-check</id>
99            <goals>
100              <goal>check</goal>
101            </goals>
102          </execution>
103        </executions>
104      </plugin>
105    </plugins>
106  </build>
107
108  <!-- More Project Information -->
109  <name>PDFtk Java</name>
110  <description>A port of pdftk into java</description>
111  <url>https://gitlab.com/pdftk-java/pdftk</url>
112</project>
113