Skip to content

Commit

Permalink
Restore flatten and version for now
Browse files Browse the repository at this point in the history
  • Loading branch information
tehdiplomat committed Nov 21, 2024
1 parent c95afd8 commit 0bc4e5d
Show file tree
Hide file tree
Showing 13 changed files with 40 additions and 15 deletions.
2 changes: 1 addition & 1 deletion adventure-editor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<artifactId>forge</artifactId>
<groupId>forge</groupId>
<version>2.0.01-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion forge-ai/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<artifactId>forge</artifactId>
<groupId>forge</groupId>
<version>2.0.01-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<artifactId>forge-ai</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion forge-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<artifactId>forge</artifactId>
<groupId>forge</groupId>
<version>2.0.01-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<artifactId>forge-core</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion forge-game/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<artifactId>forge</artifactId>
<groupId>forge</groupId>
<version>2.0.01-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<artifactId>forge-game</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion forge-gui-android/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>forge</artifactId>
<groupId>forge</groupId>
<version>2.0.01-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<artifactId>forge-gui-android</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion forge-gui-desktop/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>forge</artifactId>
<groupId>forge</groupId>
<version>2.0.01-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<artifactId>forge-gui-desktop</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion forge-gui-ios/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<parent>
<artifactId>forge</artifactId>
<groupId>forge</groupId>
<version>2.0.01-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<artifactId>forge-gui-ios</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion forge-gui-mobile-dev/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<parent>
<artifactId>forge</artifactId>
<groupId>forge</groupId>
<version>2.0.01-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<artifactId>forge-gui-mobile-dev</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion forge-gui-mobile/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>forge</artifactId>
<groupId>forge</groupId>
<version>2.0.01-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<artifactId>forge-gui-mobile</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion forge-gui/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>forge</artifactId>
<groupId>forge</groupId>
<version>2.0.01-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<artifactId>forge-gui</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion forge-installer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>forge</artifactId>
<groupId>forge</groupId>
<version>2.0.01-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<artifactId>forge-installer</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion forge-lda/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>forge</artifactId>
<groupId>forge</groupId>
<version>2.0.01-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<artifactId>forge-lda</artifactId>
Expand Down
31 changes: 28 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<artifactId>forge</artifactId>
<packaging>pom</packaging>
<name>Forge Parent</name>
<version>2.0.01-SNAPSHOT</version>
<version>${revision}</version>

<description>
Forge lets you play the card game Magic: The Gathering against a computer opponent using all of the rules.
Expand All @@ -26,11 +26,11 @@
<configSourceDirectory>src/main/config</configSourceDirectory>
<maven.compiler.release>17</maven.compiler.release>
<!-- version code - maj.min.rev ie 2.0.00 -->
<versionCode>2.0.00</versionCode>
<versionCode>2.0.01</versionCode>
<!-- set snapshotName to blank for release -->
<snapshotName>-SNAPSHOT</snapshotName>
<!-- revision will be the global version string -->
<revision>2.0.00-SNAPSHOT</revision>
<revision>${versionCode}${snapshotName}</revision>
</properties>

<licenses>
Expand Down Expand Up @@ -332,6 +332,31 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.6.0</version>
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>resolveCiFriendliesOnly</flattenMode>
</configuration>
<executions>
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit 0bc4e5d

Please sign in to comment.