summaryrefslogtreecommitdiff
path: root/pdf-over-gui
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-over-gui')
-rw-r--r--pdf-over-gui/pom.xml42
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>