<parent>
<groupId>org.onap.oparent</groupId>
<artifactId>oparent</artifactId>
- <version>1.2.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<groupId>org.onap.aai</groupId>
<artifactId>spike</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>1.6.0-SNAPSHOT</version>
<name>aai-spike</name>
<properties>
<docker.location>${basedir}/target</docker.location>
- <event.client.version>1.4.0-SNAPSHOT</event.client.version>
- <version.aai-schema>1.4.1-SNAPSHOT</version.aai-schema>
- <version.aai-schema-ingest>1.4.1-SNAPSHOT</version.aai-schema-ingest>
+ <event.client.version>1.5.0</event.client.version>
+ <version.aai-schema>1.5.1</version.aai-schema>
+ <version.aai-schema-ingest>1.4.1</version.aai-schema-ingest>
+ <!-- Minimum code coverage percentage. Please update this figure as coverage increases to prevent any drops in
+ coverage caused by new changes. Note that this figure cannot be lower than the ONAP requirement of 0.55 -->
+ <jacoco.line.coverage.limit>0.55</jacoco.line.coverage.limit>
+ <jacoco.report.directory>${project.build.directory}/code-coverage</jacoco.report.directory>
</properties>
<dependencyManagement>
<!-- Import dependency management from Spring Boot -->
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
- <version>1.5.17.RELEASE</version>
+ <version>1.5.21.RELEASE</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- MODEL -->
<dependency>
- <groupId>org.onap.aai.aai-common</groupId>
+ <groupId>org.onap.aai.schema-service</groupId>
<artifactId>aai-schema</artifactId>
<version>${version.aai-schema}</version>
</dependency>
<dependency>
<groupId>org.onap.aai.logging-service</groupId>
<artifactId>common-logging</artifactId>
- <version>1.2.2</version>
+ <version>1.5.0</version>
</dependency>
<dependency>
<groupId>org.onap.aai.logging-service</groupId>
<artifactId>logging-api</artifactId>
- <version>1.2.2</version>
+ <version>1.5.0</version>
</dependency>
<dependency>
<build>
<finalName>${project.artifactId}</finalName>
<plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ </plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
- <version>1.5.17.RELEASE</version>
+ <version>1.5.21.RELEASE</version>
<executions>
<execution>
<goals>
<artifactId>jacoco-maven-plugin</artifactId>
<executions>
<execution>
- <id>prepare-agent</id>
+ <id>default-check</id>
<goals>
- <goal>prepare-agent</goal>
- </goals>
- </execution>
- <execution>
- <id>report</id>
- <phase>package</phase>
- <goals>
- <goal>report</goal>
+ <goal>check</goal>
</goals>
+ <configuration>
+ <dataFile>${jacoco.report.directory}/jacoco-ut.exec</dataFile>
+ <rules>
+ <!-- implementation is needed only for Maven 2 -->
+ <rule implementation="org.jacoco.maven.RuleConfiguration">
+ <element>BUNDLE</element>
+ <limits>
+ <limit implementation="org.jacoco.report.check.Limit">
+ <counter>LINE</counter>
+ <value>COVEREDRATIO</value>
+ <minimum>${jacoco.line.coverage.limit}</minimum>
+ </limit>
+ </limits>
+ </rule>
+ </rules>
+ </configuration>
</execution>
</executions>
</plugin>
<configuration>
<artifactItems>
<artifactItem>
- <groupId>org.onap.aai.aai-common</groupId>
+ <groupId>org.onap.aai.schema-service</groupId>
<artifactId>aai-schema</artifactId>
<version>${version.aai-schema}</version>
<type>jar</type>