mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
1206 lines
56 KiB
XML
1206 lines
56 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>jar</packaging>
|
|
<name>Forge</name>
|
|
<version>1.4.3-SNAPSHOT</version>
|
|
<description>
|
|
Forge lets you play the card game Magic: The Gathering against a computer opponent
|
|
using all of the rules.
|
|
</description>
|
|
<url>http://cardforge.org</url>
|
|
<organization>
|
|
<name>CardForge</name>
|
|
<url>http://cardforge.org</url>
|
|
</organization>
|
|
<inceptionYear>2007</inceptionYear>
|
|
<issueManagement>
|
|
<system>Mantis</system>
|
|
<url>http://cardforge.org/bugz</url>
|
|
</issueManagement>
|
|
<properties>
|
|
<project.build.sourceEncoding>
|
|
ISO-8859-1
|
|
</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>
|
|
ISO-8859-1
|
|
</project.reporting.outputEncoding>
|
|
<configSourceDirectory>src/main/config</configSourceDirectory>
|
|
<jettyVersion>8.1.11.v20130520</jettyVersion>
|
|
</properties>
|
|
<developers>
|
|
<developer>
|
|
<id>RobCashwalker</id>
|
|
<name>Rob Cashwalker</name>
|
|
<roles>
|
|
<role>owner</role>
|
|
</roles>
|
|
</developer>
|
|
<developer>
|
|
<id>DennisBergkamp</id>
|
|
<name>DennisBergkamp</name>
|
|
<roles>
|
|
<role>owner</role>
|
|
</roles>
|
|
</developer>
|
|
<developer>
|
|
<id>ChrisH</id>
|
|
<name>Chris H.</name>
|
|
<roles>
|
|
<role>developer</role>
|
|
</roles>
|
|
</developer>
|
|
<developer>
|
|
<id>jendave</id>
|
|
<name>David Hudson</name>
|
|
<roles>
|
|
<role>developer</role>
|
|
</roles>
|
|
</developer>
|
|
<developer>
|
|
<id>slapshot5</id>
|
|
<name>dennis.r.friedrichsen</name>
|
|
<roles>
|
|
<role>developer</role>
|
|
</roles>
|
|
</developer>
|
|
<developer>
|
|
<id>moomarc</id>
|
|
<name>moomarc</name>
|
|
<roles>
|
|
<role>developer</role>
|
|
</roles>
|
|
</developer>
|
|
<developer>
|
|
<id>ArsenalNut</id>
|
|
<name>ArsenalNut</name>
|
|
<roles>
|
|
<role>developer</role>
|
|
</roles>
|
|
</developer>
|
|
<developer>
|
|
<id>friarsol</id>
|
|
<name>zenchristo</name>
|
|
<roles>
|
|
<role>developer</role>
|
|
</roles>
|
|
</developer>
|
|
<developer>
|
|
<id>Hellfish</id>
|
|
<name>keybone</name>
|
|
<roles>
|
|
<role>developer</role>
|
|
</roles>
|
|
</developer>
|
|
<developer>
|
|
<id>Sloth</id>
|
|
<name>deepsloth</name>
|
|
<roles>
|
|
<role>developer</role>
|
|
</roles>
|
|
</developer>
|
|
<developer>
|
|
<id>jeffwadsworth</id>
|
|
<name>jeffwadsworth2010</name>
|
|
<roles>
|
|
<role>developer</role>
|
|
</roles>
|
|
</developer>
|
|
<developer>
|
|
<id>Doublestrike</id>
|
|
<name>Doublestrike</name>
|
|
<roles>
|
|
<role>developer</role>
|
|
</roles>
|
|
</developer>
|
|
<developer>
|
|
<id>SoulStorm</id>
|
|
<name>soulstorm</name>
|
|
<roles>
|
|
<role>developer</role>
|
|
</roles>
|
|
</developer>
|
|
<developer>
|
|
<id>maxmtg</id>
|
|
<name>Max mtg</name>
|
|
<roles>
|
|
<role>developer</role>
|
|
</roles>
|
|
</developer>
|
|
<developer>
|
|
<id>myk</id>
|
|
<name>Myk Taylor</name>
|
|
<roles>
|
|
<role>developer</role>
|
|
</roles>
|
|
</developer>
|
|
<developer>
|
|
<id>Agetian</id>
|
|
<name>Agetian Maywind</name>
|
|
<roles>
|
|
<role>developer</role>
|
|
</roles>
|
|
</developer>
|
|
</developers>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>GPL 3</name>
|
|
<url>http://www.gnu.org/licenses/gpl-3.0-standalone.html</url>
|
|
</license>
|
|
</licenses>
|
|
|
|
<scm>
|
|
<connection>scm:svn:http://svn.slightlymagic.net/forge/trunk</connection>
|
|
<developerConnection>scm:svn:http://svn.slightlymagic.net/forge/trunk</developerConnection>
|
|
<url>http://svn.slightlymagic.net/websvn/listing.php?repname=forge</url>
|
|
</scm>
|
|
|
|
<prerequisites>
|
|
<maven>3.0.4</maven>
|
|
</prerequisites>
|
|
|
|
<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>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.google.code.maven-svn-revision-number-plugin</groupId>
|
|
<artifactId>svn-revision-number-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>revision</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<failOnError>false</failOnError>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.ant</groupId>
|
|
<artifactId>ant-nodeps</artifactId>
|
|
<version>1.8.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.sourceforge.jarbundler</groupId>
|
|
<artifactId>jarbundler</artifactId>
|
|
<version>2.2.0</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<executions>
|
|
<execution>
|
|
<id>build-version-string</id>
|
|
<phase>process-resources</phase>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
<configuration>
|
|
<exportAntProperties>true</exportAntProperties>
|
|
<target>
|
|
<condition property="fullversionstring" value="${project.version}-r${forge.revision}${forge.specialStatus}" else="${project.version}-r${forge.revision}${forge.specialStatus} (mixed revisions detected; please update from the root directory)">
|
|
<contains string="${forge.mixedRevisions}" substring="false" />
|
|
</condition>
|
|
</target>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>2.4</version>
|
|
<configuration>
|
|
<archive>
|
|
<manifest>
|
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
|
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
|
</manifest>
|
|
<manifestEntries>
|
|
<Implementation-Version>${fullversionstring}</Implementation-Version>
|
|
</manifestEntries>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
<version>2.4.1</version><!--$NO-MVN-MAN-VER$-->
|
|
<configuration>
|
|
<allowTimestampedSnapshots>true</allowTimestampedSnapshots>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.14.1</version>
|
|
<configuration>
|
|
<!-- <groups>fast</groups>
|
|
<testFailureIgnore>true</testFailureIgnore>
|
|
-->
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.google.code.maven-replacer-plugin</groupId>
|
|
<artifactId>replacer</artifactId>
|
|
<version>1.5.2</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>replace</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<basedir>${configSourceDirectory}</basedir>
|
|
<filesToInclude>forge.sh, forge.command</filesToInclude>
|
|
<outputBasedir>${project.build.directory}</outputBasedir>
|
|
<outputDir>.</outputDir>
|
|
<regex>false</regex>
|
|
<replacements>
|
|
<replacement>
|
|
<token>$project.build.finalName$</token>
|
|
<value>${project.build.finalName}-jar-with-dependencies.jar</value>
|
|
</replacement>
|
|
</replacements>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<configuration>
|
|
<attach>false</attach>
|
|
<descriptorRefs>
|
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
|
</descriptorRefs>
|
|
<archive>
|
|
<manifest>
|
|
<mainClass>forge.view.Main</mainClass>
|
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
|
</manifest>
|
|
<manifestEntries>
|
|
<Implementation-Version>${fullversionstring}</Implementation-Version>
|
|
</manifestEntries>
|
|
</archive>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>make-assembly</id>
|
|
<!-- this is used for inheritance merges -->
|
|
<phase>package</phase>
|
|
<!-- bind to the packaging phase -->
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.0</version>
|
|
<configuration>
|
|
<source>1.7</source>
|
|
<target>1.7</target>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
<version>2.5</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>2.2.1</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
<version>2.7</version>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
<artifactId>wagon-ftp</artifactId>
|
|
<version>2.2</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
<version>3.2</version>
|
|
<configuration>
|
|
<port>8081</port>
|
|
</configuration>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
<artifactId>wagon-ftp</artifactId>
|
|
<version>2.2</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
<version>1.7</version>
|
|
<executions>
|
|
<execution>
|
|
<id>released-version</id>
|
|
<phase>validate</phase>
|
|
<goals>
|
|
<goal>released-version</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>parse-version</id>
|
|
<goals>
|
|
<goal>parse-version</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>2.9</version>
|
|
<configuration>
|
|
<quiet>true</quiet>
|
|
<failOnError>false</failOnError>
|
|
<detectOfflineLinks>false</detectOfflineLinks>
|
|
<show>package</show>
|
|
<level>package</level>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.google.code.maven-svn-revision-number-plugin</groupId>
|
|
<artifactId>svn-revision-number-maven-plugin</artifactId>
|
|
<version>1.13</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<version>1.7</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>2.4</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<artifactId>maven-install-plugin</artifactId>
|
|
<version>2.4</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>2.8</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
<version>2.4.1</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>2.6</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-scm-plugin</artifactId>
|
|
<version>1.8.1</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>[1.7,)</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-compiler-plugin</artifactId>
|
|
<versionRange>[3.0,)</versionRange>
|
|
<goals>
|
|
<goal>testCompile</goal>
|
|
<goal>compile</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<execute />
|
|
</action>
|
|
</pluginExecution>
|
|
<pluginExecution>
|
|
<pluginExecutionFilter>
|
|
<groupId>com.google.code.maven-svn-revision-number-plugin</groupId>
|
|
<artifactId>svn-revision-number-maven-plugin</artifactId>
|
|
<versionRange>[1.0.0,)</versionRange>
|
|
<goals>
|
|
<goal>revision</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<execute />
|
|
</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>
|
|
</build>
|
|
|
|
<reporting>
|
|
<plugins>
|
|
<!-- Configure Built-In Dependency Reports NOT to scan Repos, Saves a
|
|
LOT of time -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
|
<version>2.4</version>
|
|
<configuration>
|
|
<dependencyLocationsEnabled>false</dependencyLocationsEnabled>
|
|
<dependencyDetailsEnabled>false</dependencyDetailsEnabled>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-changelog-plugin</artifactId>
|
|
<version>2.2</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
<version>2.9.1</version>
|
|
<reportSets>
|
|
<reportSet>
|
|
<reports>
|
|
<report>checkstyle</report>
|
|
</reports>
|
|
</reportSet>
|
|
</reportSets>
|
|
<configuration>
|
|
<configLocation>${basedir}/src/main/config/forge_checks.xml</configLocation>
|
|
<propertyExpansion>
|
|
cacheFile=${project.build.directory}/checkstyle-cachefile
|
|
</propertyExpansion>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>cobertura-maven-plugin</artifactId>
|
|
<version>2.5.1</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>2.8</version>
|
|
<reportSets>
|
|
<reportSet>
|
|
<reports>
|
|
<report>analyze-report</report>
|
|
</reports>
|
|
</reportSet>
|
|
</reportSets>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>findbugs-maven-plugin</artifactId>
|
|
<version>2.5</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>2.9</version>
|
|
<configuration>
|
|
<quiet>true</quiet>
|
|
<failOnError>false</failOnError>
|
|
<detectOfflineLinks>false</detectOfflineLinks>
|
|
<show>package</show>
|
|
<level>package</level>
|
|
</configuration>
|
|
<reportSets>
|
|
<reportSet>
|
|
<configuration>
|
|
<quiet>true</quiet>
|
|
<failOnError>false</failOnError>
|
|
<detectOfflineLinks>false</detectOfflineLinks>
|
|
</configuration>
|
|
<reports>
|
|
<report>javadoc</report>
|
|
<report>test-javadoc</report>
|
|
</reports>
|
|
</reportSet>
|
|
</reportSets>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-pmd-plugin</artifactId>
|
|
<version>2.7.1</version>
|
|
<configuration>
|
|
<linkXRef>true</linkXRef>
|
|
<sourceEncoding>utf-8</sourceEncoding>
|
|
<minimumTokens>100</minimumTokens>
|
|
<targetJdk>1.7</targetJdk>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jxr-plugin</artifactId>
|
|
<version>2.3</version>
|
|
<configuration>
|
|
<linkJavadoc>true</linkJavadoc>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-report-plugin</artifactId>
|
|
<version>2.14.1</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>taglist-maven-plugin</artifactId>
|
|
<version>2.4</version>
|
|
<configuration>
|
|
<tagListOptions>
|
|
<tagClasses>
|
|
<tagClass>
|
|
<tags>
|
|
<tag>
|
|
<matchString>todo</matchString>
|
|
<matchType>ignoreCase</matchType>
|
|
</tag>
|
|
<tag>
|
|
<matchString>FIXME</matchString>
|
|
<matchType>ignoreCase</matchType>
|
|
</tag>
|
|
<tag>
|
|
<matchString>deprecated</matchString>
|
|
<matchType>ignoreCase</matchType>
|
|
</tag>
|
|
</tags>
|
|
</tagClass>
|
|
</tagClasses>
|
|
</tagListOptions>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>versions-maven-plugin</artifactId>
|
|
<version>1.3.1</version>
|
|
<reportSets>
|
|
<reportSet>
|
|
<reports>
|
|
<report>dependency-updates-report</report>
|
|
<report>plugin-updates-report</report>
|
|
<report>property-updates-report</report>
|
|
</reports>
|
|
</reportSet>
|
|
</reportSets>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</reporting>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.miglayout</groupId>
|
|
<artifactId>miglayout</artifactId>
|
|
<version>3.7.4</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.mortennobel</groupId>
|
|
<artifactId>java-image-scaling</artifactId>
|
|
<version>0.8.5</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
<version>14.0.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.code.gson</groupId>
|
|
<artifactId>gson</artifactId>
|
|
<version>2.2.4</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.thoughtworks.xstream</groupId>
|
|
<artifactId>xstream</artifactId>
|
|
<version>1.4.4</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.testng</groupId>
|
|
<artifactId>testng</artifactId>
|
|
<version>6.8.5</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-websocket</artifactId>
|
|
<version>${jettyVersion}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-server</artifactId>
|
|
<version>${jettyVersion}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-servlet</artifactId>
|
|
<version>${jettyVersion}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>log4j</groupId>
|
|
<artifactId>log4j</artifactId>
|
|
<version>1.2.17</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.googlecode</groupId>
|
|
<artifactId>minlog</artifactId>
|
|
<version>1.2</version>
|
|
</dependency>
|
|
<!--dependency>
|
|
<groupId>com.oracle</groupId>
|
|
<artifactId>javafx</artifactId>
|
|
<version>2.2</version>
|
|
<systemPath>${java.home}/lib/jfxrt.jar</systemPath>
|
|
<scope>system</scope>
|
|
</dependency-->
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-lang3</artifactId>
|
|
<version>3.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-lang</groupId>
|
|
<artifactId>commons-lang</artifactId>
|
|
<version>2.6</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.freemarker</groupId>
|
|
<artifactId>freemarker</artifactId>
|
|
<version>2.3.20</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>cardforge-repo</id>
|
|
<name>Forge Releases</name>
|
|
<url>ftp.cardforge.org/releases</url>
|
|
</repository>
|
|
<snapshotRepository>
|
|
<id>cardforge-snapshot-repo</id>
|
|
<name>Forge Snapshots</name>
|
|
<url>ftp.cardforge.org/snapshots</url>
|
|
</snapshotRepository>
|
|
<site>
|
|
<id>cardforge-site</id>
|
|
<name>Forge Site</name>
|
|
<url>ftp.cardforge.org/site</url>
|
|
</site>
|
|
</distributionManagement>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>arcane-maven-repo</id>
|
|
<name>Arcane Maven Repository</name>
|
|
<layout>default</layout>
|
|
<url>http://arcane.googlecode.com/svn/trunk/repository</url>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>arcane-maven-repo</id>
|
|
<name>Arcane Maven Repository</name>
|
|
<layout>default</layout>
|
|
<url>http://arcane.googlecode.com/svn/trunk/repository</url>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>windows-linux</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.akathist.maven.plugins.launch4j</groupId>
|
|
<artifactId>launch4j-maven-plugin</artifactId>
|
|
<version>1.5.2</version>
|
|
<executions>
|
|
<execution>
|
|
<id>l4j-gui</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>launch4j</goal>
|
|
</goals>
|
|
<configuration>
|
|
<headerType>gui</headerType>
|
|
<outfile>${project.build.directory}/forge.exe</outfile>
|
|
<jar>${project.build.finalName}-jar-with-dependencies.jar</jar>
|
|
<dontWrapJar>true</dontWrapJar>
|
|
<errTitle>forge</errTitle>
|
|
<icon>${configSourceDirectory}/forge.ico</icon>
|
|
<classPath>
|
|
<mainClass>forge.view.Main</mainClass>
|
|
<addDependencies>false</addDependencies>
|
|
<preCp>anything</preCp>
|
|
</classPath>
|
|
<jre>
|
|
<minVersion>1.7.0</minVersion>
|
|
<maxHeapSize>1024</maxHeapSize>
|
|
</jre>
|
|
<versionInfo>
|
|
<fileVersion>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.0</fileVersion>
|
|
<txtFileVersion>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.0</txtFileVersion>
|
|
<fileDescription>Forge</fileDescription>
|
|
<copyright>Forge</copyright>
|
|
<productVersion>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.0</productVersion>
|
|
<txtProductVersion>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.0</txtProductVersion>
|
|
<productName>Forge</productName>
|
|
<internalName>forge</internalName>
|
|
<originalFilename>forge.exe</originalFilename>
|
|
</versionInfo>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<version>1.7</version>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.ant</groupId>
|
|
<artifactId>ant-nodeps</artifactId>
|
|
<version>1.8.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.sourceforge.jarbundler</groupId>
|
|
<artifactId>jarbundler</artifactId>
|
|
<version>2.2.0</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<executions>
|
|
<execution>
|
|
<id>win-linux-app-bundle</id>
|
|
<phase>pre-integration-test</phase>
|
|
<configuration>
|
|
<target>
|
|
<!-- Windows/Linux archive -->
|
|
<mkdir dir="${project.build.directory}/${project.build.finalName}" />
|
|
<copy todir="${project.build.directory}/${project.build.finalName}">
|
|
<fileset dir="${project.build.directory}" includes="forge.sh" />
|
|
<fileset dir="${project.build.directory}" includes="forge.command" />
|
|
<fileset dir="${basedir}" includes="forge.profile.properties.example" />
|
|
<fileset dir="${basedir}" includes="LICENSE.txt" />
|
|
<fileset dir="${basedir}" includes="README.txt" />
|
|
<fileset dir="${basedir}" includes="CHANGES.txt" />
|
|
<fileset dir="${basedir}">
|
|
<include name="res/**" />
|
|
<exclude name="res/cardsfolder/**" />
|
|
</fileset>
|
|
<fileset dir="${project.build.directory}" includes="forge.exe" />
|
|
<fileset dir="${project.build.directory}" includes="${project.build.finalName}-jar-with-dependencies.jar" />
|
|
</copy>
|
|
<mkdir dir="${project.build.directory}/${project.build.finalName}/res/cardsfolder" />
|
|
<zip destfile="${project.build.directory}/${project.build.finalName}/res/cardsfolder/cardsfolder.zip" basedir="${basedir}/res/cardsfolder" level="1" />
|
|
<chmod file="${project.build.directory}/${project.build.finalName}/forge.sh" perm="a+rx" />
|
|
<chmod file="${project.build.directory}/${project.build.finalName}/forge.command" perm="a+rx" />
|
|
<chmod file="${project.build.directory}/${project.build.finalName}/forge.exe" perm="a+rx" />
|
|
<tar destfile="${project.build.directory}/${project.build.finalName}.tar.bz2" compression="bzip2">
|
|
<tarfileset filemode="755" dir="${project.build.directory}/${project.build.finalName}">
|
|
<include name="forge.sh" />
|
|
<include name="forge.command" />
|
|
<include name="forge.exe" />
|
|
</tarfileset>
|
|
<tarfileset dir="${project.build.directory}/${project.build.finalName}">
|
|
<include name="**" />
|
|
<exclude name="forge.sh" />
|
|
<exclude name="forge.command" />
|
|
<exclude name="forge.exe" />
|
|
</tarfileset>
|
|
</tar>
|
|
</target>
|
|
</configuration>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
<version>1.7</version>
|
|
<executions>
|
|
<execution>
|
|
<id>released-version</id>
|
|
<phase>validate</phase>
|
|
<goals>
|
|
<goal>released-version</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>parse-version</id>
|
|
<goals>
|
|
<goal>parse-version</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>attach-distribution</id>
|
|
<phase>post-integration-test</phase>
|
|
<goals>
|
|
<goal>attach-artifact</goal>
|
|
</goals>
|
|
<configuration>
|
|
<artifacts>
|
|
<artifact>
|
|
<file>${project.build.directory}/${project.build.finalName}.tar.bz2</file>
|
|
<type>tar.bz2</type>
|
|
</artifact>
|
|
</artifacts>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
|
|
<profile>
|
|
<properties>
|
|
<license.file.name>"LICENSE.txt"</license.file.name>
|
|
<changes.file.name>"CHANGES.txt"</changes.file.name>
|
|
<readme.file.name>"README.txt"</readme.file.name>
|
|
<forge.file.name>"Forge"</forge.file.name>
|
|
<applications.file.name>"Applications"</applications.file.name>
|
|
</properties>
|
|
<id>osx</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<version>1.7</version>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.ant</groupId>
|
|
<artifactId>ant-nodeps</artifactId>
|
|
<version>1.8.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.sourceforge.jarbundler</groupId>
|
|
<artifactId>jarbundler</artifactId>
|
|
<version>2.2.0</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<executions>
|
|
<execution>
|
|
<id>osx-appbundle</id>
|
|
<phase>pre-integration-test</phase>
|
|
<configuration>
|
|
<target>
|
|
<mkdir dir="${project.build.directory}/${project.build.finalName}-osx" />
|
|
<copy todir="${project.build.directory}/${project.build.finalName}-osx">
|
|
<fileset dir="${basedir}" includes="LICENSE.txt" />
|
|
<fileset dir="${basedir}" includes="README.txt" />
|
|
<fileset dir="${basedir}" includes="CHANGES.txt" />
|
|
</copy>
|
|
<mkdir dir="${project.build.directory}/res/cardsfolder" />
|
|
<zip destfile="${project.build.directory}/res/cardsfolder/cardsfolder.zip" basedir="${basedir}/res/cardsfolder" level="1" />
|
|
<taskdef name="jarbundler" classpathref="maven.runtime.classpath" classname="net.sourceforge.jarbundler.JarBundler" />
|
|
<jarbundler dir="${project.build.directory}/${project.build.finalName}-osx" name="${project.name}" version="${project.version}" mainclass="forge.view.Main" icon="${basedir}/${configSourceDirectory}/Forge.icns" jvmversion="1.6+" vmoptions="-Xmx1024m" shortname="${project.name}" workingdirectory="$APP_PACKAGE/Contents/Resources/Java" jar="${project.build.directory}/${project.build.finalName}-jar-with-dependencies.jar">
|
|
<javafileset dir="${basedir}">
|
|
<include name="forge.profile.properties.example" />
|
|
<include name="res/**" />
|
|
<exclude name="res/cardsfolder/**" />
|
|
</javafileset>
|
|
<javafileset dir="${project.build.directory}">
|
|
<include name="res/cardsfolder/cardsfolder.zip" />
|
|
</javafileset>
|
|
<javaproperty name="apple.laf.useScreenMenuBar" value="true" />
|
|
</jarbundler>
|
|
<symlink link="${project.build.directory}/${project.build.finalName}-osx/Applications" resource="/Applications" />
|
|
<exec executable="${basedir}/${configSourceDirectory}/create-dmg" failonerror="false">
|
|
<arg line="--volname ${project.name}-${project.version} --background ${basedir}/${configSourceDirectory}/backgroundImage.jpg --window-size 700 419 --icon-size 64 --icon ${forge.file.name} 141 283 --icon ${applications.file.name} 452 283 --icon ${changes.file.name} 645 80 --icon ${license.file.name} 645 200 --icon ${readme.file.name} 645 320 ${project.build.directory}/${project.build.finalName}.dmg ${project.build.directory}/${project.build.finalName}-osx" />
|
|
</exec>
|
|
<tar basedir="${project.build.directory}" includes="${project.build.finalName}.dmg" destfile="${project.build.directory}/${project.build.finalName}-osx.tar.bz2" compression="bzip2" />
|
|
<!--<symlink link="${project.build.directory}/${project.build.finalName}-osx/Applications" action="delete" /> -->
|
|
<exec executable="rm" failonerror="false">
|
|
<arg line="-f ${project.build.directory}/${project.build.finalName}-osx/Applications" />
|
|
</exec>
|
|
</target>
|
|
</configuration>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
<version>1.7</version>
|
|
<executions>
|
|
<execution>
|
|
<id>released-version</id>
|
|
<phase>validate</phase>
|
|
<goals>
|
|
<goal>released-version</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>parse-version</id>
|
|
<goals>
|
|
<goal>parse-version</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>attach-distribution-osx</id>
|
|
<phase>post-integration-test</phase>
|
|
<goals>
|
|
<goal>attach-artifact</goal>
|
|
</goals>
|
|
<configuration>
|
|
<artifacts>
|
|
<artifact>
|
|
<file>${project.build.directory}/${project.build.finalName}-osx.tar.bz2
|
|
</file>
|
|
<type>tar.bz2</type>
|
|
<classifier>osx</classifier>
|
|
</artifact>
|
|
</artifacts>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
|
|
<profile>
|
|
<properties>
|
|
<license.file.name>"LICENSE.txt"</license.file.name>
|
|
<changes.file.name>"CHANGES.txt"</changes.file.name>
|
|
<readme.file.name>"README.txt"</readme.file.name>
|
|
<forge.file.name>"Forge"</forge.file.name>
|
|
<applications.file.name>"Applications"</applications.file.name>
|
|
</properties>
|
|
<id>osx-test</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<version>1.7</version>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.ant</groupId>
|
|
<artifactId>ant-nodeps</artifactId>
|
|
<version>1.8.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.oracle.appbundler</groupId>
|
|
<artifactId>appbundler</artifactId>
|
|
<version>1.0</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<executions>
|
|
<execution>
|
|
<id>osx-appbundle</id>
|
|
<phase>pre-integration-test</phase>
|
|
<configuration>
|
|
<target>
|
|
<mkdir dir="${project.build.directory}/${project.build.finalName}-osx" />
|
|
<copy todir="${project.build.directory}/${project.build.finalName}-osx">
|
|
<fileset dir="${basedir}" includes="LICENSE.txt" />
|
|
<fileset dir="${basedir}" includes="README.txt" />
|
|
<fileset dir="${basedir}" includes="CHANGES.txt" />
|
|
</copy>
|
|
<mkdir dir="${project.build.directory}/res/cardsfolder" />
|
|
<zip destfile="${project.build.directory}/res/cardsfolder/cardsfolder.zip" basedir="${basedir}/res/cardsfolder" level="1" />
|
|
<taskdef name="bundleapp" classpathref="maven.runtime.classpath" classname="com.oracle.appbundler.AppBundlerTask" />
|
|
<bundleapp outputdirectory="${project.build.directory}/${project.build.finalName}-osx"
|
|
name="${project.name}"
|
|
displayname="${project.name}"
|
|
shortversion="${project.version}"
|
|
identifier="forge.view.Main"
|
|
icon="${basedir}/${configSourceDirectory}/Forge.icns"
|
|
applicationCategory="public.app-category.games"
|
|
mainclassname="forge.view.Main">
|
|
<classpath file="${project.build.directory}/${project.build.finalName}-jar-with-dependencies.jar"/>
|
|
<classpath file="${basedir}/res/cardsfolder"/>
|
|
<classpath file="${project.build.directory}/res/cardsfolder/cardsfolder.zip"/>
|
|
<classpath file="${basedir}/forge.profile.properties.example"/>
|
|
<option value="-Dapple.laf.useScreenMenuBar=true" />
|
|
<option value="-Dcom.apple.macos.use-file-dialog-packages=true"/>
|
|
<option value="-Dcom.apple.macos.useScreenMenuBar=true"/>
|
|
<option value="-Dcom.apple.mrj.application.apple.menu.about.name=Forge"/>
|
|
<option value="-Dcom.apple.smallTabs=true"/>
|
|
<option value="-Xmx1024M"/>
|
|
<option value="-Duser.dir=Contents/Resources"/>
|
|
</bundleapp>
|
|
<symlink link="${project.build.directory}/${project.build.finalName}-osx/Applications" resource="/Applications" />
|
|
<exec executable="${basedir}/${configSourceDirectory}/create-dmg" failonerror="false">
|
|
<arg line="--volname ${project.name}-${project.version} --background ${basedir}/${configSourceDirectory}/backgroundImage.jpg --window-size 700 419 --icon-size 64 --icon ${forge.file.name} 141 283 --icon ${applications.file.name} 452 283 --icon ${changes.file.name} 645 80 --icon ${license.file.name} 645 200 --icon ${readme.file.name} 645 320 ${project.build.directory}/${project.build.finalName}.dmg ${project.build.directory}/${project.build.finalName}-osx" />
|
|
</exec>
|
|
<tar basedir="${project.build.directory}" includes="${project.build.finalName}.dmg" destfile="${project.build.directory}/${project.build.finalName}-osx.tar.bz2" compression="bzip2" />
|
|
<!--<symlink link="${project.build.directory}/${project.build.finalName}-osx/Applications" action="delete" /> -->
|
|
<exec executable="rm" failonerror="false">
|
|
<arg line="-f ${project.build.directory}/${project.build.finalName}-osx/Applications" />
|
|
</exec>
|
|
</target>
|
|
</configuration>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
<version>1.7</version>
|
|
<executions>
|
|
<execution>
|
|
<id>released-version</id>
|
|
<phase>validate</phase>
|
|
<goals>
|
|
<goal>released-version</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>parse-version</id>
|
|
<goals>
|
|
<goal>parse-version</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>attach-distribution-osx</id>
|
|
<phase>post-integration-test</phase>
|
|
<goals>
|
|
<goal>attach-artifact</goal>
|
|
</goals>
|
|
<configuration>
|
|
<artifacts>
|
|
<artifact>
|
|
<file>${project.build.directory}/${project.build.finalName}-osx.tar.bz2
|
|
</file>
|
|
<type>tar.bz2</type>
|
|
<classifier>osx</classifier>
|
|
</artifact>
|
|
</artifacts>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>test-deploy</id>
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>cardforge-repo-local</id>
|
|
<url>ftp://localhost/Users/dhudson/releases</url>
|
|
</repository>
|
|
<snapshotRepository>
|
|
<id>cardforge-snapshot-repo-local</id>
|
|
<url>ftp://localhost/Users/dhudson/snapshots</url>
|
|
</snapshotRepository>
|
|
</distributionManagement>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|