Update oparent version
[multicloud/framework.git] / artifactbroker / pom.xml
1 <?xml version="1.0"?>
2 <!--
3  Copyright (c) 2017 Wind River Systems, Inc.
4  Copyright (c) 2017-2018 VMware, Inc.
5
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
10
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.
14 -->
15
16 <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/xsd/maven-4.0.0.xsd">
17     <parent>
18         <groupId>org.onap.oparent</groupId>
19         <artifactId>oparent</artifactId>
20         <version>2.0.0</version>
21         <relativePath>../oparent</relativePath>
22     </parent>
23     <modelVersion>4.0.0</modelVersion>
24     <groupId>org.onap.multicloud.framework</groupId>
25     <artifactId>multicloud-framework-artifactbroker</artifactId>
26     <version>1.3.2-SNAPSHOT</version>
27     <packaging>pom</packaging>
28     <name>multicloud-framework-artifactbroker</name>
29     <description>artifact  broker</description>
30     <properties>
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>
38     </properties>
39     <modules>
40         <module>model</module>
41         <module>main</module>
42         <module>reception</module>
43         <module>forwarding</module>
44         <module>plugins</module>
45         <module>packages</module>
46     </modules>
47     <dependencies>
48         <dependency>
49             <groupId>junit</groupId>
50             <artifactId>junit</artifactId>
51             <version>4.12</version>
52             <scope>test</scope>
53         </dependency>
54         <dependency>
55             <groupId>org.slf4j</groupId>
56             <artifactId>slf4j-ext</artifactId>
57             <version>1.8.0-beta2</version>
58         </dependency>
59         <dependency>
60             <groupId>org.slf4j</groupId>
61             <artifactId>slf4j-api</artifactId>
62             <version>1.7.25</version>
63         </dependency>
64         <dependency>
65             <groupId>ch.qos.logback</groupId>
66             <artifactId>logback-core</artifactId>
67             <version>${version.logback}</version>
68         </dependency>
69         <dependency>
70             <groupId>ch.qos.logback</groupId>
71             <artifactId>logback-classic</artifactId>
72             <version>${version.logback}</version>
73         </dependency>
74         <dependency>
75             <groupId>org.onap.policy.common</groupId>
76             <artifactId>common-parameters</artifactId>
77             <version>${policy.common.version}</version>
78         </dependency>
79         <dependency>
80             <groupId>org.onap.policy.common</groupId>
81             <artifactId>ONAP-Logging</artifactId>
82             <version>${policy.common.version}</version>
83         </dependency>
84         <dependency>
85             <groupId>org.onap.policy.common</groupId>
86             <artifactId>capabilities</artifactId>
87             <version>${policy.common.version}</version>
88         </dependency>
89         <dependency>
90             <groupId>com.fasterxml.jackson.core</groupId>
91             <artifactId>jackson-databind</artifactId>
92             <version>2.9.8</version>
93         </dependency>
94         <dependency>
95             <groupId>org.json</groupId>
96             <artifactId>json</artifactId>
97             <version>20160810</version>
98         </dependency>
99         <dependency>
100             <groupId>org.onap.policy.common</groupId>
101             <artifactId>policy-endpoints</artifactId>
102             <version>${policy.common.version}</version>
103             <exclusions>
104                 <exclusion>
105                     <groupId>com.fasterxml.jackson.core</groupId>
106                     <artifactId>jackson-databind</artifactId>
107                 </exclusion>
108                 <exclusion>
109                     <groupId>org.json</groupId>
110                     <artifactId>json</artifactId>
111                 </exclusion>
112           </exclusions>
113         </dependency>
114         <dependency>
115             <groupId>org.onap.policy.common</groupId>
116             <artifactId>utils</artifactId>
117             <version>${policy.common.version}</version>
118         </dependency>
119         <dependency>
120             <groupId>commons-cli</groupId>
121             <artifactId>commons-cli</artifactId>
122             <version>1.4</version>
123         </dependency>
124         <dependency>
125             <groupId>com.google.code.gson</groupId>
126             <artifactId>gson</artifactId>
127             <version>2.8.4</version>
128         </dependency>
129     </dependencies>
130     <build>
131         <plugins>
132             <plugin>
133                 <groupId>org.jacoco</groupId>
134                 <artifactId>jacoco-maven-plugin</artifactId>
135                 <executions>
136                     <execution>
137                         <id>pre-unit-test</id>
138                         <goals>
139                             <goal>prepare-agent</goal>
140                         </goals>
141                         <configuration>
142                             <destFile>${sonar.jacoco.reportPath}</destFile>
143                             <append>true</append>
144                         </configuration>
145                     </execution>
146                     <execution>
147                         <id>post-unit-test</id>
148                         <phase>test</phase>
149                         <goals>
150                             <goal>report</goal>
151                         </goals>
152                         <configuration>
153                             <dataFile>${sonar.jacoco.reportPath}</dataFile>
154                         </configuration>
155                     </execution>
156                 </executions>
157             </plugin>
158             <plugin>
159                 <artifactId>maven-checkstyle-plugin</artifactId>
160                 <executions>
161                     <execution>
162                         <id>onap-java-style</id>
163                         <goals>
164                             <goal>check</goal>
165                         </goals>
166                         <phase>process-sources</phase>
167                         <configuration>
168                             <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
169                             <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
170                             <includeResources>true</includeResources>
171                             <includeTestSourceDirectory>true</includeTestSourceDirectory>
172                             <includeTestResources>true</includeTestResources>
173                             <excludes>
174                             </excludes>
175                             <consoleOutput>true</consoleOutput>
176                             <failOnViolation>true</failOnViolation>
177                             <violationSeverity>error</violationSeverity>
178                         </configuration>
179                     </execution>
180                 </executions>
181                 <dependencies>
182                     <dependency>
183                         <groupId>org.onap.oparent</groupId>
184                         <artifactId>checkstyle</artifactId>
185                         <version>1.2.0</version>
186                         <scope>compile</scope>
187                     </dependency>
188                 </dependencies>
189             </plugin>
190         </plugins>
191         <pluginManagement>
192             <plugins>
193                 <plugin>
194                     <groupId>org.jacoco</groupId>
195                     <artifactId>jacoco-maven-plugin</artifactId>
196                     <version>${jacoco.version}</version>
197                     <configuration>
198                         <excludes>
199                             <exclude>**/gen/**</exclude>
200                             <exclude>**/generated-sources/**</exclude>
201                             <exclude>**/yang-gen/**</exclude>
202                             <exclude>**/pax/**</exclude>
203                         </excludes>
204                     </configuration>
205                     <executions>
206                         <execution>
207                             <id>pre-unit-test</id>
208                             <goals>
209                                 <goal>prepare-agent</goal>
210                             </goals>
211                             <configuration>
212                                 <destFile>${sonar.jacoco.reportPath}</destFile>
213                             </configuration>
214                         </execution>
215                         <execution>
216                             <id>post-unit-test</id>
217                             <phase>test</phase>
218                             <goals>
219                                 <goal>report</goal>
220                             </goals>
221                             <configuration>
222                                 <dataFile>${sonar.jacoco.reportPath}</dataFile>
223                             </configuration>
224                         </execution>
225                     </executions>
226                 </plugin>
227             </plugins>
228         </pluginManagement>
229     </build>
230 </project>