mage/Mage.Server/pom.xml

260 lines
10 KiB
XML
Raw Normal View History

<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">
2010-12-02 09:14:18 +00:00
<modelVersion>4.0.0</modelVersion>
2010-12-02 09:14:18 +00:00
<parent>
<groupId>org.mage</groupId>
<artifactId>mage-root</artifactId>
2011-06-23 02:32:33 +00:00
<version>0.8.0</version>
2010-12-02 09:14:18 +00:00
</parent>
2010-12-02 09:14:18 +00:00
<artifactId>Mage-Server</artifactId>
<packaging>jar</packaging>
<name>Mage Server</name>
2010-12-02 09:14:18 +00:00
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>Mage</artifactId>
<version>${mage-version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>Mage-Common</artifactId>
<version>${mage-version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>Mage-Sets</artifactId>
<version>${mage-version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.2</version>
</dependency>
2010-12-02 09:14:18 +00:00
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>2.1.12</version>
</dependency>
2011-06-23 02:12:14 +00:00
<dependency>
2010-12-02 09:14:18 +00:00
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.14</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>Mage-Player-AI</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>Mage-Deck-Constructed</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
2010-12-04 03:23:12 +00:00
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>Mage-Deck-Limited</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
2010-12-02 09:14:18 +00:00
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>Mage-Game-FreeForAll</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>Mage-Game-TwoPlayerDuel</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>Mage-Player-Human</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>Mage-Player-AIMinimax</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
2011-04-02 01:05:43 +00:00
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>Mage-Player-AI-MA</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
2010-12-02 09:14:18 +00:00
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>Mage-Tournament-BoosterDraft</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>Mage-Tournament-Sealed</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
2010-12-02 09:14:18 +00:00
</dependencies>
2010-12-02 09:14:18 +00:00
<pluginRepositories>
<pluginRepository>
<id>maven2-repository.dev.java.net</id>
<name>Java.net Maven 2 Repository</name>
<url>http://download.java.net/maven/2</url>
</pluginRepository>
</pluginRepositories>
2010-12-02 09:14:18 +00:00
<build>
<plugins>
<plugin>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin</artifactId>
<version>0.7.4</version>
2010-12-02 09:14:18 +00:00
<configuration>
<generatePackage>mage.server.util.config</generatePackage>
<schemaDirectory>./src/main/xml-resources/jaxb/Config/</schemaDirectory>
<arguments>-Xcommons-lang</arguments>
</configuration>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
<descriptor>src/main/assembly/distribution.xml</descriptor>
</descriptors>
</configuration>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<classpathPrefix>lib/</classpathPrefix>
<mainClass>mage.server.Main</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>com.akathist.maven.plugins.launch4j</groupId>
<artifactId>launch4j-maven-plugin</artifactId>
<executions>
<execution>
<id>l4j-mage-server</id>
<phase>package</phase>
<goals>
<goal>launch4j</goal>
</goals>
<configuration>
<headerType>console</headerType>
<outfile>target/mage-server-${project.version}.exe</outfile>
<jar>target/mage-server.jar</jar>
<errTitle>Mage Server</errTitle>
2011-05-10 15:25:22 +00:00
<icon>../Mage.Client/src/main/resources/icon-mage.ico</icon>
<classPath>
<mainClass>mage.server.Main</mainClass>
<addDependencies>true</addDependencies>
<preCp>anything</preCp>
</classPath>
<jre>
<minVersion>1.5.0</minVersion>
2011-05-10 15:25:22 +00:00
<opts>
<opt>-Djava.security.policy=./config/security.policy</opt>
<opt>-Djava.util.logging.config.file=./config/logging.config</opt>
<opt>-Dlog4j.configuration=file:./config/log4j.properties</opt>
</opts>
</jre>
<versionInfo>
<fileVersion>${project.version}.0</fileVersion>
<txtFileVersion>MAGE Server</txtFileVersion>
<fileDescription>Mage Server</fileDescription>
<copyright>(C) Mage Development Team</copyright>
<productVersion>${project.version}.0</productVersion>
<txtProductVersion>MAGE Server</txtProductVersion>
<productName>MAGE</productName>
<internalName>Mage-Server</internalName>
<originalFilename>mage-server.exe</originalFilename>
</versionInfo>
</configuration>
</execution>
</executions>
</plugin>
2010-12-02 09:14:18 +00:00
</plugins>
2010-12-02 09:14:18 +00:00
<finalName>mage-server</finalName>
2011-07-24 19:05:02 +00:00
<pluginManagement>
<plugins>
<!--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.jvnet.jaxb2.maven2
</groupId>
<artifactId>
maven-jaxb2-plugin
</artifactId>
<versionRange>
[0.7.4,)
</versionRange>
<goals>
<goal>generate</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore></ignore>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
2010-12-02 09:14:18 +00:00
</build>
2010-12-02 09:14:18 +00:00
<properties/>
</project>