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