diff options
| author | Teddy Wing | 2023-04-23 19:30:29 +0200 | 
|---|---|---|
| committer | Teddy Wing | 2023-04-23 19:30:29 +0200 | 
| commit | cc3bdedf289001e40cfd02c758dacab5ba34d23c (patch) | |
| tree | 358ac933c7b1daabf47fe918436cc2c9ed99ecad | |
| parent | aa6cd741da4781fbc50e398f22cda324b2f904f7 (diff) | |
| download | pdf-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.xml | 10 | 
1 files changed, 10 insertions, 0 deletions
| @@ -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> | 
