Skip to content

Commit

Permalink
Add logic to pull in Forms Extension into Forms samples
Browse files Browse the repository at this point in the history
  • Loading branch information
datalogics-saharay committed Jun 11, 2024
1 parent 14b1b8a commit da1e76f
Show file tree
Hide file tree
Showing 4 changed files with 168 additions and 48 deletions.
54 changes: 42 additions & 12 deletions Forms/ConvertXFAToAcroForms/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,6 @@
<jni.classifier>win-x86-64-jni</jni.classifier>
</properties>
</profile>
<profile>
<id>MacArm</id>
<activation>
<os>
<family>mac</family>
<arch>aarch64</arch>
</os>
</activation>
<properties>
<jni.classifier>mac-arm-64-jni</jni.classifier>
</properties>
</profile>
<profile>
<id>Linux64</id>
<activation>
Expand Down Expand Up @@ -79,6 +67,30 @@
<version>18.36.0</version>
<classifier>javadoc</classifier>
</dependency>
<dependency>
<groupId>com.datalogics.pdfl</groupId>
<artifactId>forms-extension</artifactId>
<version>18.37.0</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>com.datalogics.pdfl</groupId>
<artifactId>forms-extension</artifactId>
<version>18.37.0</version>
</dependency>
<dependency>
<groupId>com.datalogics.pdfl</groupId>
<artifactId>forms-extension</artifactId>
<version>18.37.0</version>
<type>zip</type>
<classifier>${jni.classifier}</classifier>
</dependency>
<dependency>
<groupId>com.datalogics.pdfl</groupId>
<artifactId>forms-extension</artifactId>
<version>18.37.0</version>
<classifier>javadoc</classifier>
</dependency>
</dependencies>
<build>
<pluginManagement>
Expand Down Expand Up @@ -131,6 +143,24 @@
</artifactItems>
</configuration>
</execution>
<execution>
<id>unpack-forms-extension</id>
<phase>generate-resources</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>com.datalogics.pdfl</groupId>
<artifactId>forms-extension</artifactId>
<classifier>${jni.classifier}</classifier>
<type>zip</type>
<outputDirectory>${project.build.directory}/lib</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
Expand Down
54 changes: 42 additions & 12 deletions Forms/ExportFormsData/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,6 @@
<jni.classifier>win-x86-64-jni</jni.classifier>
</properties>
</profile>
<profile>
<id>MacArm</id>
<activation>
<os>
<family>mac</family>
<arch>aarch64</arch>
</os>
</activation>
<properties>
<jni.classifier>mac-arm-64-jni</jni.classifier>
</properties>
</profile>
<profile>
<id>Linux64</id>
<activation>
Expand Down Expand Up @@ -79,6 +67,30 @@
<version>18.36.0</version>
<classifier>javadoc</classifier>
</dependency>
<dependency>
<groupId>com.datalogics.pdfl</groupId>
<artifactId>forms-extension</artifactId>
<version>18.37.0</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>com.datalogics.pdfl</groupId>
<artifactId>forms-extension</artifactId>
<version>18.37.0</version>
</dependency>
<dependency>
<groupId>com.datalogics.pdfl</groupId>
<artifactId>forms-extension</artifactId>
<version>18.37.0</version>
<type>zip</type>
<classifier>${jni.classifier}</classifier>
</dependency>
<dependency>
<groupId>com.datalogics.pdfl</groupId>
<artifactId>forms-extension</artifactId>
<version>18.37.0</version>
<classifier>javadoc</classifier>
</dependency>
</dependencies>
<build>
<pluginManagement>
Expand Down Expand Up @@ -131,6 +143,24 @@
</artifactItems>
</configuration>
</execution>
<execution>
<id>unpack-forms-extension</id>
<phase>generate-resources</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>com.datalogics.pdfl</groupId>
<artifactId>forms-extension</artifactId>
<classifier>${jni.classifier}</classifier>
<type>zip</type>
<outputDirectory>${project.build.directory}/lib</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
Expand Down
54 changes: 42 additions & 12 deletions Forms/FlattenForms/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,6 @@
<jni.classifier>win-x86-64-jni</jni.classifier>
</properties>
</profile>
<profile>
<id>MacArm</id>
<activation>
<os>
<family>mac</family>
<arch>aarch64</arch>
</os>
</activation>
<properties>
<jni.classifier>mac-arm-64-jni</jni.classifier>
</properties>
</profile>
<profile>
<id>Linux64</id>
<activation>
Expand Down Expand Up @@ -79,6 +67,30 @@
<version>18.36.0</version>
<classifier>javadoc</classifier>
</dependency>
<dependency>
<groupId>com.datalogics.pdfl</groupId>
<artifactId>forms-extension</artifactId>
<version>18.37.0</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>com.datalogics.pdfl</groupId>
<artifactId>forms-extension</artifactId>
<version>18.37.0</version>
</dependency>
<dependency>
<groupId>com.datalogics.pdfl</groupId>
<artifactId>forms-extension</artifactId>
<version>18.37.0</version>
<type>zip</type>
<classifier>${jni.classifier}</classifier>
</dependency>
<dependency>
<groupId>com.datalogics.pdfl</groupId>
<artifactId>forms-extension</artifactId>
<version>18.37.0</version>
<classifier>javadoc</classifier>
</dependency>
</dependencies>
<build>
<pluginManagement>
Expand Down Expand Up @@ -131,6 +143,24 @@
</artifactItems>
</configuration>
</execution>
<execution>
<id>unpack-forms-extension</id>
<phase>generate-resources</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>com.datalogics.pdfl</groupId>
<artifactId>forms-extension</artifactId>
<classifier>${jni.classifier}</classifier>
<type>zip</type>
<outputDirectory>${project.build.directory}/lib</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
Expand Down
54 changes: 42 additions & 12 deletions Forms/ImportFormsData/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,6 @@
<jni.classifier>win-x86-64-jni</jni.classifier>
</properties>
</profile>
<profile>
<id>MacArm</id>
<activation>
<os>
<family>mac</family>
<arch>aarch64</arch>
</os>
</activation>
<properties>
<jni.classifier>mac-arm-64-jni</jni.classifier>
</properties>
</profile>
<profile>
<id>Linux64</id>
<activation>
Expand Down Expand Up @@ -79,6 +67,30 @@
<version>18.36.0</version>
<classifier>javadoc</classifier>
</dependency>
<dependency>
<groupId>com.datalogics.pdfl</groupId>
<artifactId>forms-extension</artifactId>
<version>18.37.0</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>com.datalogics.pdfl</groupId>
<artifactId>forms-extension</artifactId>
<version>18.37.0</version>
</dependency>
<dependency>
<groupId>com.datalogics.pdfl</groupId>
<artifactId>forms-extension</artifactId>
<version>18.37.0</version>
<type>zip</type>
<classifier>${jni.classifier}</classifier>
</dependency>
<dependency>
<groupId>com.datalogics.pdfl</groupId>
<artifactId>forms-extension</artifactId>
<version>18.37.0</version>
<classifier>javadoc</classifier>
</dependency>
</dependencies>
<build>
<pluginManagement>
Expand Down Expand Up @@ -131,6 +143,24 @@
</artifactItems>
</configuration>
</execution>
<execution>
<id>unpack-forms-extension</id>
<phase>generate-resources</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>com.datalogics.pdfl</groupId>
<artifactId>forms-extension</artifactId>
<classifier>${jni.classifier}</classifier>
<type>zip</type>
<outputDirectory>${project.build.directory}/lib</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
Expand Down

0 comments on commit da1e76f

Please sign in to comment.