mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
tie package preparation steps to different lifecycle phases in the pom to ensure plugin execution order is always correct
This commit is contained in:
27
pom.xml
27
pom.xml
@@ -267,9 +267,7 @@
|
|||||||
</executions>
|
</executions>
|
||||||
<configuration>
|
<configuration>
|
||||||
<file>${configSourceDirectory}/forge.sh</file>
|
<file>${configSourceDirectory}/forge.sh</file>
|
||||||
<outputFile>
|
<outputFile>${project.build.directory}/forge.sh</outputFile>
|
||||||
${project.build.directory}/forge.sh
|
|
||||||
</outputFile>
|
|
||||||
<regex>false</regex>
|
<regex>false</regex>
|
||||||
<replacements>
|
<replacements>
|
||||||
<replacement>
|
<replacement>
|
||||||
@@ -810,12 +808,6 @@
|
|||||||
<profiles>
|
<profiles>
|
||||||
<profile>
|
<profile>
|
||||||
<id>windows-linux</id>
|
<id>windows-linux</id>
|
||||||
<activation>
|
|
||||||
<os>
|
|
||||||
<!-- <family>windows</family> -->
|
|
||||||
<!-- <family>unix</family> -->
|
|
||||||
</os>
|
|
||||||
</activation>
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
@@ -832,9 +824,7 @@
|
|||||||
<configuration>
|
<configuration>
|
||||||
<headerType>gui</headerType>
|
<headerType>gui</headerType>
|
||||||
<outfile>${project.build.directory}/forge.exe</outfile>
|
<outfile>${project.build.directory}/forge.exe</outfile>
|
||||||
<jar>
|
<jar>${project.build.finalName}-jar-with-dependencies.jar</jar>
|
||||||
${project.build.finalName}-jar-with-dependencies.jar
|
|
||||||
</jar>
|
|
||||||
<dontWrapJar>true</dontWrapJar>
|
<dontWrapJar>true</dontWrapJar>
|
||||||
<errTitle>forge</errTitle>
|
<errTitle>forge</errTitle>
|
||||||
<icon>${configSourceDirectory}/forge.ico</icon>
|
<icon>${configSourceDirectory}/forge.ico</icon>
|
||||||
@@ -882,7 +872,7 @@
|
|||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>win-linux-app-bundle</id>
|
<id>win-linux-app-bundle</id>
|
||||||
<phase>package</phase>
|
<phase>pre-integration-test</phase>
|
||||||
<configuration>
|
<configuration>
|
||||||
<target>
|
<target>
|
||||||
<!-- Windows/Linux archive -->
|
<!-- Windows/Linux archive -->
|
||||||
@@ -944,7 +934,7 @@
|
|||||||
</execution>
|
</execution>
|
||||||
<execution>
|
<execution>
|
||||||
<id>attach-distribution</id>
|
<id>attach-distribution</id>
|
||||||
<phase>package</phase>
|
<phase>post-integration-test</phase>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>attach-artifact</goal>
|
<goal>attach-artifact</goal>
|
||||||
</goals>
|
</goals>
|
||||||
@@ -971,11 +961,6 @@
|
|||||||
<applications.file.name>"Applications"</applications.file.name>
|
<applications.file.name>"Applications"</applications.file.name>
|
||||||
</properties>
|
</properties>
|
||||||
<id>osx</id>
|
<id>osx</id>
|
||||||
<activation>
|
|
||||||
<os>
|
|
||||||
<!-- <family>mac</family> -->
|
|
||||||
</os>
|
|
||||||
</activation>
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
@@ -997,7 +982,7 @@
|
|||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>osx-appbundle</id>
|
<id>osx-appbundle</id>
|
||||||
<phase>package</phase>
|
<phase>pre-integration-test</phase>
|
||||||
<configuration>
|
<configuration>
|
||||||
<target>
|
<target>
|
||||||
<mkdir dir="${project.build.directory}/${project.build.finalName}-osx" />
|
<mkdir dir="${project.build.directory}/${project.build.finalName}-osx" />
|
||||||
@@ -1058,7 +1043,7 @@
|
|||||||
</execution>
|
</execution>
|
||||||
<execution>
|
<execution>
|
||||||
<id>attach-distribution-osx</id>
|
<id>attach-distribution-osx</id>
|
||||||
<phase>package</phase>
|
<phase>post-integration-test</phase>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>attach-artifact</goal>
|
<goal>attach-artifact</goal>
|
||||||
</goals>
|
</goals>
|
||||||
|
|||||||
Reference in New Issue
Block a user