aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2023-04-23 19:30:29 +0200
committerTeddy Wing2023-04-23 19:30:29 +0200
commitcc3bdedf289001e40cfd02c758dacab5ba34d23c (patch)
tree358ac933c7b1daabf47fe918436cc2c9ed99ecad
parentaa6cd741da4781fbc50e398f22cda324b2f904f7 (diff)
downloadpdf-form-replace-font2-cc3bdedf289001e40cfd02c758dacab5ba34d23c.tar.bz2
pom.xml: Add iText 7.2.5 dependency
Thanks to this Stack Overflow answer by Raphaƫl Colantonio (https://stackoverflow.com/users/3728901/rapha%c3%abl-colantonio) for the tip about type:pom : https://stackoverflow.com/questions/70086051/itextpdf-dependency-not-found-by-maven/70090910#70090910 Without that tag, the compile failed.
-rw-r--r--pom.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 366c117..3fe7edd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -7,6 +7,7 @@
<groupId>com.teddywing.pdf_form_replace_font2</groupId>
<artifactId>pdf-form-replace-font2</artifactId>
<version>0.0.1-SNAPSHOT</version>
+ <packaging>jar</packaging>
<name>pdf-form-replace-font2</name>
<description>A simple pdf-form-replace-font2.</description>
@@ -21,9 +22,18 @@
<dependencies>
<dependency>
+ <groupId>com.itextpdf</groupId>
+ <artifactId>itext7-core</artifactId>
+ <version>7.2.5</version>
+ <type>pom</type>
+ <scope>compile</scope>
+ </dependency>
+
+ <dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
+ <scope>test</scope>
</dependency>
</dependencies>