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