Commit 354ea985 authored by bow's avatar bow
Browse files

Merge branch 'feature-test_coverage' into 'develop'

Feature test coverage

Removed aggregated scoverage module, now not breaking packaging anymore.

See merge request !117
parents 544eb3a0 31058345
......@@ -9,6 +9,6 @@ git.properties
# IntelliJ
.idea/*
*.iml
/target/
/public/target/
/protected/target/
target/
public/target/
protected/target/
......@@ -40,15 +40,26 @@
<module>shiva</module>
<module>basty</module>
</modules>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<scoverage.plugin.version>1.0.4</scoverage.plugin.version>
</properties>
<build>
<sourceDirectory>${basedir}/src/main/scala</sourceDirectory>
<testSourceDirectory>${basedir}/src/test/scala</testSourceDirectory>
<testResources>
<testResource>
<directory>${basedir}/src/test/resources</directory>
<includes>
<include>**/*</include>
</includes>
</testResource>
</testResources>
<resources>
<resource>
<directory>src/main/resources</directory>
<directory>${basedir}/src/main/resources</directory>
<includes>
<include>**/*</include>
</includes>
......@@ -56,9 +67,9 @@
</resources>
<plugins>
<plugin>
<groupId>org.scala-tools</groupId>
<artifactId>maven-scala-plugin</artifactId>
<version>2.15.2</version>
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<id>scala-compile</id>
......@@ -76,11 +87,19 @@
</configuration>
</execution>
</executions>
<!-- ... (see other usage or goals for details) ... -->
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.5</version>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
<configuration>
<archive>
<manifest>
......@@ -186,6 +205,27 @@
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.scoverage</groupId>
<artifactId>scoverage-maven-plugin</artifactId>
<version>${scoverage.plugin.version}</version>
<configuration>
<scalaVersion>2.11.4</scalaVersion>
<!-- other parameters -->
</configuration>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.scoverage</groupId>
<artifactId>scoverage-maven-plugin</artifactId>
<version>${scoverage.plugin.version}</version>
<configuration>
<outputDirectory>${basedir}/target/site/scoverage</outputDirectory>
</configuration>
</plugin>
</plugins>
</reporting>
</project>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment