update link to upper-constraints.txt
[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.multicloud.framework</groupId>
19         <artifactId>multicloud-framework</artifactId>
20         <version>1.8.3-SNAPSHOT</version>
21     </parent>
22     <modelVersion>4.0.0</modelVersion>
23     <groupId>org.onap.multicloud.framework</groupId>
24     <artifactId>multicloud-framework-artifactbroker</artifactId>
25     <version>1.9.1-SNAPSHOT</version>
26     <packaging>pom</packaging>
27     <name>multicloud-framework-artifactbroker</name>
28     <description>artifact  broker</description>
29     <properties>
30         <encoding>UTF-8</encoding>
31         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
32         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
33         <nexusproxy>https://nexus.onap.org</nexusproxy>
34         <version.logback>1.2.3</version.logback>
35         <policy.common.version>1.3.4</policy.common.version>
36         <policy.engine.version>1.3.5</policy.engine.version>
37         <sonar.language>java</sonar.language>
38         <sonar.coverage.jacoco.xmlReportPaths>
39             ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
40         </sonar.coverage.jacoco.xmlReportPaths>
41         <sdc-dist-client-version>2.0.0</sdc-dist-client-version>
42     </properties>
43     <modules>
44         <module>model</module>
45         <module>main</module>
46         <module>reception</module>
47         <module>forwarding</module>
48         <module>plugins</module>
49         <module>packages</module>
50     </modules>
51     <dependencyManagement>
52         <dependencies>
53         <dependency>
54             <groupId>org.onap.sdc.sdc-distribution-client</groupId>
55             <artifactId>sdc-distribution-client</artifactId>
56             <version>${sdc-dist-client-version}</version>
57             <exclusions>
58                 <exclusion>
59                     <groupId>org.slf4j</groupId>
60                     <artifactId>slf4j-log4j12</artifactId>
61                 </exclusion>
62             </exclusions>
63         </dependency>
64         </dependencies>
65     </dependencyManagement>
66     <dependencies>
67         <dependency>
68             <groupId>junit</groupId>
69             <artifactId>junit</artifactId>
70             <version>4.12</version>
71             <scope>test</scope>
72         </dependency>
73         <dependency>
74             <groupId>org.apache.logging.log4j</groupId>
75             <artifactId>log4j-api</artifactId>
76             <version>2.16.0</version>
77         </dependency>
78         <dependency>
79             <groupId>ch.qos.logback</groupId>
80             <artifactId>logback-core</artifactId>
81             <version>${version.logback}</version>
82         </dependency>
83         <dependency>
84             <groupId>ch.qos.logback</groupId>
85             <artifactId>logback-classic</artifactId>
86             <version>${version.logback}</version>
87         </dependency>
88         <dependency>
89             <groupId>org.onap.policy.common</groupId>
90             <artifactId>common-parameters</artifactId>
91             <version>${policy.common.version}</version>
92         </dependency>
93         <dependency>
94             <groupId>org.onap.policy.common</groupId>
95             <artifactId>ONAP-Logging</artifactId>
96             <version>${policy.common.version}</version>
97         </dependency>
98         <dependency>
99             <groupId>org.onap.policy.common</groupId>
100             <artifactId>capabilities</artifactId>
101             <version>${policy.common.version}</version>
102         </dependency>
103         <dependency>
104             <groupId>com.fasterxml.jackson.core</groupId>
105             <artifactId>jackson-databind</artifactId>
106             <version>2.12.3</version>
107         </dependency>
108         <dependency>
109             <groupId>com.fasterxml.jackson.core</groupId>
110             <artifactId>jackson-core</artifactId>
111             <version>2.12.3</version>
112         </dependency>
113         <dependency>
114             <groupId>org.json</groupId>
115             <artifactId>json</artifactId>
116             <version>20160810</version>
117         </dependency>
118         <dependency>
119             <groupId>org.onap.policy.common</groupId>
120             <artifactId>policy-endpoints</artifactId>
121             <version>${policy.common.version}</version>
122             <exclusions>
123                 <exclusion>
124                     <groupId>com.fasterxml.jackson.core</groupId>
125                     <artifactId>jackson-databind</artifactId>
126                 </exclusion>
127                 <exclusion>
128                     <groupId>org.json</groupId>
129                     <artifactId>json</artifactId>
130                 </exclusion>
131           </exclusions>
132         </dependency>
133         <dependency>
134             <groupId>org.onap.policy.common</groupId>
135             <artifactId>utils</artifactId>
136             <version>${policy.common.version}</version>
137         </dependency>
138         <dependency>
139             <groupId>commons-cli</groupId>
140             <artifactId>commons-cli</artifactId>
141             <version>1.4</version>
142         </dependency>
143         <dependency>
144             <groupId>com.google.code.gson</groupId>
145             <artifactId>gson</artifactId>
146             <version>2.8.4</version>
147         </dependency>
148     </dependencies>
149     <build>
150         <plugins>
151             <plugin>
152                 <groupId>org.apache.maven.plugins</groupId>
153                 <artifactId>maven-compiler-plugin</artifactId>
154                 <version>3.8.0</version>
155                 <configuration>
156                     <release>11</release>
157                 </configuration>
158             </plugin>
159             <plugin>
160                 <groupId>org.apache.maven.plugins</groupId>
161                 <artifactId>maven-enforcer-plugin</artifactId>
162                 <executions>
163                     <execution>
164                         <id>enforce-versions</id>
165                         <goals>
166                             <goal>enforce</goal>
167                         </goals>
168                         <configuration>
169                             <rules>
170                                 <requireMavenVersion>
171                                     <version>3.0.5</version>
172                                 </requireMavenVersion>
173                                 <requireJavaVersion>
174                                     <version>11</version>
175                                 </requireJavaVersion>
176                             </rules>
177                         </configuration>
178                     </execution>
179                 </executions>
180             </plugin>
181             <plugin>
182                 <groupId>org.jacoco</groupId>
183                 <artifactId>jacoco-maven-plugin</artifactId>
184                 <executions>
185                     <execution>
186                         <id>pre-unit-test</id>
187                         <goals>
188                             <goal>prepare-agent</goal>
189                         </goals>
190                         <configuration>
191                             <destFile>${sonar.coverage.jacoco.xmlReportPaths}</destFile>
192                             <append>true</append>
193                         </configuration>
194                     </execution>
195                     <execution>
196                         <id>post-unit-test</id>
197                         <phase>test</phase>
198                         <goals>
199                             <goal>report</goal>
200                         </goals>
201                         <configuration>
202                             <dataFile>${sonar.coverage.jacoco.xmlReportPaths}</dataFile>
203                         </configuration>
204                     </execution>
205                 </executions>
206             </plugin>
207             <plugin>
208                 <artifactId>maven-checkstyle-plugin</artifactId>
209                 <executions>
210                     <execution>
211                         <id>onap-java-style</id>
212                         <goals>
213                             <goal>check</goal>
214                         </goals>
215                         <phase>process-sources</phase>
216                         <configuration>
217                             <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
218                             <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
219                             <includeResources>true</includeResources>
220                             <includeTestSourceDirectory>true</includeTestSourceDirectory>
221                             <includeTestResources>true</includeTestResources>
222                             <excludes>
223                             </excludes>
224                             <consoleOutput>true</consoleOutput>
225                             <failOnViolation>true</failOnViolation>
226                             <violationSeverity>error</violationSeverity>
227                         </configuration>
228                     </execution>
229                 </executions>
230                 <dependencies>
231                     <dependency>
232                         <groupId>org.onap.oparent</groupId>
233                         <artifactId>checkstyle</artifactId>
234                         <version>1.2.0</version>
235                         <scope>compile</scope>
236                     </dependency>
237                 </dependencies>
238             </plugin>
239             <plugin>
240                 <groupId>org.codehaus.mojo</groupId>
241                 <artifactId>versions-maven-plugin</artifactId>
242                 <configuration>
243                     <generateBackupPoms>false</generateBackupPoms>
244                 </configuration>
245             </plugin>
246         </plugins>
247         <pluginManagement>
248             <plugins>
249                 <plugin>
250                     <groupId>org.jacoco</groupId>
251                     <artifactId>jacoco-maven-plugin</artifactId>
252                     <version>${jacoco.version}</version>
253                     <configuration>
254                         <excludes>
255                             <exclude>**/gen/**</exclude>
256                             <exclude>**/generated-sources/**</exclude>
257                             <exclude>**/yang-gen/**</exclude>
258                             <exclude>**/pax/**</exclude>
259                         </excludes>
260                     </configuration>
261                     <executions>
262                         <execution>
263                             <id>pre-unit-test</id>
264                             <goals>
265                                 <goal>prepare-agent</goal>
266                             </goals>
267                             <configuration>
268                                 <destFile>${sonar.coverage.jacoco.xmlReportPaths}</destFile>
269                             </configuration>
270                         </execution>
271                         <execution>
272                             <id>post-unit-test</id>
273                             <phase>test</phase>
274                             <goals>
275                                 <goal>report</goal>
276                             </goals>
277                             <configuration>
278                                 <dataFile>${sonar.coverage.jacoco.xmlReportPaths}</dataFile>
279                             </configuration>
280                         </execution>
281                     </executions>
282                 </plugin>
283             </plugins>
284         </pluginManagement>
285     </build>
286 </project>