83 lines
3.7 KiB
XML
83 lines
3.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
~ Copyright (C) 2009-2013 moparisthebest
|
|
~
|
|
~ This program is free software: you can redistribute it and/or modify
|
|
~ it under the terms of the GNU Affero General Public License as published by
|
|
~ the Free Software Foundation, either version 3 of the License, or
|
|
~ (at your option) any later version.
|
|
~
|
|
~ This program is distributed in the hope that it will be useful,
|
|
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
~ GNU Affero General Public License for more details.
|
|
~
|
|
~ You should have received a copy of the GNU Affero General Public License
|
|
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
~
|
|
~ Official forums are http://www.moparscape.org/smf/
|
|
~ Email me at admin@moparisthebest.com.
|
|
-->
|
|
|
|
<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/xsd/maven-4.0.0.xsd">
|
|
<parent>
|
|
<groupId>org.moparscape.client</groupId>
|
|
<artifactId>main</artifactId>
|
|
<version>0.1-SNAPSHOT</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>servers</artifactId>
|
|
<packaging>pom</packaging>
|
|
<modules>
|
|
<module>server317</module>
|
|
<module>server508</module>
|
|
</modules>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>MoparScape</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<version>1.7</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<configuration>
|
|
<target>
|
|
<!-- Create server zip -->
|
|
<copy file="${project.build.directory}/${project.build.finalName}.${project.packaging}"
|
|
tofile="${project.build.directory}/server.jar"/>
|
|
<zip destfile="${project.build.directory}/${project.build.finalName}.zip"
|
|
duplicate="preserve">
|
|
<fileset dir="${basedir}" casesensitive="yes">
|
|
<include name="*"/>
|
|
<include name="*/"/>
|
|
<exclude name="*.iml"/>
|
|
<exclude name="*.xml"/>
|
|
<exclude name="src/"/>
|
|
<exclude name="target/"/>
|
|
</fileset>
|
|
<fileset dir="${project.build.directory}" casesensitive="yes">
|
|
<include name="server.jar"/>
|
|
</fileset>
|
|
</zip>
|
|
<delete file="${project.build.directory}/server.jar"/>
|
|
</target>
|
|
</configuration>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
</build>
|
|
</project> |