aboutsummaryrefslogtreecommitdiffstats
path: root/champ-service/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'champ-service/pom.xml')
-rw-r--r--champ-service/pom.xml64
1 files changed, 16 insertions, 48 deletions
diff --git a/champ-service/pom.xml b/champ-service/pom.xml
index b0dbf46..108e6a2 100644
--- a/champ-service/pom.xml
+++ b/champ-service/pom.xml
@@ -53,6 +53,7 @@ limitations under the License.
<docker.location>${basedir}/target</docker.location>
<onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
+ <version.org.hamcrest.hamcrest-library>1.3</version.org.hamcrest.hamcrest-library>
</properties>
<dependencies>
@@ -136,6 +137,20 @@ limitations under the License.
</exclusion>
</exclusions>
</dependency>
+
+ <dependency>
+ <groupId>org.hamcrest</groupId>
+ <artifactId>hamcrest-library</artifactId>
+ <version>${version.org.hamcrest.hamcrest-library}</version>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.skyscreamer</groupId>
+ <artifactId>jsonassert</artifactId>
+ <version>1.5.0</version>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<distributionManagement>
@@ -197,7 +212,7 @@ limitations under the License.
<skip>true</skip>
</configuration>
</plugin>
- <!--
+ <!-- Uncomment to add a license header to source files
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
@@ -251,53 +266,6 @@ limitations under the License.
<goal>report</goal>
</goals>
</execution>
- <execution>
- <id>default-check</id>
- <goals>
- <goal>check</goal>
- </goals>
- <configuration>
- <rules>
- <!-- implementation is needed only for Maven 2 -->
- <rule implementation="org.jacoco.maven.RuleConfiguration">
- <element>BUNDLE</element>
- <limits>
- <!-- implementation is needed only for Maven 2 -->
- <limit implementation="org.jacoco.report.check.Limit">
- <counter>INSTRUCTION</counter>
- <value>COVEREDRATIO</value>
- <minimum>.15</minimum>
- </limit>
- <limit implementation="org.jacoco.report.check.Limit">
- <counter>BRANCH</counter>
- <value>COVEREDRATIO</value>
- <minimum>.12</minimum>
- </limit>
- <limit implementation="org.jacoco.report.check.Limit">
- <counter>COMPLEXITY</counter>
- <value>COVEREDRATIO</value>
- <minimum>.15</minimum>
- </limit>
- <limit implementation="org.jacoco.report.check.Limit">
- <counter>LINE</counter>
- <value>COVEREDRATIO</value>
- <minimum>.10</minimum>
- </limit>
- <limit implementation="org.jacoco.report.check.Limit">
- <counter>METHOD</counter>
- <value>COVEREDRATIO</value>
- <minimum>.17</minimum>
- </limit>
- <limit implementation="org.jacoco.report.check.Limit">
- <counter>CLASS</counter>
- <value>MISSEDCOUNT</value>
- <maximum>5</maximum>
- </limit>
- </limits>
- </rule>
- </rules>
- </configuration>
- </execution>
</executions>
</plugin>
</plugins>