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>
40 <module>model</module>
42 <module>reception</module>
43 <module>forwarding</module>
44 <module>plugins</module>
45 <module>packages</module>
49 <groupId>junit</groupId>
50 <artifactId>junit</artifactId>
51 <version>4.12</version>
55 <groupId>org.slf4j</groupId>
56 <artifactId>slf4j-ext</artifactId>
57 <version>1.8.0-beta2</version>
60 <groupId>org.slf4j</groupId>
61 <artifactId>slf4j-api</artifactId>
62 <version>1.7.25</version>
65 <groupId>ch.qos.logback</groupId>
66 <artifactId>logback-core</artifactId>
67 <version>${version.logback}</version>
70 <groupId>ch.qos.logback</groupId>
71 <artifactId>logback-classic</artifactId>
72 <version>${version.logback}</version>
75 <groupId>org.onap.policy.common</groupId>
76 <artifactId>common-parameters</artifactId>
77 <version>${policy.common.version}</version>
80 <groupId>org.onap.policy.common</groupId>
81 <artifactId>ONAP-Logging</artifactId>
82 <version>${policy.common.version}</version>
85 <groupId>org.onap.policy.common</groupId>
86 <artifactId>capabilities</artifactId>
87 <version>${policy.common.version}</version>
89 <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind -->
91 <groupId>com.fasterxml.jackson.core</groupId>
92 <artifactId>jackson-databind</artifactId>
93 <version>2.9.8</version>
95 <!-- https://mvnrepository.com/artifact/org.json/json -->
97 <groupId>org.json</groupId>
98 <artifactId>json</artifactId>
99 <version>20160810</version>
102 <groupId>org.onap.policy.common</groupId>
103 <artifactId>policy-endpoints</artifactId>
104 <version>${policy.common.version}</version>
107 <groupId>com.fasterxml.jackson.core</groupId>
108 <artifactId>jackson-databind</artifactId>
111 <groupId>org.json</groupId>
112 <artifactId>json</artifactId>
117 <groupId>org.onap.policy.common</groupId>
118 <artifactId>utils</artifactId>
119 <version>${policy.common.version}</version>
122 <groupId>commons-cli</groupId>
123 <artifactId>commons-cli</artifactId>
124 <version>1.4</version>
127 <groupId>com.google.code.gson</groupId>
128 <artifactId>gson</artifactId>
129 <version>2.8.4</version>
136 <groupId>org.jacoco</groupId>
137 <artifactId>jacoco-maven-plugin</artifactId>
140 <id>pre-unit-test</id>
142 <goal>prepare-agent</goal>
145 <destFile>${sonar.jacoco.reportPath}</destFile>
146 <append>true</append>
150 <id>post-unit-test</id>
156 <dataFile>${sonar.jacoco.reportPath}</dataFile>
162 <artifactId>maven-checkstyle-plugin</artifactId>
165 <id>onap-java-style</id>
169 <phase>process-sources</phase>
171 <!-- Use Google Java Style Guide:
172 https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
173 with minor changes -->
174 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
175 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
176 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
177 <includeResources>true</includeResources>
178 <includeTestSourceDirectory>true</includeTestSourceDirectory>
179 <includeTestResources>true</includeTestResources>
182 <consoleOutput>true</consoleOutput>
183 <failOnViolation>true</failOnViolation>
184 <violationSeverity>warning</violationSeverity>
190 <groupId>org.onap.oparent</groupId>
191 <artifactId>checkstyle</artifactId>
192 <version>1.2.0</version>
193 <scope>compile</scope>
201 <groupId>org.jacoco</groupId>
202 <artifactId>jacoco-maven-plugin</artifactId>
203 <version>${jacoco.version}</version>
205 <!-- Note: This exclusion list should match <sonar.exclusions> property
208 <exclude>**/gen/**</exclude>
209 <exclude>**/generated-sources/**</exclude>
210 <exclude>**/yang-gen/**</exclude>
211 <exclude>**/pax/**</exclude>
215 <!-- Prepares the property pointing to the JaCoCo runtime agent which
216 is passed as VM argument when Maven the Surefire plugin is executed. -->
218 <id>pre-unit-test</id>
220 <goal>prepare-agent</goal>
223 <destFile>${sonar.jacoco.reportPath}</destFile>
226 <!-- Ensures that the code coverage report for unit tests is created
227 after unit tests have been run. -->
229 <id>post-unit-test</id>
235 <dataFile>${sonar.jacoco.reportPath}</dataFile>