summaryrefslogtreecommitdiff
path: root/pdf-over-gui/pom.xml
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-05-12 12:08:07 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-05-12 12:08:07 +0200
commitd672415801f5e77c68ce44c90942b205b983e578 (patch)
tree84c5ea6b870c80c0558ebc3943741037f5f34dfc /pdf-over-gui/pom.xml
parentef1b19941a24b6dfafe67ebee2f41e5204de8135 (diff)
downloadpdf-over-d672415801f5e77c68ce44c90942b205b983e578.tar.gz
pdf-over-d672415801f5e77c68ce44c90942b205b983e578.tar.bz2
pdf-over-d672415801f5e77c68ce44c90942b205b983e578.zip
add mac installer resources to package
Diffstat (limited to 'pdf-over-gui/pom.xml')
-rw-r--r--pdf-over-gui/pom.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/pdf-over-gui/pom.xml b/pdf-over-gui/pom.xml
index 5f017bc5..591b6b2b 100644
--- a/pdf-over-gui/pom.xml
+++ b/pdf-over-gui/pom.xml
@@ -463,6 +463,7 @@
<resource>
<directory>src/main/resources</directory>
<excludes>
+ <exclude>installer-mac/*</exclude>
<exclude>izpack-linux/*</exclude>
<exclude>scripts/*</exclude>
<exclude>ReadMe.txt</exclude>
@@ -649,6 +650,32 @@
<pdfover-build.os-name>mac</pdfover-build.os-name>
<pdfover-build.output-filename>pdf-over_mac-x86_64.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>
+ <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>
+ </plugins>
+ </build>
</profile>
<profile>
<id>mac-aarch64</id>