Corrections in vCPE and vFW tosca to match spec.
[policy/models.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ============LICENSE_START=======================================================
4    Copyright (C) 2018 Ericsson. All rights reserved.
5    Copyright (C) 2019 Nordix Foundation.
6    Copyright (C) 2019-2020 AT&T Intellectual Property. All rights reserved.
7   ================================================================================
8   Licensed under the Apache License, Version 2.0 (the "License");
9   you may not use this file except in compliance with the License.
10   You may obtain a copy of the License at
11
12        http://www.apache.org/licenses/LICENSE-2.0
13
14   Unless required by applicable law or agreed to in writing, software
15   distributed under the License is distributed on an "AS IS" BASIS,
16   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17   See the License for the specific language governing permissions and
18   limitations under the License.
19
20   SPDX-License-Identifier: Apache-2.0
21   ============LICENSE_END=========================================================
22 -->
23 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25     <modelVersion>4.0.0</modelVersion>
26     <parent>
27         <groupId>org.onap.policy.parent</groupId>
28         <artifactId>integration</artifactId>
29         <version>3.1.1-SNAPSHOT</version>
30         <relativePath />
31     </parent>
32
33     <groupId>org.onap.policy.models</groupId>
34     <artifactId>policy-models</artifactId>
35     <version>2.2.1-SNAPSHOT</version>
36
37     <packaging>pom</packaging>
38     <name>policy-models</name>
39     <description>This repo holds model code agnostic to PDP engines</description>
40
41     <properties>
42         <derby.version>10.13.1.1</derby.version>
43         <javax.ws.rs-api.version>2.1.1</javax.ws.rs-api.version>
44         <policy.common.version>1.6.2-SNAPSHOT</policy.common.version>
45     </properties>
46
47     <modules>
48         <module>models-base</module>
49         <module>models-dao</module>
50         <module>models-tosca</module>
51         <module>models-pap</module>
52         <module>models-pdp</module>
53         <module>models-errors</module>
54         <module>models-decisions</module>
55         <module>models-provider</module>
56         <module>models-examples</module>
57         <module>models-interactions</module>
58         <module>models-sim</module>
59     </modules>
60
61     <distributionManagement>
62         <site>
63             <id>ecomp-site</id>
64             <url>dav:${nexusproxy}${sitePath}</url>
65         </site>
66     </distributionManagement>
67
68     <dependencies>
69         <dependency>
70             <groupId>org.onap.policy.common</groupId>
71             <artifactId>utils</artifactId>
72         </dependency>
73
74         <dependency>
75             <groupId>org.slf4j</groupId>
76             <artifactId>slf4j-api</artifactId>
77         </dependency>
78
79         <dependency>
80             <groupId>ch.qos.logback</groupId>
81             <artifactId>logback-core</artifactId>
82         </dependency>
83         <dependency>
84             <groupId>ch.qos.logback</groupId>
85             <artifactId>logback-classic</artifactId>
86         </dependency>
87
88         <dependency>
89             <groupId>org.projectlombok</groupId>
90             <artifactId>lombok</artifactId>
91             <scope>provided</scope>
92         </dependency>
93
94         <dependency>
95             <groupId>com.google.code.gson</groupId>
96             <artifactId>gson</artifactId>
97         </dependency>
98
99         <dependency>
100             <groupId>org.yaml</groupId>
101             <artifactId>snakeyaml</artifactId>
102         </dependency>
103
104         <dependency>
105             <groupId>javax.ws.rs</groupId>
106             <artifactId>javax.ws.rs-api</artifactId>
107             <version>${javax.ws.rs-api.version}</version>
108         </dependency>
109
110         <dependency>
111             <groupId>org.mariadb.jdbc</groupId>
112             <artifactId>mariadb-java-client</artifactId>
113         </dependency>
114
115         <dependency>
116             <groupId>org.eclipse.persistence</groupId>
117             <artifactId>eclipselink</artifactId>
118         </dependency>
119
120         <dependency>
121             <groupId>junit</groupId>
122             <artifactId>junit</artifactId>
123             <scope>test</scope>
124         </dependency>
125
126         <dependency>
127             <groupId>org.assertj</groupId>
128             <artifactId>assertj-core</artifactId>
129             <scope>test</scope>
130         </dependency>
131
132         <dependency>
133             <groupId>org.onap.policy.common</groupId>
134             <artifactId>utils-test</artifactId>
135             <version>${policy.common.version}</version>
136             <scope>test</scope>
137         </dependency>
138         <dependency>
139             <groupId>com.openpojo</groupId>
140             <artifactId>openpojo</artifactId>
141             <scope>test</scope>
142         </dependency>
143
144         <dependency>
145             <groupId>org.glassfish.jersey.inject</groupId>
146             <artifactId>jersey-hk2</artifactId>
147         </dependency>
148         <dependency>
149             <groupId>org.eclipse.jetty</groupId>
150             <artifactId>jetty-server</artifactId>
151         </dependency>
152         <dependency>
153             <groupId>org.eclipse.jetty</groupId>
154             <artifactId>jetty-security</artifactId>
155             <version>9.4.25.v20191220</version>
156         </dependency>
157         <dependency>
158             <groupId>org.eclipse.jetty</groupId>
159             <artifactId>jetty-servlet</artifactId>
160         </dependency>
161         <dependency>
162             <groupId>org.glassfish.jersey.containers</groupId>
163             <artifactId>jersey-container-servlet</artifactId>
164             <version>${version.jersey}</version>
165         </dependency>
166         <dependency>
167             <groupId>org.apache.httpcomponents</groupId>
168             <artifactId>httpclient</artifactId>
169         </dependency>
170         <dependency>
171             <groupId>io.swagger</groupId>
172             <artifactId>swagger-annotations</artifactId>
173             <version>${version.swagger}</version>
174         </dependency>
175         <dependency>
176             <groupId>commons-io</groupId>
177             <artifactId>commons-io</artifactId>
178             <version>2.6</version>
179         </dependency>
180         <dependency>
181             <groupId>org.apache.commons</groupId>
182             <artifactId>commons-collections4</artifactId>
183             <version>4.4</version>
184         </dependency>
185         <dependency>
186             <groupId>com.att.nsa</groupId>
187             <artifactId>cambriaClient</artifactId>
188         </dependency>
189         <dependency>
190             <groupId>org.glassfish</groupId>
191             <artifactId>javax.json</artifactId>
192             <version>${version.javax.json}</version>
193         </dependency>
194         <dependency>
195             <groupId>org.json</groupId>
196             <artifactId>json</artifactId>
197             <version>${version.json}</version>
198         </dependency>
199     </dependencies>
200
201     <dependencyManagement>
202         <dependencies>
203             <dependency>
204                 <groupId>org.onap.policy.common</groupId>
205                 <artifactId>utils</artifactId>
206                 <version>${policy.common.version}</version>
207             </dependency>
208         </dependencies>
209     </dependencyManagement>
210
211     <build>
212         <plugins>
213             <plugin>
214                 <artifactId>maven-checkstyle-plugin</artifactId>
215                 <executions>
216                     <execution>
217                         <id>onap-java-style</id>
218                         <goals>
219                             <goal>check</goal>
220                         </goals>
221                         <phase>process-sources</phase>
222                         <configuration>
223                             <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml 
224                                 with minor changes -->
225                             <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
226                             <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
227                             <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
228                             <includeResources>true</includeResources>
229                             <includeTestSourceDirectory>true</includeTestSourceDirectory>
230                             <includeTestResources>true</includeTestResources>
231                             <excludes>
232                             </excludes>
233                             <consoleOutput>true</consoleOutput>
234                             <failOnViolation>true</failOnViolation>
235                             <violationSeverity>warning</violationSeverity>
236                         </configuration>
237                     </execution>
238                 </executions>
239                 <dependencies>
240                     <dependency>
241                         <groupId>org.onap.oparent</groupId>
242                         <artifactId>checkstyle</artifactId>
243                         <version>${oparent.version}</version>
244                         <scope>compile</scope>
245                     </dependency>
246                 </dependencies>
247             </plugin>
248         </plugins>
249         <pluginManagement>
250             <plugins>
251                 <plugin>
252                     <groupId>org.eclipse.m2e</groupId>
253                     <artifactId>lifecycle-mapping</artifactId>
254                     <version>1.0.0</version>
255                     <configuration>
256                         <lifecycleMappingMetadata>
257                             <pluginExecutions>
258                                 <pluginExecution>
259                                     <pluginExecutionFilter>
260                                         <groupId>org.apache.maven.plugins</groupId>
261                                         <artifactId>maven-checkstyle-plugin</artifactId>
262                                         <versionRange>2.17,)</versionRange>
263                                         <goals>
264                                             <goal>check</goal>
265                                         </goals>
266                                     </pluginExecutionFilter>
267                                     <action>
268                                         <ignore />
269                                     </action>
270                                 </pluginExecution>
271                             </pluginExecutions>
272                         </lifecycleMappingMetadata>
273                     </configuration>
274                 </plugin>
275             </plugins>
276         </pluginManagement>
277     </build>
278 </project>