Move configuration for jpackage goal to execution step
<groupId>org.openecard.clients</groupId>
<artifactId>richclient-packager</artifactId>
- <packaging>jpackager</packaging>
+ <packaging>pom</packaging>
<name>Rich Client (Packager)</name>
<artifactId>jlink-jpackager-maven-plugin</artifactId>
<version>1.0.0-SNAPSHOT</version>
<extensions>true</extensions>
+ <executions>
+ <execution>
+ <id>jlink</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>jlink</goal>
+ </goals>
+ <configuration>
+ <!-- JLink arguments -->
+ <launcher>open-ecard=org.openecard.richclient/org.openecard.richclient.RichClient</launcher>
+ <compress>2</compress>
+ <noHeaderFiles>true</noHeaderFiles>
+ <noManPages>true</noManPages>
+ <stripDebug>true</stripDebug>
+ <ignoreSigningInformation>true</ignoreSigningInformation>
+ <outputDirectoryImage>${project.build.directory}/open-ecard</outputDirectoryImage>
+ <jdkToolchain>
+ <version>11</version>
+ </jdkToolchain>
+ </configuration>
+ </execution>
+ <execution>
+ <id>jpackage</id>
+ <phase>package</phase>
+ <goals>
+ <goal>jpackager</goal>
+ </goals>
<configuration>
<!-- Jpackage arguments -->
<name>open-ecard</name>
<menuGroup>misc</menuGroup>
</windowsOptions>
</configuration>
- <executions>
- <execution>
- <id>jlink</id>
- <phase>prepare-package</phase>
- <goals>
- <goal>jlink</goal>
- </goals>
- <configuration>
- <!-- JLink arguments -->
- <launcher>open-ecard=org.openecard.richclient/org.openecard.richclient.RichClient</launcher>
- <compress>2</compress>
- <noHeaderFiles>true</noHeaderFiles>
- <noManPages>true</noManPages>
- <stripDebug>true</stripDebug>
- <ignoreSigningInformation>true</ignoreSigningInformation>
- <outputDirectoryImage>${project.build.directory}/open-ecard</outputDirectoryImage>
- <jdkToolchain>
- <version>11</version>
- </jdkToolchain>
- </configuration>
</execution>
</executions>
</plugin>
