Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Simplified modules for CD demo

  • Loading branch information...
commit c0a67fcaeba07ac154aab47a6c5320ab24e985bb 1 parent e153c0e
@wakaleo authored
View
3  gameoflife-acceptance-tests/pom.xml
@@ -1,5 +1,6 @@
<?xml version="1.0"?>
-<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">
+<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>gameoflife</artifactId>
View
25 gameoflife-cli/pom.xml
@@ -1,25 +0,0 @@
-<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>gameoflife</artifactId>
- <groupId>com.wakaleo.gameoflife</groupId>
- <version>0.9.65-SNAPSHOT</version>
- </parent>
- <artifactId>gameoflife-cli</artifactId>
- <packaging>jar</packaging>
-
- <name>gameoflife-cli</name>
-
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
-
- <dependencies>
- <dependency>
- <groupId>com.wakaleo.gameoflife</groupId>
- <artifactId>gameoflife-core</artifactId>
- <version>0.9.65-SNAPSHOT</version>
- </dependency>
- </dependencies>
-</project>
View
16 gameoflife-core/src/test/java/com/wakaleo/gameoflife/integration/WhenYouStoreGamesInADatabase.java
@@ -0,0 +1,16 @@
+package com.wakaleo.gameoflife.integration;
+
+import org.junit.Test;
+
+public class WhenYouStoreGamesInADatabase {
+
+ @Test
+ public void should_store_games() {
+
+ }
+
+ @Test
+ public void should_load_saved_games() {
+ }
+
+}
View
4 gameoflife-web/pom.xml
@@ -26,10 +26,6 @@
</resources>
<plugins>
<plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.9</version>
- </plugin>
- <plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>7.1.0.v20100505</version>
View
33 gameoflife-webservice/pom.xml
@@ -1,33 +0,0 @@
-<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>gameoflife</artifactId>
- <groupId>com.wakaleo.gameoflife</groupId>
- <version>0.9.65-SNAPSHOT</version>
- </parent>
- <artifactId>gameoflife-webservice</artifactId>
- <packaging>jar</packaging>
-
- <name>gameoflife-webservice</name>
- <url>http://maven.apache.org</url>
-
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
-
- <dependencies>
- <dependency>
- <groupId>com.wakaleo.gameoflife</groupId>
- <artifactId>gameoflife-core</artifactId>
- <version>0.9.65-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>commons-lang</groupId>
- <artifactId>commons-lang</artifactId>
- <version>2.5</version>
- <type>jar</type>
- <scope>compile</scope>
- </dependency>
- </dependencies>
-</project>
View
3  gameoflife-webservice/src/main/java/META-INF/MANIFEST.MF
@@ -1,3 +0,0 @@
-Manifest-Version: 1.0
-Class-Path:
-
View
66 pom.xml
@@ -16,7 +16,7 @@
<!-- A workaround for a bug in PMD -->
<targetJdk>1.6</targetJdk>
<github.account>wakaleo</github.account>
- <thucydides.version>0.9.20</thucydides.version>
+ <thucydides.version>0.9.22</thucydides.version>
</properties>
<scm>
@@ -38,14 +38,62 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>2.10</version>
<configuration>
- <parallel>classes</parallel>
- <argLine>-Xmx512m</argLine>
- <threadCount>4</threadCount>
- <includes>
- <include>**/When*.java</include>
- <include>**/*Test.java</include>
- </includes>
+ <skip>true</skip>
</configuration>
+ <executions>
+ <execution>
+ <id>unit-tests</id>
+ <phase>test</phase>
+ <goals>
+ <goal>test</goal>
+ </goals>
+ <configuration>
+ <skip>false</skip>
+ <includes>
+ <include>**/When*.java</include>
+ <include>**/*Test.java</include>
+ </includes>
+ <excludes>
+ <exclude>%regex[.*integration.*]</exclude>
+ </excludes>
+ </configuration>
+ </execution>
+ <execution>
+ <id>integration-tests</id>
+ <phase>integration-test</phase>
+ <goals>
+ <goal>test</goal>
+ </goals>
+ <configuration>
+ <skip>false</skip>
+ <includes>
+ <include>%regex[.*integration.*]</include>
+ </includes>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <!-- CODE COVERAGE -->
+ <plugin>
+ <groupId>org.jacoco</groupId>
+ <artifactId>jacoco-maven-plugin</artifactId>
+ <version>0.5.10.201208310627</version>
+ <executions>
+ <execution>
+ <id>jacoco-initialize</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>prepare-agent</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>jacoco-site</id>
+ <phase>post-integration-test</phase>
+ <goals>
+ <goal>report</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
<plugin>
@@ -147,8 +195,6 @@
<module>gameoflife-build</module>
<module>gameoflife-core</module>
<module>gameoflife-web</module>
- <module>gameoflife-webservice</module>
- <module>gameoflife-cli</module>
</modules>
<distributionManagement>
<repository>
Please sign in to comment.
Something went wrong with that request. Please try again.