Emmanuel BENOîT
631f49fb86
* Added base classes for all importable data. These new classes should be used for all future loaders; all existing loaders that are modified should be updated. * I18N loader rewritten to make use of the new base classes. External strings are now read using the XML data file's path as the base directory. * Updated all external I18N definitions and moved the existing files around in an attempt to make the data directory somewhat more livable. * Added dependency management entry for the server's main package to the root project, updated server distribution package accordingly. Added dependency on the server's main package to the server's testing package.
349 lines
11 KiB
XML
349 lines
11 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>com.deepclone.lw</groupId>
|
|
<artifactId>legacyworlds</artifactId>
|
|
<version>1.0.0</version>
|
|
<packaging>pom</packaging>
|
|
<name>Legacy Worlds</name>
|
|
<description>Main Maven project for LW</description>
|
|
|
|
<!--
|
|
- BUILD CONFIGURATION
|
|
-
|
|
- Make sure everything is built for and using Java 6, and declare all
|
|
- other plug-ins to ease upgrades.
|
|
-->
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>2.3.2</version>
|
|
<configuration>
|
|
<source>1.6</source>
|
|
<target>1.6</target>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
|
|
<pluginManagement>
|
|
<plugins>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>2.2.2</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>2.3.2</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
<version>2.1.1</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>tomcat-maven-plugin</artifactId>
|
|
<version>1.1</version>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</pluginManagement>
|
|
</build>
|
|
|
|
<!--
|
|
- REPOSITORIES
|
|
-
|
|
- We need the Spring framework's own repository
|
|
-->
|
|
<repositories>
|
|
|
|
<repository>
|
|
<id>com.springsource.repository.bundles.release</id>
|
|
<name>Spring framework</name>
|
|
<url>http://repository.springsource.com/maven/bundles/release</url>
|
|
</repository>
|
|
<repository>
|
|
<id>com.springsource.repository.bundles.external</id>
|
|
<name>Spring framework - external</name>
|
|
<url>http://repository.springsource.com/maven/bundles/external</url>
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
|
|
<properties>
|
|
<!-- Make sure the source is seen as UTF8 -->
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<!--
|
|
- VERSION NUMBERS
|
|
-
|
|
- These properties are used in sub-modules to identify the
|
|
- current version and build number of the files.
|
|
-
|
|
- They are set by the build system, and should NEVER be changed
|
|
- manually.
|
|
-->
|
|
<legacyworlds.version.main>1.0</legacyworlds.version.main>
|
|
<legacyworlds.version.release>0</legacyworlds.version.release>
|
|
<legacyworlds.version.build>0</legacyworlds.version.build>
|
|
<legacyworlds.version.string>DEV</legacyworlds.version.string>
|
|
|
|
<!--
|
|
- DEPENDENCY VERSIONS
|
|
-->
|
|
<dep.springframework>3.0.3.RELEASE</dep.springframework>
|
|
<dep.slf4j>1.5.11</dep.slf4j>
|
|
<dep.log4j>1.2.16</dep.log4j>
|
|
<dep.dbcp>1.2.2</dep.dbcp>
|
|
<dep.codecs>1.4</dep.codecs>
|
|
<dep.cglib>2.2</dep.cglib>
|
|
<dep.mail>1.4.1</dep.mail>
|
|
<dep.xstream>1.3.1</dep.xstream>
|
|
<dep.junit>4.7</dep.junit>
|
|
<dep.freemarker>2.3.16</dep.freemarker>
|
|
<dep.servlet>2.5</dep.servlet>
|
|
<dep.postgresql>8.4-701.jdbc4</dep.postgresql>
|
|
</properties>
|
|
|
|
|
|
<!--
|
|
- DEPENDENCY MANAGEMENT
|
|
-->
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
|
|
<!-- INTERNAL DEPENDENCIES -->
|
|
<dependency>
|
|
<artifactId>legacyworlds-server-beans-accounts</artifactId>
|
|
<groupId>com.deepclone.lw</groupId>
|
|
<version>${legacyworlds.version.main}.${legacyworlds.version.release}-${legacyworlds.version.build}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<artifactId>legacyworlds-server-beans-bt</artifactId>
|
|
<groupId>com.deepclone.lw</groupId>
|
|
<version>${legacyworlds.version.main}.${legacyworlds.version.release}-${legacyworlds.version.build}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<artifactId>legacyworlds-server-beans-eventlog</artifactId>
|
|
<groupId>com.deepclone.lw</groupId>
|
|
<version>${legacyworlds.version.main}.${legacyworlds.version.release}-${legacyworlds.version.build}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<artifactId>legacyworlds-server-beans-i18n</artifactId>
|
|
<groupId>com.deepclone.lw</groupId>
|
|
<version>${legacyworlds.version.main}.${legacyworlds.version.release}-${legacyworlds.version.build}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<artifactId>legacyworlds-server-beans-mailer</artifactId>
|
|
<groupId>com.deepclone.lw</groupId>
|
|
<version>${legacyworlds.version.main}.${legacyworlds.version.release}-${legacyworlds.version.build}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<artifactId>legacyworlds-server-beans-naming</artifactId>
|
|
<groupId>com.deepclone.lw</groupId>
|
|
<version>${legacyworlds.version.main}.${legacyworlds.version.release}-${legacyworlds.version.build}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<artifactId>legacyworlds-server-beans-simple</artifactId>
|
|
<groupId>com.deepclone.lw</groupId>
|
|
<version>${legacyworlds.version.main}.${legacyworlds.version.release}-${legacyworlds.version.build}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<artifactId>legacyworlds-server-beans-system</artifactId>
|
|
<groupId>com.deepclone.lw</groupId>
|
|
<version>${legacyworlds.version.main}.${legacyworlds.version.release}-${legacyworlds.version.build}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<artifactId>legacyworlds-server-beans-user</artifactId>
|
|
<groupId>com.deepclone.lw</groupId>
|
|
<version>${legacyworlds.version.main}.${legacyworlds.version.release}-${legacyworlds.version.build}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.deepclone.lw</groupId>
|
|
<artifactId>legacyworlds-server-data</artifactId>
|
|
<version>${legacyworlds.version.main}.${legacyworlds.version.release}-${legacyworlds.version.build}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.deepclone.lw</groupId>
|
|
<artifactId>legacyworlds-server-interfaces</artifactId>
|
|
<version>${legacyworlds.version.main}.${legacyworlds.version.release}-${legacyworlds.version.build}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.deepclone.lw</groupId>
|
|
<artifactId>legacyworlds-server-main</artifactId>
|
|
<version>${legacyworlds.version.main}.${legacyworlds.version.release}-${legacyworlds.version.build}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.deepclone.lw</groupId>
|
|
<artifactId>legacyworlds-session</artifactId>
|
|
<version>${legacyworlds.version.main}.${legacyworlds.version.release}-${legacyworlds.version.build}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.deepclone.lw</groupId>
|
|
<artifactId>legacyworlds-server-utils</artifactId>
|
|
<version>${legacyworlds.version.main}.${legacyworlds.version.release}-${legacyworlds.version.build}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.deepclone.lw</groupId>
|
|
<artifactId>legacyworlds-session</artifactId>
|
|
<version>${legacyworlds.version.main}.${legacyworlds.version.release}-${legacyworlds.version.build}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.deepclone.lw</groupId>
|
|
<artifactId>legacyworlds-utils</artifactId>
|
|
<version>${legacyworlds.version.main}.${legacyworlds.version.release}-${legacyworlds.version.build}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.deepclone.lw</groupId>
|
|
<artifactId>legacyworlds-web-beans</artifactId>
|
|
<version>${legacyworlds.version.main}.${legacyworlds.version.release}-${legacyworlds.version.build}</version>
|
|
</dependency>
|
|
|
|
<!-- EXTERNAL DEPENDENCIES -->
|
|
|
|
<!-- XStream -->
|
|
<dependency>
|
|
<groupId>com.thoughtworks.xstream</groupId>
|
|
<artifactId>xstream</artifactId>
|
|
<version>${dep.xstream}</version>
|
|
</dependency>
|
|
|
|
<!-- Spring framework -->
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-core</artifactId>
|
|
<version>${dep.springframework}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context</artifactId>
|
|
<version>${dep.springframework}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>commons-logging</groupId>
|
|
<artifactId>commons-logging</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-jdbc</artifactId>
|
|
<version>${dep.springframework}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context-support</artifactId>
|
|
<version>${dep.springframework}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-test</artifactId>
|
|
<version>${dep.springframework}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-webmvc</artifactId>
|
|
<version>${dep.springframework}</version>
|
|
</dependency>
|
|
|
|
<!-- Logging (SLF4J + Log4J) -->
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>jcl-over-slf4j</artifactId>
|
|
<version>${dep.slf4j}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>${dep.slf4j}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
<version>${dep.slf4j}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>log4j</groupId>
|
|
<artifactId>log4j</artifactId>
|
|
<version>${dep.log4j}</version>
|
|
</dependency>
|
|
|
|
<!-- Apache commons -->
|
|
<dependency>
|
|
<groupId>commons-codec</groupId>
|
|
<artifactId>commons-codec</artifactId>
|
|
<version>${dep.codecs}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-dbcp</groupId>
|
|
<artifactId>commons-dbcp</artifactId>
|
|
<version>${dep.dbcp}</version>
|
|
</dependency>
|
|
|
|
<!-- Code generation library -->
|
|
<dependency>
|
|
<groupId>cglib</groupId>
|
|
<artifactId>cglib</artifactId>
|
|
<version>${dep.cglib}</version>
|
|
</dependency>
|
|
|
|
<!-- Java Mail extension -->
|
|
<dependency>
|
|
<groupId>javax.mail</groupId>
|
|
<artifactId>mail</artifactId>
|
|
<version>${dep.mail}</version>
|
|
</dependency>
|
|
|
|
<!-- PostgreSQL -->
|
|
<dependency>
|
|
<groupId>postgresql</groupId>
|
|
<artifactId>postgresql</artifactId>
|
|
<version>${dep.postgresql}</version>
|
|
</dependency>
|
|
|
|
|
|
<!-- JUnit -->
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>${dep.junit}</version>
|
|
</dependency>
|
|
|
|
|
|
<!-- Web stuff (FreeMarker, servlet specs, etc...) -->
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>servlet-api</artifactId>
|
|
<version>${dep.servlet}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.freemarker</groupId>
|
|
<artifactId>freemarker</artifactId>
|
|
<version>${dep.freemarker}</version>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
|
|
<!--
|
|
- MODULES
|
|
-->
|
|
<modules>
|
|
<module>../legacyworlds-server</module>
|
|
<module>../legacyworlds-session</module>
|
|
<module>../legacyworlds-web</module>
|
|
<module>../legacyworlds-utils</module>
|
|
</modules>
|
|
|
|
</project>
|