Additional Maven projects for unit tests

* Changed names of common packages so they are coherent with the rest

* Added new project for tests on common classes (utilities and session)

* Added new project for tests on the web clients
This commit is contained in:
Emmanuel BENOîT 2012-01-25 09:36:46 +01:00
parent a4bce68b17
commit b9bc5e038c
14 changed files with 94 additions and 4 deletions

View file

@ -9,7 +9,7 @@
</parent>
<artifactId>legacyworlds-session</artifactId>
<name>Legacy Worlds - Sessions</name>
<name>Legacy Worlds - Common packages - Sessions</name>
<version>${legacyworlds.version.main}.${legacyworlds.version.release}-${legacyworlds.version.build}</version>
<description>This module contains the definition of sessions used in client-server communications and all related classes and exceptions.</description>

View file

@ -0,0 +1,39 @@
<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>
<parent>
<artifactId>legacyworlds</artifactId>
<groupId>com.deepclone.lw</groupId>
<version>1.0.0</version>
<relativePath>../legacyworlds/pom.xml</relativePath>
</parent>
<artifactId>legacyworlds-tests</artifactId>
<version>${legacyworlds.version.main}.${legacyworlds.version.release}-${legacyworlds.version.build}</version>
<name>Legacy Worlds - Common packages - Tests</name>
<description>This package contains all tests for classes in common packages.</description>
<dependencies>
<dependency>
<artifactId>legacyworlds-session</artifactId>
<groupId>com.deepclone.lw</groupId>
<scope>test</scope>
</dependency>
<dependency>
<artifactId>legacyworlds-utils</artifactId>
<groupId>com.deepclone.lw</groupId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>

View file

View file

View file

@ -10,7 +10,7 @@
<artifactId>legacyworlds-utils</artifactId>
<version>${legacyworlds.version.main}.${legacyworlds.version.release}-${legacyworlds.version.build}</version>
<name>Legacy Worlds - Common utilities</name>
<name>Legacy Worlds - Common packages - Utilities</name>
<description>The classes in this package are used by all parts of the Legacy Worlds code.</description>
<dependencies>

View file

@ -0,0 +1,49 @@
<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>
<parent>
<artifactId>legacyworlds</artifactId>
<groupId>com.deepclone.lw</groupId>
<version>1.0.0</version>
<relativePath>../legacyworlds/pom.xml</relativePath>
</parent>
<artifactId>legacyworlds-web-tests</artifactId>
<version>${legacyworlds.version.main}.${legacyworlds.version.release}-${legacyworlds.version.build}</version>
<name>Legacy Worlds - Web - Tests</name>
<description>This package contains all tests for web clients functionalities.</description>
<dependencies>
<dependency>
<artifactId>legacyworlds-web-admin</artifactId>
<groupId>com.deepclone.lw</groupId>
<version>${legacyworlds.version.main}.${legacyworlds.version.release}-${legacyworlds.version.build}</version>
<type>war</type>
<scope>test</scope>
</dependency>
<dependency>
<artifactId>legacyworlds-web-beans</artifactId>
<groupId>com.deepclone.lw</groupId>
<scope>test</scope>
</dependency>
<dependency>
<artifactId>legacyworlds-web-main</artifactId>
<groupId>com.deepclone.lw</groupId>
<version>${legacyworlds.version.main}.${legacyworlds.version.release}-${legacyworlds.version.build}</version>
<type>war</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>

View file

@ -14,10 +14,11 @@
<description>Root module for Legacy Worlds web sites</description>
<modules>
<module>../legacyworlds-web-main</module>
<module>../legacyworlds-web-admin</module>
<module>../legacyworlds-web-beans</module>
<module>../legacyworlds-web-DIST</module>
<module>../legacyworlds-web-main</module>
<module>../legacyworlds-web-tests</module>
</modules>

View file

@ -348,8 +348,9 @@
<modules>
<module>../legacyworlds-server</module>
<module>../legacyworlds-session</module>
<module>../legacyworlds-web</module>
<module>../legacyworlds-tests</module>
<module>../legacyworlds-utils</module>
<module>../legacyworlds-web</module>
</modules>
</project>