summaryrefslogtreecommitdiffstats
path: root/cmso-robot/pom.xml
diff options
context:
space:
mode:
authorJerry Flood <jflood@att.com>2019-04-12 08:23:22 -0400
committerJerry Flood <jflood@att.com>2019-04-15 06:51:58 -0400
commita3da541f9914a13e644f638f02b4f44b64028332 (patch)
tree6e1bc218c4c2aab1743c97dea61edda78b6ad46c /cmso-robot/pom.xml
parent9c23f5162c9cde34e69f0caa49ae154aeec9ec83 (diff)
Add robot integration test
Produce code coverage for cmso-service Clean up poms Issue-ID: OPTFRA-474 Change-Id: I46a24d99413b5d30387f93c558a7d675410a1064 Signed-off-by: Jerry Flood <jflood@att.com>
Diffstat (limited to 'cmso-robot/pom.xml')
-rw-r--r--cmso-robot/pom.xml34
1 files changed, 30 insertions, 4 deletions
diff --git a/cmso-robot/pom.xml b/cmso-robot/pom.xml
index 37ae95b..89c6019 100644
--- a/cmso-robot/pom.xml
+++ b/cmso-robot/pom.xml
@@ -57,7 +57,18 @@
<skip.staging.artifacts>false</skip.staging.artifacts>
</properties>
-
+ <dependencies>
+ <dependency>
+ <groupId>commons-io</groupId>
+ <artifactId>commons-io</artifactId>
+ <version>2.6</version>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.12</version>
+ </dependency>
+ </dependencies>
<build>
<plugins>
<plugin>
@@ -130,12 +141,27 @@
<artifactId>jacoco-maven-plugin</artifactId>
<executions>
<execution>
- <id>disable</id>
- <phase>none</phase>
+ <id>post-integration-test</id>
+ <phase>post-integration-test</phase>
+ <goals>
+ <goal>report</goal>
+ </goals>
+ <configuration>
+ <dataFile>${project.basedir}/target/code-coverage/service.jacoco.exec</dataFile>
+ <outputDirectory>${project.basedir}/target/site/jacoco-it</outputDirectory>
+ <includes>
+ <include>service/**</include>
+ </includes>
+ <excludes>
+ <exclude>**/gen/**</exclude>
+ <exclude>**/generated-sources/**</exclude>
+ <exclude>**/yang-gen/**</exclude>
+ <exclude>**/pax/**</exclude>
+ </excludes>
+ </configuration>
</execution>
</executions>
</plugin>
-
</plugins>
<finalName>optf-cmso-robot</finalName>
</build>