Project: * Clean-up (Eclipse cruft, unused files, etc...) * Git-specific changes * Maven POMs clean-up and changes for the build system * Version set to 1.0.0-0 in the development branches * Maven plug-ins updated to latest versions * Very partial dev. documentation added
This commit is contained in:
parent
c74e30d5ba
commit
0665a760de
1439 changed files with 1020 additions and 1649 deletions
legacyworlds-server-DIST
53
legacyworlds-server-DIST/pom.xml
Normal file
53
legacyworlds-server-DIST/pom.xml
Normal file
|
@ -0,0 +1,53 @@
|
|||
<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">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<artifactId>legacyworlds-server</artifactId>
|
||||
<groupId>com.deepclone.lw</groupId>
|
||||
<version>1.0.0</version>
|
||||
<relativePath>../legacyworlds-server/pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
<artifactId>legacyworlds-server-DIST</artifactId>
|
||||
<version>${legacyworlds.version.main}.${legacyworlds.version.release}-${legacyworlds.version.build}</version>
|
||||
|
||||
<packaging>pom</packaging>
|
||||
<name>Legacy Worlds - Server - Packaging</name>
|
||||
<description>This Maven module is responsible for creating the Legacy Worlds server's packaging.</description>
|
||||
|
||||
|
||||
<!-- Depend solely on the server's JAR, other dependencies will update automatically -->
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.deepclone.lw</groupId>
|
||||
<artifactId>legacyworlds-server-main</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<!-- Use the assembly plug-in to generate the distribution -->
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>distribution-assembly</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>single</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<attach>false</attach>
|
||||
<finalName>legacyworlds-server-${project.version}</finalName>
|
||||
<descriptors>
|
||||
<descriptor>src/server.xml</descriptor>
|
||||
</descriptors>
|
||||
<appendAssemblyId>false</appendAssemblyId>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
91
legacyworlds-server-DIST/src/server.xml
Normal file
91
legacyworlds-server-DIST/src/server.xml
Normal file
|
@ -0,0 +1,91 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<assembly
|
||||
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
|
||||
|
||||
<!-- Legacy Worlds server assembly -->
|
||||
|
||||
<id>legacyworlds-server</id>
|
||||
<formats>
|
||||
<format>dir</format>
|
||||
</formats>
|
||||
<includeBaseDirectory>false</includeBaseDirectory>
|
||||
|
||||
<dependencySets>
|
||||
|
||||
<!-- The server's main archive -->
|
||||
<dependencySet>
|
||||
<useProjectArtifact>false</useProjectArtifact>
|
||||
<outputDirectory>.</outputDirectory>
|
||||
<unpack>false</unpack>
|
||||
<includes>
|
||||
<include>com.deepclone.lw:legacyworlds-server-main:jar</include>
|
||||
</includes>
|
||||
</dependencySet>
|
||||
|
||||
<!-- Libraries - both internal and external dependencies -->
|
||||
<dependencySet>
|
||||
<useProjectArtifact>false</useProjectArtifact>
|
||||
<outputDirectory>lib</outputDirectory>
|
||||
<unpack>false</unpack>
|
||||
<includes>
|
||||
<include>*:jar</include>
|
||||
</includes>
|
||||
<excludes>
|
||||
<exclude>com.deepclone.lw:legacyworlds-server-main:jar</exclude>
|
||||
</excludes>
|
||||
</dependencySet>
|
||||
|
||||
</dependencySets>
|
||||
|
||||
<fileSets>
|
||||
|
||||
<!-- Database definitions -->
|
||||
<fileSet>
|
||||
<directory>../legacyworlds-server-data/db-structure</directory>
|
||||
<outputDirectory>sql</outputDirectory>
|
||||
<includes>
|
||||
<include>*.sql</include>
|
||||
<include>*/*.sql</include>
|
||||
<include>*/*/*.sql</include>
|
||||
</includes>
|
||||
<excludes>
|
||||
<exclude>*.txt</exclude>
|
||||
</excludes>
|
||||
</fileSet>
|
||||
|
||||
<!-- Default data -->
|
||||
<fileSet>
|
||||
<directory>../legacyworlds-server-main/data</directory>
|
||||
<outputDirectory>data</outputDirectory>
|
||||
<includes>
|
||||
<include>*.txt</include>
|
||||
<include>*.xml</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
|
||||
</fileSets>
|
||||
|
||||
<files>
|
||||
|
||||
<!-- Data source configuration -->
|
||||
<file>
|
||||
<source>../legacyworlds-server-main/data-source.xml</source>
|
||||
<destName>data-source.sample.xml</destName>
|
||||
<fileMode>0600</fileMode>
|
||||
<outputDirectory>.</outputDirectory>
|
||||
</file>
|
||||
|
||||
<!-- Database definition variables -->
|
||||
<file>
|
||||
<source>../legacyworlds-server-data/db-structure/db-config.txt</source>
|
||||
<destName>db-config.sample.txt</destName>
|
||||
<fileMode>0600</fileMode>
|
||||
<outputDirectory>sql</outputDirectory>
|
||||
</file>
|
||||
|
||||
</files>
|
||||
|
||||
|
||||
</assembly>
|
Reference in a new issue