diff options
author | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2022-11-07 17:40:57 +0100 |
---|---|---|
committer | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2022-11-07 17:40:57 +0100 |
commit | e570c7f5db201881505ce703e091a57b2292ddde (patch) | |
tree | 4ce792844ed545cd1fadf11a344683e373ec238e | |
parent | f3f3b2dfc050a825bef3a47a9b4fd7847bda7c1f (diff) | |
download | pdf-over-e570c7f5db201881505ce703e091a57b2292ddde.tar.gz pdf-over-e570c7f5db201881505ce703e091a57b2292ddde.tar.bz2 pdf-over-e570c7f5db201881505ce703e091a57b2292ddde.zip |
copy-mac-resources also for aarch64 bundle
-rw-r--r-- | pdf-over-gui/pom.xml | 42 |
1 files changed, 30 insertions, 12 deletions
diff --git a/pdf-over-gui/pom.xml b/pdf-over-gui/pom.xml index 125a3e33..c73b37eb 100644 --- a/pdf-over-gui/pom.xml +++ b/pdf-over-gui/pom.xml @@ -348,6 +348,22 @@ </resources> </configuration> </execution> + <execution> + <id>copy-mac-resources</id> + <phase>none</phase> <!-- mac profiles: validate --> + <goals> + <goal>copy-resources</goal> + </goals> + <configuration> + <encoding>UTF-8</encoding> + <outputDirectory>${pdfover-build.staging-dir}</outputDirectory> + <resources> + <resource> + <directory>src/main/resources/installer-mac</directory> + </resource> + </resources> + </configuration> + </execution> </executions> </plugin> <plugin> @@ -647,18 +663,6 @@ <execution> <id>copy-mac-resources</id> <phase>validate</phase> - <goals> - <goal>copy-resources</goal> - </goals> - <configuration> - <encoding>UTF-8</encoding> - <outputDirectory>${pdfover-build.staging-dir}</outputDirectory> - <resources> - <resource> - <directory>src/main/resources/installer-mac</directory> - </resource> - </resources> - </configuration> </execution> </executions> </plugin> @@ -684,6 +688,20 @@ <pdfover-build.os-name>mac</pdfover-build.os-name> <pdfover-build.output-filename>pdf-over_mac-aarch64.zip</pdfover-build.output-filename> </properties> + <build> + <plugins> + <plugin> + <artifactId>maven-resources-plugin</artifactId> + <version>2.4.2</version> + <executions> + <execution> + <id>copy-mac-resources</id> + <phase>validate</phase> + </execution> + </executions> + </plugin> + </plugins> + </build> </profile> <profile> |