mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-11 16:26:22 +00:00
387 lines
15 KiB
XML
387 lines
15 KiB
XML
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>forge</groupId>
|
|
<artifactId>forge</artifactId>
|
|
<packaging>pom</packaging>
|
|
<name>Forge Parent</name>
|
|
<version>${revision}</version>
|
|
|
|
<description>
|
|
Forge lets you play the card game Magic: The Gathering against a computer opponent using all of the rules.
|
|
</description>
|
|
|
|
<url>https://www.cardforge.org/</url>
|
|
|
|
<organization>
|
|
<name>CardForge</name>
|
|
<url>https://www.cardforge.org/</url>
|
|
</organization>
|
|
|
|
<inceptionYear>2007</inceptionYear>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
<basedir.parent>./forge-gui</basedir.parent>
|
|
<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>
|
|
<!-- set snapshotName to blank for release -->
|
|
<snapshotName>-SNAPSHOT</snapshotName>
|
|
<!-- revision will be the global version string -->
|
|
<revision>${versionCode}${snapshotName}</revision>
|
|
</properties>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>GPL 3</name>
|
|
<url>http://www.gnu.org/licenses/gpl-3.0-standalone.html</url>
|
|
</license>
|
|
</licenses>
|
|
|
|
<scm>
|
|
<connection>scm:git:https://github.com/Card-Forge/forge.git</connection>
|
|
<developerConnection>scm:git:https://github.com/Card-Forge/forge.git</developerConnection>
|
|
<tag>HEAD</tag>
|
|
</scm>
|
|
|
|
<mailingLists>
|
|
<mailingList>
|
|
<name>Forge Forum</name>
|
|
<archive>http://www.slightlymagic.net/forum/viewforum.php?f=26</archive>
|
|
</mailingList>
|
|
<mailingList>
|
|
<name>Forge Decks Forum</name>
|
|
<archive>http://www.slightlymagic.net/forum/viewforum.php?f=48</archive>
|
|
</mailingList>
|
|
<mailingList>
|
|
<name>Forge Developer's Corner Forum</name>
|
|
<archive>http://www.slightlymagic.net/forum/viewforum.php?f=52</archive>
|
|
</mailingList>
|
|
</mailingLists>
|
|
|
|
<modules>
|
|
<module>forge-core</module>
|
|
<module>forge-game</module>
|
|
<module>forge-ai</module>
|
|
<module>forge-gui</module>
|
|
<module>forge-gui-mobile</module>
|
|
<module>forge-gui-mobile-dev</module>
|
|
<module>forge-gui-desktop</module>
|
|
<module>forge-gui-ios</module>
|
|
<module>forge-lda</module>
|
|
<module>adventure-editor</module>
|
|
<module>forge-gui-android</module>
|
|
<module>forge-installer</module>
|
|
</modules>
|
|
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>cardforge-repo</id>
|
|
<name>Forge Releases</name>
|
|
<url>ftp://ftp.cardforge.org/maven/releases/</url>
|
|
</repository>
|
|
<snapshotRepository>
|
|
<id>cardforge-snapshot-repo</id>
|
|
<name>Forge Snapshots</name>
|
|
<url>ftp://ftp.cardforge.org/maven/snapshots/</url>
|
|
</snapshotRepository>
|
|
</distributionManagement>
|
|
|
|
<build>
|
|
|
|
<extensions>
|
|
<extension>
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
<artifactId>wagon-ftp</artifactId>
|
|
<version>3.5.3</version>
|
|
</extension>
|
|
</extensions>
|
|
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<version>3.3.0</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.8.1</version>
|
|
<configuration>
|
|
<source>17</source>
|
|
<target>17</target>
|
|
<release>17</release>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>3.10.1</version>
|
|
<configuration>
|
|
<quiet>true</quiet>
|
|
<failOnError>false</failOnError>
|
|
<detectOfflineLinks>false</detectOfflineLinks>
|
|
<show>package</show>
|
|
<level>package</level>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>3.1.2</version>
|
|
<configuration>
|
|
<argLine>
|
|
--add-opens java.base/java.lang=ALL-UNNAMED
|
|
--add-opens java.base/java.time=ALL-UNNAMED
|
|
--add-opens java.base/java.text=ALL-UNNAMED
|
|
--add-opens java.base/java.util=ALL-UNNAMED
|
|
--add-opens java.base/java.util.regex=ALL-UNNAMED
|
|
--add-opens java.base/java.util.stream=ALL-UNNAMED
|
|
--add-opens java.base/java.lang.reflect=ALL-UNNAMED
|
|
--add-opens java.desktop/javax.imageio.spi=ALL-UNNAMED
|
|
</argLine>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
<version>3.0.0</version>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
<artifactId>wagon-ftp</artifactId>
|
|
<version>3.5.3</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>3.3.0</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
<version>3.9.1</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<version>3.0.0</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>3.3.0</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<artifactId>maven-install-plugin</artifactId>
|
|
<version>3.0.1</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>3.1.2</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
<version>3.0.1</version>
|
|
<configuration>
|
|
<allowTimestampedSnapshots>true</allowTimestampedSnapshots>
|
|
<checkModificationExcludes>
|
|
<checkModificationExclude>.mvn/local-settings.xml</checkModificationExclude>
|
|
</checkModificationExcludes>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>3.3.1</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
<version>3.1.0</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>3.2.1</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-scm-plugin</artifactId>
|
|
<version>1.11.2</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
<artifactId>wagon-ftp</artifactId>
|
|
<version>3.5.3</version>
|
|
</plugin>
|
|
<!--This plugin's configuration is used to store Eclipse m2e settings
|
|
only. It has no influence on the Maven build itself. -->
|
|
<plugin>
|
|
<groupId>org.eclipse.m2e</groupId>
|
|
<artifactId>lifecycle-mapping</artifactId>
|
|
<version>1.0.0</version>
|
|
<configuration>
|
|
<lifecycleMappingMetadata>
|
|
<pluginExecutions>
|
|
<pluginExecution>
|
|
<pluginExecutionFilter>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
<versionRange>[3.2,)</versionRange>
|
|
<goals>
|
|
<goal>released-version</goal>
|
|
<goal>parse-version</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<ignore />
|
|
</action>
|
|
</pluginExecution>
|
|
<pluginExecution>
|
|
<pluginExecutionFilter>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<versionRange>[1.0.0,)</versionRange>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<execute />
|
|
</action>
|
|
</pluginExecution>
|
|
</pluginExecutions>
|
|
</lifecycleMappingMetadata>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>enforce-versions</id>
|
|
<phase>validate</phase>
|
|
<goals>
|
|
<goal>enforce</goal>
|
|
</goals>
|
|
<configuration>
|
|
<rules>
|
|
<requireMavenVersion>
|
|
<version>[3.8.1,)</version>
|
|
</requireMavenVersion>
|
|
<requireJavaVersion>
|
|
<version>17</version>
|
|
</requireJavaVersion>
|
|
<requirePluginVersions />
|
|
</rules>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
<version>3.1.2</version>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.puppycrawl.tools</groupId>
|
|
<artifactId>checkstyle</artifactId>
|
|
<version>10.18.2</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<executions>
|
|
<execution>
|
|
<id>checkstyle-validation</id>
|
|
<phase>validate</phase>
|
|
<configuration>
|
|
<configLocation>checkstyle.xml</configLocation>
|
|
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
|
<encoding>UTF-8</encoding>
|
|
<consoleOutput>true</consoleOutput>
|
|
<failsOnError>true</failsOnError>
|
|
<failOnViolation>true</failOnViolation>
|
|
</configuration>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
</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>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-classic</artifactId>
|
|
<version>1.5.11</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-core</artifactId>
|
|
<version>1.5.11</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>2.0.16</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-simple</artifactId>
|
|
<version>2.0.16</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
</project>
|