============LICENSE_START=======================================================
ONAP : APPC
================================================================================
-Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
+Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved.
================================================================================
Copyright (C) 2017 Amdocs
=============================================================================
limitations under the License.
============LICENSE_END=========================================================
-->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>org.onap.ccsdk.parent</groupId>
<artifactId>odlparent</artifactId>
- <version>1.0.3</version>
+ <version>1.5.1</version>
</parent>
<packaging>pom</packaging>
<groupId>org.onap.appc</groupId>
<artifactId>appc</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>1.8.0-SNAPSHOT</version>
<name>appc</name>
<description>Construct the Application Controller component for the ECOMP project.</description>
<inceptionYear>2015-07-20</inceptionYear>
<commons.lang3.version>3.4</commons.lang3.version>
<antlr.version>4.5.1</antlr.version>
<logback.version>1.2.0</logback.version>
- <toscalib.version>1.1.0</toscalib.version>
<sdc-client.version>1.3.0</sdc-client.version>
<jackson.yml.version>2.3.2</jackson.yml.version>
<!-- SONAR -->
<sonar.language>java</sonar.language>
- <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
- <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
- <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
- <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
+ <sonar.coverage.jacoco.xmlReportPaths>
+ ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
+ </sonar.coverage.jacoco.xmlReportPaths>
<sonar.projectVersion>${project.version}</sonar.projectVersion>
+ <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
<salGeneratorPath>target/generated-sources/yang-gen-sal</salGeneratorPath>
<maven.javadoc.failOnError>false</maven.javadoc.failOnError>
<odl.mdsal.version>1.6.1</odl.mdsal.version>
<odl.mdsal.features.version>2.3.1</odl.mdsal.features.version>
<odl.yang.jmx.generator.version>0.7.1</odl.yang.jmx.generator.version>
- <odl.ietf-yang-types.version>2010.09.24.11.1</odl.ietf-yang-types.version>
- <odl.ietf-inet-types.version>2010.09.24.11.1</odl.ietf-inet-types.version>
+ <odl.ietf-yang-types.version>2013.07.15.13.1</odl.ietf-yang-types.version>
+ <odl.ietf-inet-types.version>1.5.1</odl.ietf-inet-types.version>
<odl.controller.config.api.version>0.7.1</odl.controller.config.api.version>
<odl.commons.opendaylight.version>2.0.5</odl.commons.opendaylight.version>
- <odl.karaf.empty.distro.version>1.8.3-Carbon</odl.karaf.empty.distro.version>
</properties>
<useStandardDocletOptions>true</useStandardDocletOptions>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.jacoco</groupId>
+ <artifactId>jacoco-maven-plugin</artifactId>
+ <reportSets>
+ <reportSet>
+ <reports>
+ <!-- select non-aggregate reports -->
+ <report>report</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </plugin>
</plugins>
</reporting>
<artifactId>sal-binding-config</artifactId>
<version>${odl.mdsal.version}</version>
</dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>sal-binding-api</artifactId>
- <version>${odl.mdsal.version}</version>
- </dependency>
<dependency>
<groupId>org.opendaylight.controller</groupId>
<artifactId>sal-test-model</artifactId>
<type>xml</type>
</dependency>
<dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>opendaylight-karaf-empty</artifactId>
- <version>${odl.karaf.empty.distro.version}</version>
- <type>zip</type>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal.model</groupId>
- <artifactId>ietf-inet-types</artifactId>
- <version>${odl.ietf-inet-types.version}</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal.model</groupId>
- <artifactId>ietf-yang-types</artifactId>
- <version>${odl.ietf-yang-types.version}</version>
- </dependency>
+ <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
+ <artifactId>rfc6991</artifactId>
+ </dependency>
+
+
<!-- CURRENTLY DOES NOT EXIST IN 3.0. Replacement? -->
<!-- Required for launching the feature tests -->
<!-- <dependency> -->
<!-- <groupId>org.opendaylight.yangtools</groupId> -->
<!-- <artifactId>features-test</artifactId> -->
- <!-- <version>${odl.yangtools.version}</version> -->
<!-- <scope>test</scope> -->
<!-- </dependency> -->
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.9.1</version>
</plugin>
- <plugin>
- <groupId>org.sonarsource.scanner.maven</groupId>
- <artifactId>sonar-maven-plugin</artifactId>
- <version>3.2</version>
- </plugin>
</plugins>
</pluginManagement>
<plugins>
- <!--maven staging plugin -->
+ <!-- jacoco for testing -->
<plugin>
- <groupId>org.sonatype.plugins</groupId>
- <artifactId>nexus-staging-maven-plugin</artifactId>
- <version>1.6.7</version>
- <extensions>true</extensions>
- <configuration>
- <nexusUrl>${onap.nexus.url}</nexusUrl>
- <stagingProfileId>176c31dfe190a</stagingProfileId>
- <serverId>ecomp-staging</serverId>
- </configuration>
+ <groupId>org.jacoco</groupId>
+ <artifactId>jacoco-maven-plugin</artifactId>
+ <version>0.8.4</version>
+ <executions>
+ <execution>
+ <id>default-prepare-agent</id>
+ <goals>
+ <goal>prepare-agent</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>default-report</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>report</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>default-check</id>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <rule>
+ <element>PACKAGE</element>
+ <limits>
+ <limit>
+ <counter>COMPLEXITY</counter>
+ <value>COVEREDRATIO</value>
+ <minimum>0.0</minimum>
+ </limit>
+ </limits>
+ </rule>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
</plugin>
<!-- Javadocs Plugin -->
<plugin>
<!-- The modules we build every time -->
<!-- ================================================================================== -->
<modules>
- <module>appc-parent</module>
- <module>appc-common</module>
<module>appc-core</module>
</modules>
<!-- Adding profiles for testing -->
<activeByDefault>true</activeByDefault>
</activation>
<modules>
- <module>appc-common</module>
<module>appc-adapters</module>
+ <module>appc-service-communicator</module>
<module>appc-provider</module>
- <module>appc-event-listener</module>
<module>appc-sdc-listener</module>
<module>appc-lifecycle-management</module>
<module>appc-oam</module>
<module>appc-inbound</module>
<module>appc-sequence-generator</module>
<module>appc-client</module>
- <module>appc-test-dependencies</module>
</modules>
</profile>
<profile>
<module>appc-metric</module>
<module>appc-dg</module>
<module>appc-dg-util</module>
+ <module>services</module>
</modules>
</profile>
</profiles>