add SDC client and reception handle
[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 <project 
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">
18     <parent>
19         <groupId>org.onap.multicloud.framework</groupId>
20         <artifactId>multicloud-framework</artifactId>
21         <version>1.3.0-SNAPSHOT</version>
22         <relativePath />
23     </parent>
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>
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
40     <modules>
41         <module>model</module>
42         <module>main</module>
43         <module>reception</module>
44         <module>forwarding</module>
45         <module>plugins</module>
46         <module>packages</module>
47     </modules>
48     <dependencies>
49         <dependency>
50             <groupId>junit</groupId>
51             <artifactId>junit</artifactId>
52             <version>4.12</version>
53             <scope>test</scope>
54         </dependency>
55         <dependency>
56             <groupId>org.slf4j</groupId>
57             <artifactId>slf4j-ext</artifactId>
58             <version>1.8.0-beta2</version>
59         </dependency>
60         <dependency>
61             <groupId>org.slf4j</groupId>
62             <artifactId>slf4j-api</artifactId>
63             <version>1.7.25</version>
64         </dependency>
65         <dependency>
66             <groupId>ch.qos.logback</groupId>
67             <artifactId>logback-core</artifactId>
68             <version>${version.logback}</version>
69         </dependency>
70         <dependency>
71             <groupId>ch.qos.logback</groupId>
72             <artifactId>logback-classic</artifactId>
73             <version>${version.logback}</version>
74         </dependency>
75         <dependency>
76             <groupId>org.onap.policy.common</groupId>
77             <artifactId>common-parameters</artifactId>
78             <version>${policy.common.version}</version>
79         </dependency>
80         <dependency>
81             <groupId>org.onap.policy.common</groupId>
82             <artifactId>ONAP-Logging</artifactId>
83             <version>${policy.common.version}</version>
84         </dependency>
85         <dependency>
86             <groupId>org.onap.policy.common</groupId>
87             <artifactId>capabilities</artifactId>
88             <version>${policy.common.version}</version>
89         </dependency>
90         <dependency>
91             <groupId>org.onap.policy.common</groupId>
92             <artifactId>policy-endpoints</artifactId>
93             <version>${policy.common.version}</version>
94         </dependency>
95         <dependency>
96             <groupId>org.onap.policy.common</groupId>
97             <artifactId>utils</artifactId>
98             <version>${policy.common.version}</version>
99         </dependency>
100         <dependency>
101             <groupId>commons-cli</groupId>
102             <artifactId>commons-cli</artifactId>
103             <version>1.4</version>
104         </dependency>
105         <dependency>
106             <groupId>com.google.code.gson</groupId>
107             <artifactId>gson</artifactId>
108             <version>2.8.4</version>
109         </dependency>
110     </dependencies>
111
112     <build>
113         <plugins>
114             <plugin>
115                 <groupId>org.jacoco</groupId>
116                 <artifactId>jacoco-maven-plugin</artifactId>
117                 <executions>
118                     <execution>
119                         <id>pre-unit-test</id>
120                         <goals>
121                             <goal>prepare-agent</goal>
122                         </goals>
123                         <configuration>
124                             <destFile>${sonar.jacoco.reportPath}</destFile>
125                             <append>true</append>
126                         </configuration>
127                     </execution>
128                     <execution>
129                         <id>post-unit-test</id>
130                         <phase>test</phase>
131                         <goals>
132                             <goal>report</goal>
133                         </goals>
134                         <configuration>
135                             <dataFile>${sonar.jacoco.reportPath}</dataFile>
136                         </configuration>
137                     </execution>
138                 </executions>
139             </plugin>
140             <plugin>
141                 <artifactId>maven-checkstyle-plugin</artifactId>
142                 <executions>
143                     <execution>
144                         <id>onap-java-style</id>
145                         <goals>
146                             <goal>check</goal>
147                         </goals>
148                         <phase>process-sources</phase>
149                         <configuration>
150                             <!-- Use Google Java Style Guide:
151                             https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
152                             with minor changes -->
153                             <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
154                             <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
155                             <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
156                             <includeResources>true</includeResources>
157                             <includeTestSourceDirectory>true</includeTestSourceDirectory>
158                             <includeTestResources>true</includeTestResources>
159                             <excludes>
160                             </excludes>
161                             <consoleOutput>true</consoleOutput>
162                             <failOnViolation>true</failOnViolation>
163                             <violationSeverity>warning</violationSeverity>
164                         </configuration>
165                     </execution>
166                 </executions>
167                 <dependencies>
168                     <dependency>
169                         <groupId>org.onap.oparent</groupId>
170                         <artifactId>checkstyle</artifactId>
171                         <version>1.2.0</version>
172                         <scope>compile</scope>
173                     </dependency>
174                 </dependencies>
175             </plugin>
176         </plugins>
177         <pluginManagement>
178             <plugins>
179                 <plugin>
180                     <groupId>org.jacoco</groupId>
181                     <artifactId>jacoco-maven-plugin</artifactId>
182                     <version>${jacoco.version}</version>
183                     <configuration>
184                         <!-- Note: This exclusion list should match <sonar.exclusions> property
185                             above -->
186                         <excludes>
187                             <exclude>**/gen/**</exclude>
188                             <exclude>**/generated-sources/**</exclude>
189                             <exclude>**/yang-gen/**</exclude>
190                             <exclude>**/pax/**</exclude>
191                         </excludes>
192                     </configuration>
193                     <executions>
194                         <!-- Prepares the property pointing to the JaCoCo runtime agent which
195                             is passed as VM argument when Maven the Surefire plugin is executed. -->
196                         <execution>
197                             <id>pre-unit-test</id>
198                             <goals>
199                                 <goal>prepare-agent</goal>
200                             </goals>
201                             <configuration>
202                                 <destFile>${sonar.jacoco.reportPath}</destFile>
203                             </configuration>
204                         </execution>
205                         <!-- Ensures that the code coverage report for unit tests is created
206                             after unit tests have been run. -->
207                         <execution>
208                             <id>post-unit-test</id>
209                             <phase>test</phase>
210                             <goals>
211                                 <goal>report</goal>
212                             </goals>
213                             <configuration>
214                                 <dataFile>${sonar.jacoco.reportPath}</dataFile>
215                             </configuration>
216                         </execution>
217                     </executions>
218                 </plugin>
219             </plugins>
220         </pluginManagement>
221     </build>
222 </project>
223 </project>