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