blob: 3a7e4fce9c01bd98f147209ad97fc02f54a24aad [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>
liamfallon025059a2018-05-21 14:14:40 +010029 <version>1.2.3-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>
38 <maven.compiler.source>1.8</maven.compiler.source>
39 <maven.compiler.target>1.8</maven.compiler.target>
Pamela Dragosh17046652018-02-09 09:22:23 -050040 <jetty.version>9.3.20.v20170531</jetty.version>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050041 <gson.version>2.8.0</gson.version>
42 </properties>
43
44
45 <build>
46 <plugins>
47 <plugin>
48 <artifactId>maven-assembly-plugin</artifactId>
49 <version>2.6</version>
50 <executions>
51 <execution>
52 <id>zipfile</id>
53 <goals>
54 <goal>single</goal>
55 </goals>
56 <phase>package</phase>
57 <configuration>
58 <attach>true</attach>
59 <finalName>${project.artifactId}-${project.version}</finalName>
60 <descriptors>
61 <descriptor>src/assembly/assemble_zip.xml</descriptor>
62 </descriptors>
63 <appendAssemblyId>false</appendAssemblyId>
64 </configuration>
65 </execution>
66 </executions>
67 </plugin>
68 <plugin>
69 <groupId>org.apache.maven.plugins</groupId>
70 <artifactId>maven-dependency-plugin</artifactId>
71 <version>2.8</version>
72 <executions>
73 <execution>
74 <id>copy-dependencies</id>
75 <goals>
76 <goal>copy-dependencies</goal>
77 </goals>
78 <phase>prepare-package</phase>
79 <configuration>
80 <transitive>false</transitive>
81 <outputDirectory>${project.build.directory}/assembly/lib</outputDirectory>
82 <overWriteReleases>false</overWriteReleases>
83 <overWriteSnapshots>true</overWriteSnapshots>
84 <overWriteIfNewer>true</overWriteIfNewer>
85 <useRepositoryLayout>false</useRepositoryLayout>
86 <addParentPoms>false</addParentPoms>
87 <copyPom>false</copyPom>
Ralph Straubs5bd9ff42017-04-21 04:23:55 -050088 <excludeGroupIds>javax.inject</excludeGroupIds>
Jorge Hernandezf9f086c2017-08-15 19:12:25 -050089 <includeScope>runtime</includeScope>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050090 </configuration>
91 </execution>
92 </executions>
93 </plugin>
94 <plugin>
95 <artifactId>maven-resources-plugin</artifactId>
96 <version>2.6</version>
97 <executions>
98 <execution>
99 <id>copy-version</id>
100 <goals>
101 <goal>copy-resources</goal>
102 </goals>
103 <phase>validate</phase>
104 <configuration>
105 <outputDirectory>${basedir}/target/versions</outputDirectory>
106 <resources>
107 <resource>
108 <directory>src/main/resources/versions</directory>
109 <includes>
110 <include>version.properties</include>
111 </includes>
112 <filtering>true</filtering>
113 </resource>
114 </resources>
115 </configuration>
116 </execution>
117 <execution>
118 <id>copy-resources</id>
119 <goals>
120 <goal>copy-resources</goal>
121 </goals>
122 <phase>validate</phase>
123 <configuration>
124 <outputDirectory>${basedir}/target/etc/bvc-extensions</outputDirectory>
125 <resources>
126 <resource>
127 <directory>src/main/resources/etc/bvc-extensions</directory>
128 <includes>
129 <include>feature_config_template.cfg</include>
130 <include>feature_custom.install</include>
131 </includes>
132 <filtering>true</filtering>
133 </resource>
134 </resources>
135 </configuration>
136 </execution>
137 </executions>
138 </plugin>
139 </plugins>
140 </build>
141
142 <dependencies>
143
144 <dependency>
Guo Ruijing6abeb292017-07-28 08:23:01 +0000145 <groupId>org.onap.policy.drools-pdp</groupId>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500146 <artifactId>policy-core</artifactId>
Pamela Dragosh998f0b32017-03-10 14:31:17 -0500147 <version>${project.version}</version>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500148 </dependency>
149
150 <dependency>
Guo Ruijing6abeb292017-07-28 08:23:01 +0000151 <groupId>org.onap.policy.drools-pdp</groupId>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500152 <artifactId>policy-endpoints</artifactId>
Pamela Dragosh998f0b32017-03-10 14:31:17 -0500153 <version>${project.version}</version>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500154 </dependency>
155
156 <dependency>
157 <groupId>org.eclipse.jetty</groupId>
158 <artifactId>jetty-server</artifactId>
159 <version>${jetty.version}</version>
160 </dependency>
161
162 <dependency>
163 <groupId>org.eclipse.jetty</groupId>
164 <artifactId>jetty-servlet</artifactId>
165 <version>${jetty.version}</version>
166 </dependency>
167
168 <dependency>
169 <groupId>org.glassfish.jersey.core</groupId>
170 <artifactId>jersey-server</artifactId>
171 <version>${jersey.version}</version>
172 </dependency>
173
174 <dependency>
175 <groupId>org.glassfish.jersey.containers</groupId>
176 <artifactId>jersey-container-servlet-core</artifactId>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500177 </dependency>
178
179 <dependency>
180 <groupId>org.glassfish.jersey.media</groupId>
181 <artifactId>jersey-media-json-jackson</artifactId>
182 <version>${jersey.version}</version>
183 </dependency>
184
185 <dependency>
186 <groupId>org.glassfish.jersey.containers</groupId>
187 <artifactId>jersey-container-jetty-http</artifactId>
188 <version>${jersey.version}</version>
189 <exclusions>
190 <exclusion>
191 <groupId>org.eclipse.jetty</groupId>
192 <artifactId>jetty-util</artifactId>
193 </exclusion>
194 </exclusions>
195 </dependency>
196
197 <dependency>
Jorge Hernandez881c32e2017-05-25 16:44:15 -0500198 <groupId>io.swagger</groupId>
199 <artifactId>swagger-jersey2-jaxrs</artifactId>
200 </dependency>
201
202 <dependency>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500203 <groupId>com.fasterxml.jackson.core</groupId>
204 <artifactId>jackson-databind</artifactId>
205 <version>${jackson.version}</version>
206 </dependency>
207
208 <dependency>
209 <groupId>com.fasterxml.jackson.datatype</groupId>
210 <artifactId>jackson-datatype-jsr310</artifactId>
211 <version>${jackson.version}</version>
212 </dependency>
213
214 <dependency>
215 <groupId>com.fasterxml.jackson.core</groupId>
216 <artifactId>jackson-annotations</artifactId>
217 <version>${jackson.version}</version>
Jorge Hernandez881c32e2017-05-25 16:44:15 -0500218 </dependency>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500219
220 <dependency>
221 <groupId>com.google.code.gson</groupId>
222 <artifactId>gson</artifactId>
223 <version>${gson.version}</version>
224 </dependency>
225
226 <dependency>
227 <groupId>com.fatboyindustrial.gson-javatime-serialisers</groupId>
228 <artifactId>gson-javatime-serialisers</artifactId>
229 <version>1.1.1</version>
230 </dependency>
231
232 <dependency>
233 <groupId>org.apache.commons</groupId>
234 <artifactId>commons-collections4</artifactId>
235 <version>4.1</version>
236 </dependency>
237
Jim Hahn4390de52018-04-13 16:34:35 -0400238 <!-- if we don't explicitly specify the version here, we seem to end up
239 with version 1.4 (as a dependency to drools-core). This version is
240 not compatible with 'saClientLibrary' version 1.2.1-oss -->
241 <dependency>
242 <groupId>commons-codec</groupId>
243 <artifactId>commons-codec</artifactId>
244 <version>1.9</version>
245 </dependency>
246
Jorge Hernandez9e69cc22017-06-26 08:05:30 -0500247 <dependency>
248 <groupId>ch.qos.logback</groupId>
249 <artifactId>logback-classic</artifactId>
250 </dependency>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500251
Jorge Hernandezf9f086c2017-08-15 19:12:25 -0500252 <dependency>
253 <groupId>junit</groupId>
254 <artifactId>junit</artifactId>
255 <scope>test</scope>
256 </dependency>
257
258 <!--
259 The following dependencies are for features and drools
260 applications usage
261 -->
262
263 <dependency>
264 <groupId>org.eclipse.persistence</groupId>
265 <artifactId>eclipselink</artifactId>
266 </dependency>
267
268 <dependency>
Jorge Hernandezfb79f7a2017-08-31 00:09:45 -0500269 <groupId>org.eclipse.persistence</groupId>
270 <artifactId>org.eclipse.persistence.jpa</artifactId>
271 </dependency>
272
273 <dependency>
Jorge Hernandezf9f086c2017-08-15 19:12:25 -0500274 <groupId>org.mariadb.jdbc</groupId>
275 <artifactId>mariadb-java-client</artifactId>
276 </dependency>
Jorge Hernandez0c409142017-08-16 12:41:11 -0500277
278 <dependency>
279 <groupId>org.hibernate</groupId>
280 <artifactId>hibernate-core</artifactId>
281 </dependency>
282
283 <dependency>
284 <groupId>org.hibernate.common</groupId>
285 <artifactId>hibernate-commons-annotations</artifactId>
286 </dependency>
Jorge Hernandezfb79f7a2017-08-31 00:09:45 -0500287
288 <dependency>
289 <groupId>commons-io</groupId>
290 <artifactId>commons-io</artifactId>
291 </dependency>
Jorge Hernandez0c409142017-08-16 12:41:11 -0500292
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500293 </dependencies>
294
295</project>