Commit 34c58de3 authored by luc chatty's avatar luc chatty
Browse files

PATREG-33 | implement coverage

parent 72bc8918
Pipeline #136820 passed with stages
in 8 minutes and 42 seconds
...@@ -68,8 +68,32 @@ ...@@ -68,8 +68,32 @@
<fork>true</fork> <fork>true</fork>
<source>${java.version}</source> <source>${java.version}</source>
<target>${java.version}</target> <target>${java.version}</target>
<compilerArgument>-proc:none</compilerArgument>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>org.bsc.maven</groupId>
<artifactId>maven-processor-plugin</artifactId>
<version>4.0-beta1</version>
<executions>
<execution>
<id>generateCoverage</id>
<goals>
<goal>process</goal>
<goal>process-test</goal>
</goals>
<phase>compile</phase>
<configuration>
<processors>
<processor>net.ihe.gazelle.lib.annotations.CoversProcessor</processor>
</processors>
<systemProperties>
<csv.name>patient-registry.csv</csv.name>
</systemProperties>
</configuration>
</execution>
</executions>
</plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
...@@ -279,6 +303,18 @@ ...@@ -279,6 +303,18 @@
</dependency> </dependency>
</dependencies> </dependencies>
</dependencyManagement> </dependencyManagement>
<dependencies>
<dependency>
<groupId>net.ihe.gazelle</groupId>
<artifactId>annotations-processors</artifactId>
<version>1.1.1</version>
</dependency>
<dependency>
<groupId>net.ihe.gazelle</groupId>
<artifactId>annotations-definitions</artifactId>
<version>1.1.1</version>
</dependency>
</dependencies>
<modules> <modules>
<module>patient-registry-service</module> <module>patient-registry-service</module>
......
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