mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
1106 lines
47 KiB
XML
1106 lines
47 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.3.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>
|
|
</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>BraidsCC</id>
|
|
<name>Braids</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>moonmarc</id>
|
|
<name>moonmarc</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>
|
|
</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>org.codehaus.mojo</groupId>
|
|
<artifactId>buildnumber-maven-plugin</artifactId>
|
|
<version>1.1</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>validate</phase>
|
|
<goals>
|
|
<goal>create</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<revisionOnScmFailure>0000</revisionOnScmFailure>
|
|
<providerImplementations>
|
|
</providerImplementations>
|
|
</configuration>
|
|
</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>${project.version}-r${buildNumber}</Implementation-Version>
|
|
</manifestEntries>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
<version>2.3.2</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.12</version>
|
|
<configuration>
|
|
<!-- <groups>fast</groups>
|
|
<testFailureIgnore>true</testFailureIgnore>
|
|
-->
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.google.code.maven-replacer-plugin</groupId>
|
|
<artifactId>maven-replacer-plugin</artifactId>
|
|
<version>1.4.1</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>replace</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<file>${configSourceDirectory}/forge.sh</file>
|
|
<outputFile>
|
|
${project.build.directory}/forge.sh
|
|
</outputFile>
|
|
<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>
|
|
<version>2.3</version><!--$NO-MVN-MAN-VER$-->
|
|
<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>${project.version}-r${buildNumber}</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>2.5.1</version>
|
|
<configuration>
|
|
<source>1.6</source>
|
|
<target>1.6</target>
|
|
<compilerId>groovy-eclipse-compiler</compilerId>
|
|
<!-- set verbose to be true if you want lots of uninteresting messages -->
|
|
<!-- <verbose>true</verbose> -->
|
|
</configuration>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.codehaus.groovy</groupId>
|
|
<artifactId>groovy-eclipse-compiler</artifactId>
|
|
<version>2.7.0-01</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</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.1.2</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.1</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.8.1</version>
|
|
<configuration>
|
|
<quiet>true</quiet>
|
|
<failOnError>false</failOnError>
|
|
<detectOfflineLinks>false</detectOfflineLinks>
|
|
<show>package</show>
|
|
<level>package</level>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
|
|
<pluginManagement>
|
|
<plugins>
|
|
<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.3</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>2.4</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
<version>2.3.2</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>2.5</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-scm-plugin</artifactId>
|
|
<version>1.7</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>
|
|
[2.5.1,)
|
|
</versionRange>
|
|
<goals>
|
|
<goal>testCompile</goal>
|
|
<goal>compile</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.4</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.8.1</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.codehaus.mojo</groupId>
|
|
<artifactId>l10n-maven-plugin</artifactId>
|
|
<version>1.0-alpha-2</version>
|
|
<configuration>
|
|
<locales>
|
|
<locale>cs</locale>
|
|
<locale>de</locale>
|
|
<locale>es</locale>
|
|
<locale>fr</locale>
|
|
<locale>gl</locale>
|
|
<locale>hu</locale>
|
|
<locale>it</locale>
|
|
<locale>ja</locale>
|
|
<locale>ko</locale>
|
|
<locale>lt</locale>
|
|
<locale>nl</locale>
|
|
<locale>no</locale>
|
|
<locale>pl</locale>
|
|
<locale>pt</locale>
|
|
<locale>pt_BR</locale>
|
|
<locale>ru</locale>
|
|
<locale>sk</locale>
|
|
<locale>sv</locale>
|
|
<locale>tr</locale>
|
|
<locale>zh_CN</locale>
|
|
<locale>zh_TW</locale>
|
|
</locales>
|
|
</configuration>
|
|
</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.6</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.12</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>13.0.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.thoughtworks.xstream</groupId>
|
|
<artifactId>xstream</artifactId>
|
|
<version>1.4.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.testng</groupId>
|
|
<artifactId>testng</artifactId>
|
|
<version>6.5.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>log4j</groupId>
|
|
<artifactId>log4j</artifactId>
|
|
<version>1.2.16</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.googlecode</groupId>
|
|
<artifactId>minlog</artifactId>
|
|
<version>1.2</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.mantisbt</groupId>
|
|
<artifactId>mantisconnect-client-api</artifactId>
|
|
<version>1.1.1</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-lang3</artifactId>
|
|
<version>3.1</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.freemarker</groupId>
|
|
<artifactId>freemarker</artifactId>
|
|
<version>2.3.19</version>
|
|
</dependency>
|
|
|
|
<!-- Mantis transitive depedencies -->
|
|
<dependency>
|
|
<groupId>com.jgoodies</groupId>
|
|
<artifactId>forms</artifactId>
|
|
<version>1.2.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.xml</groupId>
|
|
<artifactId>jaxrpc-api</artifactId>
|
|
<version>1.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.axis</groupId>
|
|
<artifactId>axis</artifactId>
|
|
<version>1.4</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.ant</groupId>
|
|
<artifactId>ant-commons-logging</artifactId>
|
|
<version>1.8.4</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-discovery</groupId>
|
|
<artifactId>commons-discovery</artifactId>
|
|
<version>0.5</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>axis</groupId>
|
|
<artifactId>axis-wsdl4j</artifactId>
|
|
<version>1.5.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.activation</groupId>
|
|
<artifactId>activation</artifactId>
|
|
<version>1.1.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.mail</groupId>
|
|
<artifactId>mail</artifactId>
|
|
<version>1.4.5</version>
|
|
</dependency>
|
|
<!-- Mantis transistive depedencies -->
|
|
</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>
|
|
<activation>
|
|
<os>
|
|
<!-- <family>windows</family> -->
|
|
<!-- <family>unix</family> -->
|
|
</os>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.akathist.maven.plugins.launch4j</groupId>
|
|
<artifactId>launch4j-maven-plugin</artifactId>
|
|
<version>1.3.4</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.6.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>package</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="${basedir}" includes="forge.properties" />
|
|
<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/**" />
|
|
<exclude name="res/lib/**" />
|
|
</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.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.exe" />
|
|
</tarfileset>
|
|
<tarfileset dir="${project.build.directory}/${project.build.finalName}">
|
|
<include name="**" />
|
|
<exclude name="forge.sh" />
|
|
<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>package</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>
|
|
<activation>
|
|
<os>
|
|
<!-- <family>mac</family> -->
|
|
</os>
|
|
</activation>
|
|
<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>package</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="*.properties" />
|
|
<include name="res/**" />
|
|
<exclude name="res/cardsfolder/**" />
|
|
<exclude name="res/lib/**" />
|
|
</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>package</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>
|