Update snapshot and/or references of policy/drools-pdp to latest snapshots
[policy/drools-pdp.git] / policy-management / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ============LICENSE_START=======================================================
4   ONAP Policy Engine - Drools PDP
5   ================================================================================
6   Copyright (C) 2017-2022 AT&T Intellectual Property. All rights reserved.
7   Modifications Copyright (C) 2020 Nordix Foundation.
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   ============LICENSE_END=========================================================
21   -->
22
23 <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/maven-v4_0_0.xsd">
24     <modelVersion>4.0.0</modelVersion>
25
26     <parent>
27         <groupId>org.onap.policy.drools-pdp</groupId>
28         <artifactId>drools-pdp</artifactId>
29         <version>1.10.3-SNAPSHOT</version>
30     </parent>
31
32     <artifactId>policy-management</artifactId>
33
34     <name>policy-management</name>
35     <description>Policy Management</description>
36
37     <build>
38         <plugins>
39             <plugin>
40                 <artifactId>maven-assembly-plugin</artifactId>
41                 <executions>
42                     <execution>
43                         <id>zipfile</id>
44                         <goals>
45                             <goal>single</goal>
46                         </goals>
47                         <phase>package</phase>
48                         <configuration>
49                             <attach>true</attach>
50                             <finalName>${project.artifactId}-${project.version}</finalName>
51                             <descriptors>
52                                 <descriptor>src/assembly/assemble_zip.xml</descriptor>
53                             </descriptors>
54                             <appendAssemblyId>false</appendAssemblyId>
55                         </configuration>
56                     </execution>
57                 </executions>
58             </plugin>
59             <plugin>
60                 <groupId>org.apache.maven.plugins</groupId>
61                 <artifactId>maven-dependency-plugin</artifactId>
62                 <executions>
63                     <execution>
64                         <id>copy-dependencies</id>
65                         <goals>
66                             <goal>copy-dependencies</goal>
67                         </goals>
68                         <phase>prepare-package</phase>
69                         <configuration>
70                             <outputDirectory>${project.build.directory}/assembly/lib</outputDirectory>
71                             <overWriteReleases>false</overWriteReleases>
72                             <overWriteSnapshots>true</overWriteSnapshots>
73                             <overWriteIfNewer>true</overWriteIfNewer>
74                             <useRepositoryLayout>false</useRepositoryLayout>
75                             <addParentPoms>false</addParentPoms>
76                             <copyPom>false</copyPom>
77                             <excludeGroupIds>javax.inject</excludeGroupIds>
78                             <includeScope>runtime</includeScope>
79                         </configuration>
80                     </execution>
81                 </executions>
82             </plugin>
83             <plugin>
84                 <artifactId>maven-resources-plugin</artifactId>
85                 <executions>
86                     <execution>
87                         <id>copy-version</id>
88                         <goals>
89                             <goal>copy-resources</goal>
90                         </goals>
91                         <phase>validate</phase>
92                         <configuration>
93                             <outputDirectory>${basedir}/target/versions</outputDirectory>
94                             <resources>
95                                 <resource>
96                                     <directory>src/main/resources/versions</directory>
97                                     <includes>
98                                         <include>version.properties</include>
99                                     </includes>
100                                     <filtering>true</filtering>
101                                 </resource>
102                             </resources>
103                         </configuration>
104                     </execution>
105                     <execution>
106                         <id>copy-resources</id>
107                         <goals>
108                             <goal>copy-resources</goal>
109                         </goals>
110                         <phase>validate</phase>
111                         <configuration>
112                             <outputDirectory>${basedir}/target/etc/bvc-extensions</outputDirectory>
113                             <resources>
114                                 <resource>
115                                     <directory>src/main/resources/etc/bvc-extensions</directory>
116                                     <includes>
117                                         <include>feature_config_template.cfg</include>
118                                         <include>feature_custom.install</include>
119                                     </includes>
120                                     <filtering>true</filtering>
121                                 </resource>
122                             </resources>
123                         </configuration>
124                     </execution>
125                 </executions>
126             </plugin>
127         </plugins>
128     </build>
129
130     <dependencies>
131
132         <dependency>
133             <groupId>org.onap.policy.drools-pdp</groupId>
134             <artifactId>policy-core</artifactId>
135             <version>${project.version}</version>
136         </dependency>
137
138         <dependency>
139             <groupId>org.onap.policy.drools-pdp</groupId>
140             <artifactId>policy-domains</artifactId>
141             <version>${project.version}</version>
142         </dependency>
143
144         <dependency>
145             <groupId>org.onap.policy.common</groupId>
146             <artifactId>policy-endpoints</artifactId>
147             <version>${policy.common.version}</version>
148         </dependency>
149
150         <dependency>
151             <groupId>org.onap.policy.common</groupId>
152             <artifactId>utils</artifactId>
153             <version>${policy.common.version}</version>
154         </dependency>
155
156         <dependency>
157             <groupId>org.onap.policy.models</groupId>
158             <artifactId>policy-models-pdp</artifactId>
159             <version>${policy.models.version}</version>
160         </dependency>
161
162         <dependency>
163             <groupId>org.eclipse.jetty</groupId>
164             <artifactId>jetty-server</artifactId>
165         </dependency>
166
167         <dependency>
168             <groupId>org.eclipse.jetty</groupId>
169             <artifactId>jetty-servlet</artifactId>
170         </dependency>
171
172         <dependency>
173             <groupId>org.onap.policy.common</groupId>
174             <artifactId>gson</artifactId>
175             <version>${policy.common.version}</version>
176         </dependency>
177
178         <dependency>
179             <groupId>com.google.code.gson</groupId>
180             <artifactId>gson</artifactId>
181         </dependency>
182
183         <dependency>
184             <groupId>com.fatboyindustrial.gson-javatime-serialisers</groupId>
185             <artifactId>gson-javatime-serialisers</artifactId>
186             <version>1.1.1</version>
187         </dependency>
188
189         <dependency>
190             <groupId>com.jayway.jsonpath</groupId>
191             <artifactId>json-path</artifactId>
192         </dependency>
193
194         <dependency>
195             <groupId>org.apache.commons</groupId>
196             <artifactId>commons-collections4</artifactId>
197             <version>4.4</version>
198         </dependency>
199
200         <!-- if we don't explicitly specify the version here, we seem to end up
201         with version 1.4 (as a dependency to drools-core). This version is
202         not compatible with 'saClientLibrary' version 1.2.1-oss
203         -->
204         <dependency>
205             <groupId>commons-codec</groupId>
206             <artifactId>commons-codec</artifactId>
207         </dependency>
208
209         <dependency>
210             <groupId>ch.qos.logback</groupId>
211             <artifactId>logback-classic</artifactId>
212         </dependency>
213
214         <dependency>
215             <groupId>junit</groupId>
216             <artifactId>junit</artifactId>
217             <scope>test</scope>
218         </dependency>
219
220         <dependency>
221             <groupId>org.powermock</groupId>
222             <artifactId>powermock-api-mockito2</artifactId>
223             <scope>test</scope>
224         </dependency>
225
226         <dependency>
227             <groupId>org.onap.policy.common</groupId>
228             <artifactId>utils-test</artifactId>
229             <version>${policy.common.version}</version>
230             <scope>test</scope>
231         </dependency>
232
233         <!--
234         The following dependencies are for features and drools
235         applications usage
236         -->
237
238         <dependency>
239             <groupId>org.eclipse.persistence</groupId>
240             <artifactId>eclipselink</artifactId>
241         </dependency>
242
243         <dependency>
244             <groupId>org.eclipse.persistence</groupId>
245             <artifactId>org.eclipse.persistence.jpa</artifactId>
246         </dependency>
247
248         <dependency>
249             <groupId>org.mariadb.jdbc</groupId>
250             <artifactId>mariadb-java-client</artifactId>
251         </dependency>
252
253         <dependency>
254             <groupId>org.hibernate</groupId>
255             <artifactId>hibernate-core</artifactId>
256             <!--
257             Exclude this because it's incompatible with eclipselink, which already
258             includes the same classes.
259              -->
260             <exclusions>
261                 <exclusion>
262                     <groupId>javax.persistence</groupId>
263                     <artifactId>javax.persistence-api</artifactId>
264                 </exclusion>
265             </exclusions>
266         </dependency>
267
268         <dependency>
269             <groupId>org.hibernate.common</groupId>
270             <artifactId>hibernate-commons-annotations</artifactId>
271         </dependency>
272
273         <dependency>
274             <groupId>commons-io</groupId>
275             <artifactId>commons-io</artifactId>
276         </dependency>
277
278         <dependency>
279             <groupId>io.prometheus</groupId>
280             <artifactId>simpleclient_logback</artifactId>
281         </dependency>
282
283         <dependency>
284             <groupId>org.assertj</groupId>
285             <artifactId>assertj-core</artifactId>
286             <scope>test</scope>
287         </dependency>
288
289         <dependency>
290             <groupId>org.awaitility</groupId>
291             <artifactId>awaitility</artifactId>
292             <scope>test</scope>
293         </dependency>
294
295     </dependencies>
296 </project>