3 Copyright (c) 2017 Wind River Systems, Inc.
4 Copyright (c) 2017-2018 VMware, Inc.
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at:
9 http://www.apache.org/licenses/LICENSE-2.0
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 xmlns="http://maven.apache.org/POM/4.0.0"
17 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
19 <groupId>org.onap.multicloud.framework</groupId>
20 <artifactId>multicloud-framework</artifactId>
21 <version>1.3.0-SNAPSHOT</version>
24 <modelVersion>4.0.0</modelVersion>
25 <artifactId>multicloud-framework-artifactbroker</artifactId>
26 <version>1.3.0-SNAPSHOT</version>
27 <packaging>pom</packaging>
28 <name>multicloud-framework-artifactbroker</name>
29 <description>artifact broker</description>
31 <encoding>UTF-8</encoding>
32 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
33 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
34 <nexusproxy>https://nexus.onap.org</nexusproxy>
35 <version.logback>1.2.3</version.logback>
36 <policy.common.version>1.3.4</policy.common.version>
37 <policy.engine.version>1.3.5</policy.engine.version>
41 <module>model</module>
43 <module>reception</module>
44 <module>forwarding</module>
45 <module>plugins</module>
46 <module>packages</module>
50 <groupId>junit</groupId>
51 <artifactId>junit</artifactId>
52 <version>4.12</version>
56 <groupId>org.slf4j</groupId>
57 <artifactId>slf4j-ext</artifactId>
58 <version>1.8.0-beta2</version>
61 <groupId>org.slf4j</groupId>
62 <artifactId>slf4j-api</artifactId>
63 <version>1.7.25</version>
66 <groupId>ch.qos.logback</groupId>
67 <artifactId>logback-core</artifactId>
68 <version>${version.logback}</version>
71 <groupId>ch.qos.logback</groupId>
72 <artifactId>logback-classic</artifactId>
73 <version>${version.logback}</version>
76 <groupId>org.onap.policy.common</groupId>
77 <artifactId>common-parameters</artifactId>
78 <version>${policy.common.version}</version>
81 <groupId>org.onap.policy.common</groupId>
82 <artifactId>ONAP-Logging</artifactId>
83 <version>${policy.common.version}</version>
86 <groupId>org.onap.policy.common</groupId>
87 <artifactId>capabilities</artifactId>
88 <version>${policy.common.version}</version>
91 <groupId>org.onap.policy.common</groupId>
92 <artifactId>policy-endpoints</artifactId>
93 <version>${policy.common.version}</version>
96 <groupId>org.onap.policy.common</groupId>
97 <artifactId>utils</artifactId>
98 <version>${policy.common.version}</version>
101 <groupId>commons-cli</groupId>
102 <artifactId>commons-cli</artifactId>
103 <version>1.4</version>
106 <groupId>com.google.code.gson</groupId>
107 <artifactId>gson</artifactId>
108 <version>2.8.4</version>
115 <groupId>org.jacoco</groupId>
116 <artifactId>jacoco-maven-plugin</artifactId>
119 <id>pre-unit-test</id>
121 <goal>prepare-agent</goal>
124 <destFile>${sonar.jacoco.reportPath}</destFile>
125 <append>true</append>
129 <id>post-unit-test</id>
135 <dataFile>${sonar.jacoco.reportPath}</dataFile>
141 <artifactId>maven-checkstyle-plugin</artifactId>
144 <id>onap-java-style</id>
148 <phase>process-sources</phase>
150 <!-- Use Google Java Style Guide:
151 https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
152 with minor changes -->
153 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
154 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
155 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
156 <includeResources>true</includeResources>
157 <includeTestSourceDirectory>true</includeTestSourceDirectory>
158 <includeTestResources>true</includeTestResources>
161 <consoleOutput>true</consoleOutput>
162 <failOnViolation>true</failOnViolation>
163 <violationSeverity>warning</violationSeverity>
169 <groupId>org.onap.oparent</groupId>
170 <artifactId>checkstyle</artifactId>
171 <version>1.2.0</version>
172 <scope>compile</scope>
180 <groupId>org.jacoco</groupId>
181 <artifactId>jacoco-maven-plugin</artifactId>
182 <version>${jacoco.version}</version>
184 <!-- Note: This exclusion list should match <sonar.exclusions> property
187 <exclude>**/gen/**</exclude>
188 <exclude>**/generated-sources/**</exclude>
189 <exclude>**/yang-gen/**</exclude>
190 <exclude>**/pax/**</exclude>
194 <!-- Prepares the property pointing to the JaCoCo runtime agent which
195 is passed as VM argument when Maven the Surefire plugin is executed. -->
197 <id>pre-unit-test</id>
199 <goal>prepare-agent</goal>
202 <destFile>${sonar.jacoco.reportPath}</destFile>
205 <!-- Ensures that the code coverage report for unit tests is created
206 after unit tests have been run. -->
208 <id>post-unit-test</id>
214 <dataFile>${sonar.jacoco.reportPath}</dataFile>