blob: 8a408f9526ab4f7b9bb538b5ade4b225e1fe3f8a [file] [log] [blame]
Pamela Dragosh0e16acf2017-02-14 19:45:48 -05001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ============LICENSE_START=======================================================
Guo Ruijing6abeb292017-07-28 08:23:01 +00004 ONAP Policy Engine - Drools PDP
Pamela Dragosh0e16acf2017-02-14 19:45:48 -05005 ================================================================================
Jim Hahn4390de52018-04-13 16:34:35 -04006 Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
Pamela Dragosh0e16acf2017-02-14 19:45:48 -05007 ================================================================================
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 ============LICENSE_END=========================================================
20 -->
21
22<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23 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>
Guo Ruijing6abeb292017-07-28 08:23:01 +000027 <groupId>org.onap.policy.drools-pdp</groupId>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050028 <artifactId>drools-pdp</artifactId>
liamfallonb7067072018-06-05 16:22:44 +010029 <version>1.3.0-SNAPSHOT</version>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050030 </parent>
31
32 <artifactId>policy-management</artifactId>
33
34 <name>policy-management</name>
35 <description>Policy Management</description>
36
37 <properties>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050038 <gson.version>2.8.0</gson.version>
39 </properties>
40
41
42 <build>
43 <plugins>
44 <plugin>
45 <artifactId>maven-assembly-plugin</artifactId>
46 <version>2.6</version>
47 <executions>
48 <execution>
49 <id>zipfile</id>
50 <goals>
51 <goal>single</goal>
52 </goals>
53 <phase>package</phase>
54 <configuration>
55 <attach>true</attach>
56 <finalName>${project.artifactId}-${project.version}</finalName>
57 <descriptors>
58 <descriptor>src/assembly/assemble_zip.xml</descriptor>
59 </descriptors>
60 <appendAssemblyId>false</appendAssemblyId>
61 </configuration>
62 </execution>
63 </executions>
64 </plugin>
65 <plugin>
66 <groupId>org.apache.maven.plugins</groupId>
67 <artifactId>maven-dependency-plugin</artifactId>
68 <version>2.8</version>
69 <executions>
70 <execution>
71 <id>copy-dependencies</id>
72 <goals>
73 <goal>copy-dependencies</goal>
74 </goals>
75 <phase>prepare-package</phase>
76 <configuration>
77 <transitive>false</transitive>
78 <outputDirectory>${project.build.directory}/assembly/lib</outputDirectory>
79 <overWriteReleases>false</overWriteReleases>
80 <overWriteSnapshots>true</overWriteSnapshots>
81 <overWriteIfNewer>true</overWriteIfNewer>
82 <useRepositoryLayout>false</useRepositoryLayout>
83 <addParentPoms>false</addParentPoms>
84 <copyPom>false</copyPom>
Ralph Straubs5bd9ff42017-04-21 04:23:55 -050085 <excludeGroupIds>javax.inject</excludeGroupIds>
Jorge Hernandezf9f086c2017-08-15 19:12:25 -050086 <includeScope>runtime</includeScope>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050087 </configuration>
88 </execution>
89 </executions>
90 </plugin>
91 <plugin>
92 <artifactId>maven-resources-plugin</artifactId>
93 <version>2.6</version>
94 <executions>
95 <execution>
96 <id>copy-version</id>
97 <goals>
98 <goal>copy-resources</goal>
99 </goals>
100 <phase>validate</phase>
101 <configuration>
102 <outputDirectory>${basedir}/target/versions</outputDirectory>
103 <resources>
104 <resource>
105 <directory>src/main/resources/versions</directory>
106 <includes>
107 <include>version.properties</include>
108 </includes>
109 <filtering>true</filtering>
110 </resource>
111 </resources>
112 </configuration>
113 </execution>
114 <execution>
115 <id>copy-resources</id>
116 <goals>
117 <goal>copy-resources</goal>
118 </goals>
119 <phase>validate</phase>
120 <configuration>
121 <outputDirectory>${basedir}/target/etc/bvc-extensions</outputDirectory>
122 <resources>
123 <resource>
124 <directory>src/main/resources/etc/bvc-extensions</directory>
125 <includes>
126 <include>feature_config_template.cfg</include>
127 <include>feature_custom.install</include>
128 </includes>
129 <filtering>true</filtering>
130 </resource>
131 </resources>
132 </configuration>
133 </execution>
134 </executions>
135 </plugin>
136 </plugins>
137 </build>
138
139 <dependencies>
140
141 <dependency>
Guo Ruijing6abeb292017-07-28 08:23:01 +0000142 <groupId>org.onap.policy.drools-pdp</groupId>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500143 <artifactId>policy-core</artifactId>
Pamela Dragosh998f0b32017-03-10 14:31:17 -0500144 <version>${project.version}</version>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500145 </dependency>
146
147 <dependency>
mmis64f53ef2018-07-19 13:21:08 +0100148 <groupId>org.onap.policy.common</groupId>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500149 <artifactId>policy-endpoints</artifactId>
Pamela Dragosh998f0b32017-03-10 14:31:17 -0500150 <version>${project.version}</version>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500151 </dependency>
152
153 <dependency>
154 <groupId>org.eclipse.jetty</groupId>
155 <artifactId>jetty-server</artifactId>
156 <version>${jetty.version}</version>
157 </dependency>
158
159 <dependency>
160 <groupId>org.eclipse.jetty</groupId>
161 <artifactId>jetty-servlet</artifactId>
162 <version>${jetty.version}</version>
163 </dependency>
164
165 <dependency>
166 <groupId>org.glassfish.jersey.core</groupId>
167 <artifactId>jersey-server</artifactId>
168 <version>${jersey.version}</version>
169 </dependency>
170
171 <dependency>
172 <groupId>org.glassfish.jersey.containers</groupId>
173 <artifactId>jersey-container-servlet-core</artifactId>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500174 </dependency>
175
176 <dependency>
177 <groupId>org.glassfish.jersey.media</groupId>
178 <artifactId>jersey-media-json-jackson</artifactId>
179 <version>${jersey.version}</version>
180 </dependency>
181
182 <dependency>
183 <groupId>org.glassfish.jersey.containers</groupId>
184 <artifactId>jersey-container-jetty-http</artifactId>
185 <version>${jersey.version}</version>
186 <exclusions>
187 <exclusion>
188 <groupId>org.eclipse.jetty</groupId>
189 <artifactId>jetty-util</artifactId>
190 </exclusion>
191 </exclusions>
192 </dependency>
193
194 <dependency>
Jorge Hernandez881c32e2017-05-25 16:44:15 -0500195 <groupId>io.swagger</groupId>
196 <artifactId>swagger-jersey2-jaxrs</artifactId>
197 </dependency>
198
199 <dependency>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500200 <groupId>com.fasterxml.jackson.core</groupId>
201 <artifactId>jackson-databind</artifactId>
202 <version>${jackson.version}</version>
203 </dependency>
204
205 <dependency>
206 <groupId>com.fasterxml.jackson.datatype</groupId>
207 <artifactId>jackson-datatype-jsr310</artifactId>
208 <version>${jackson.version}</version>
209 </dependency>
210
211 <dependency>
212 <groupId>com.fasterxml.jackson.core</groupId>
213 <artifactId>jackson-annotations</artifactId>
214 <version>${jackson.version}</version>
Jorge Hernandez881c32e2017-05-25 16:44:15 -0500215 </dependency>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500216
217 <dependency>
218 <groupId>com.google.code.gson</groupId>
219 <artifactId>gson</artifactId>
220 <version>${gson.version}</version>
221 </dependency>
222
223 <dependency>
224 <groupId>com.fatboyindustrial.gson-javatime-serialisers</groupId>
225 <artifactId>gson-javatime-serialisers</artifactId>
226 <version>1.1.1</version>
227 </dependency>
228
229 <dependency>
230 <groupId>org.apache.commons</groupId>
231 <artifactId>commons-collections4</artifactId>
232 <version>4.1</version>
233 </dependency>
234
Jim Hahn4390de52018-04-13 16:34:35 -0400235 <!-- if we don't explicitly specify the version here, we seem to end up
236 with version 1.4 (as a dependency to drools-core). This version is
237 not compatible with 'saClientLibrary' version 1.2.1-oss -->
238 <dependency>
239 <groupId>commons-codec</groupId>
240 <artifactId>commons-codec</artifactId>
241 <version>1.9</version>
242 </dependency>
243
Jorge Hernandez9e69cc22017-06-26 08:05:30 -0500244 <dependency>
245 <groupId>ch.qos.logback</groupId>
246 <artifactId>logback-classic</artifactId>
247 </dependency>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500248
Jorge Hernandezf9f086c2017-08-15 19:12:25 -0500249 <dependency>
250 <groupId>junit</groupId>
251 <artifactId>junit</artifactId>
252 <scope>test</scope>
253 </dependency>
254
255 <!--
256 The following dependencies are for features and drools
257 applications usage
258 -->
259
260 <dependency>
261 <groupId>org.eclipse.persistence</groupId>
262 <artifactId>eclipselink</artifactId>
263 </dependency>
264
265 <dependency>
Jorge Hernandezfb79f7a2017-08-31 00:09:45 -0500266 <groupId>org.eclipse.persistence</groupId>
267 <artifactId>org.eclipse.persistence.jpa</artifactId>
268 </dependency>
269
270 <dependency>
Jorge Hernandezf9f086c2017-08-15 19:12:25 -0500271 <groupId>org.mariadb.jdbc</groupId>
272 <artifactId>mariadb-java-client</artifactId>
273 </dependency>
Jorge Hernandez0c409142017-08-16 12:41:11 -0500274
275 <dependency>
276 <groupId>org.hibernate</groupId>
277 <artifactId>hibernate-core</artifactId>
278 </dependency>
279
280 <dependency>
281 <groupId>org.hibernate.common</groupId>
282 <artifactId>hibernate-commons-annotations</artifactId>
283 </dependency>
Jorge Hernandezfb79f7a2017-08-31 00:09:45 -0500284
285 <dependency>
286 <groupId>commons-io</groupId>
287 <artifactId>commons-io</artifactId>
288 </dependency>
Jorge Hernandez0c409142017-08-16 12:41:11 -0500289
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500290 </dependencies>
291
292</project>