summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-04-04 16:55:03 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-04-04 16:55:03 +0200
commit08055656d4419f156634f693ec626643fd072c9b (patch)
tree8b59a84bec1ded388421f7faedff801953ff3ae2
parent734d2aa49a7701a622cdbe3c4167db6e2a9c31dc (diff)
downloadpdf-over-08055656d4419f156634f693ec626643fd072c9b.tar.gz
pdf-over-08055656d4419f156634f693ec626643fd072c9b.tar.bz2
pdf-over-08055656d4419f156634f693ec626643fd072c9b.zip
enable launch4j exe generation for non-windows targets
-rw-r--r--pdf-over-gui/pom.xml29
1 files changed, 26 insertions, 3 deletions
diff --git a/pdf-over-gui/pom.xml b/pdf-over-gui/pom.xml
index ad7defac..d813894b 100644
--- a/pdf-over-gui/pom.xml
+++ b/pdf-over-gui/pom.xml
@@ -318,7 +318,7 @@
<executions>
<execution>
<id>l4j-gui</id>
- <phase>package</phase>
+ <phase>none</phase> <!-- overridden to "package" by windows profile -->
<goals>
<goal>launch4j</goal>
</goals>
@@ -353,7 +353,7 @@
</execution>
<execution>
<id>l4j-cli</id>
- <phase>package</phase>
+ <phase>none</phase>
<goals>
<goal>launch4j</goal>
</goals>
@@ -388,7 +388,7 @@
</execution>
<execution>
<id>l4j-uninst</id>
- <phase>package</phase>
+ <phase>none</phase>
<goals>
<goal>launch4j</goal>
</goals>
@@ -505,6 +505,29 @@
<bundled-jre.nameInArchive>jdk-11.0.14.1+1-jre</bundled-jre.nameInArchive>
<target.name>windows</target.name>
</properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>com.akathist.maven.plugins.launch4j</groupId>
+ <artifactId>launch4j-maven-plugin</artifactId>
+ <version>2.1.1</version>
+ <executions>
+ <execution>
+ <id>l4j-gui</id>
+ <phase>package</phase>
+ </execution>
+ <execution>
+ <id>l4j-cli</id>
+ <phase>package</phase>
+ </execution>
+ <execution>
+ <id>l4j-uninst</id>
+ <phase>package</phase>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
</profile>
<profile>
<id>mac</id>