blob: 58c858be01340e135dc40e8e92d9a231190612db [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
Pamela Dragoshfd307be2018-08-28 18:10:51 -040022<project xmlns="http://maven.apache.org/POM/4.0.0"
23 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
25 <modelVersion>4.0.0</modelVersion>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050026
Pamela Dragoshfd307be2018-08-28 18:10:51 -040027 <parent>
28 <groupId>org.onap.policy.drools-pdp</groupId>
29 <artifactId>drools-pdp</artifactId>
30 <version>1.3.0-SNAPSHOT</version>
31 </parent>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050032
Pamela Dragoshfd307be2018-08-28 18:10:51 -040033 <artifactId>policy-management</artifactId>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050034
Pamela Dragoshfd307be2018-08-28 18:10:51 -040035 <name>policy-management</name>
36 <description>Policy Management</description>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050037
Pamela Dragoshfd307be2018-08-28 18:10:51 -040038 <build>
39 <plugins>
40 <plugin>
41 <artifactId>maven-assembly-plugin</artifactId>
42 <executions>
43 <execution>
44 <id>zipfile</id>
45 <goals>
46 <goal>single</goal>
47 </goals>
48 <phase>package</phase>
49 <configuration>
50 <attach>true</attach>
51 <finalName>${project.artifactId}-${project.version}</finalName>
52 <descriptors>
53 <descriptor>src/assembly/assemble_zip.xml</descriptor>
54 </descriptors>
55 <appendAssemblyId>false</appendAssemblyId>
56 </configuration>
57 </execution>
58 </executions>
59 </plugin>
60 <plugin>
61 <groupId>org.apache.maven.plugins</groupId>
62 <artifactId>maven-dependency-plugin</artifactId>
63 <executions>
64 <execution>
65 <id>copy-dependencies</id>
66 <goals>
67 <goal>copy-dependencies</goal>
68 </goals>
69 <phase>prepare-package</phase>
70 <configuration>
71 <transitive>false</transitive>
72 <outputDirectory>${project.build.directory}/assembly/lib</outputDirectory>
73 <overWriteReleases>false</overWriteReleases>
74 <overWriteSnapshots>true</overWriteSnapshots>
75 <overWriteIfNewer>true</overWriteIfNewer>
76 <useRepositoryLayout>false</useRepositoryLayout>
77 <addParentPoms>false</addParentPoms>
78 <copyPom>false</copyPom>
79 <excludeGroupIds>javax.inject</excludeGroupIds>
80 <includeScope>runtime</includeScope>
81 </configuration>
82 </execution>
83 </executions>
84 </plugin>
85 <plugin>
86 <artifactId>maven-resources-plugin</artifactId>
87 <executions>
88 <execution>
89 <id>copy-version</id>
90 <goals>
91 <goal>copy-resources</goal>
92 </goals>
93 <phase>validate</phase>
94 <configuration>
95 <outputDirectory>${basedir}/target/versions</outputDirectory>
96 <resources>
97 <resource>
98 <directory>src/main/resources/versions</directory>
99 <includes>
100 <include>version.properties</include>
101 </includes>
102 <filtering>true</filtering>
103 </resource>
104 </resources>
105 </configuration>
106 </execution>
107 <execution>
108 <id>copy-resources</id>
109 <goals>
110 <goal>copy-resources</goal>
111 </goals>
112 <phase>validate</phase>
113 <configuration>
114 <outputDirectory>${basedir}/target/etc/bvc-extensions</outputDirectory>
115 <resources>
116 <resource>
117 <directory>src/main/resources/etc/bvc-extensions</directory>
118 <includes>
119 <include>feature_config_template.cfg</include>
120 <include>feature_custom.install</include>
121 </includes>
122 <filtering>true</filtering>
123 </resource>
124 </resources>
125 </configuration>
126 </execution>
127 </executions>
128 </plugin>
129 </plugins>
130 </build>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500131
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400132 <dependencies>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500133
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400134 <dependency>
135 <groupId>org.onap.policy.drools-pdp</groupId>
136 <artifactId>policy-core</artifactId>
137 <version>${project.version}</version>
138 </dependency>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500139
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400140 <dependency>
141 <groupId>org.onap.policy.common</groupId>
142 <artifactId>policy-endpoints</artifactId>
143 <version>${project.version}</version>
144 </dependency>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500145
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400146 <dependency>
147 <groupId>org.eclipse.jetty</groupId>
148 <artifactId>jetty-server</artifactId>
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400149 </dependency>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500150
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400151 <dependency>
152 <groupId>org.eclipse.jetty</groupId>
153 <artifactId>jetty-servlet</artifactId>
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400154 </dependency>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500155
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400156 <dependency>
157 <groupId>org.glassfish.jersey.core</groupId>
158 <artifactId>jersey-server</artifactId>
159 <version>${jersey.version}</version>
160 </dependency>
Jorge Hernandez0c409142017-08-16 12:41:11 -0500161
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400162 <dependency>
163 <groupId>org.glassfish.jersey.containers</groupId>
164 <artifactId>jersey-container-servlet-core</artifactId>
165 </dependency>
Jorge Hernandez0c409142017-08-16 12:41:11 -0500166
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400167 <dependency>
168 <groupId>org.glassfish.jersey.media</groupId>
169 <artifactId>jersey-media-json-jackson</artifactId>
170 <version>${jersey.version}</version>
171 </dependency>
172
173 <dependency>
174 <groupId>org.glassfish.jersey.containers</groupId>
175 <artifactId>jersey-container-jetty-http</artifactId>
176 <version>${jersey.version}</version>
177 <exclusions>
178 <exclusion>
179 <groupId>org.eclipse.jetty</groupId>
180 <artifactId>jetty-util</artifactId>
181 </exclusion>
182 </exclusions>
183 </dependency>
184
185 <dependency>
186 <groupId>io.swagger</groupId>
187 <artifactId>swagger-jersey2-jaxrs</artifactId>
188 </dependency>
189
190 <dependency>
191 <groupId>com.fasterxml.jackson.core</groupId>
192 <artifactId>jackson-databind</artifactId>
193 <version>${jackson.version}</version>
194 </dependency>
195
196 <dependency>
197 <groupId>com.fasterxml.jackson.datatype</groupId>
198 <artifactId>jackson-datatype-jsr310</artifactId>
199 <version>${jackson.version}</version>
200 </dependency>
201
202 <dependency>
203 <groupId>com.fasterxml.jackson.core</groupId>
204 <artifactId>jackson-annotations</artifactId>
205 <version>${jackson.version}</version>
206 </dependency>
207
208 <dependency>
209 <groupId>com.google.code.gson</groupId>
210 <artifactId>gson</artifactId>
211 </dependency>
212
213 <dependency>
214 <groupId>com.fatboyindustrial.gson-javatime-serialisers</groupId>
215 <artifactId>gson-javatime-serialisers</artifactId>
216 <version>1.1.1</version>
217 </dependency>
218
219 <dependency>
220 <groupId>org.apache.commons</groupId>
221 <artifactId>commons-collections4</artifactId>
222 <version>4.1</version>
223 </dependency>
Jorge Hernandezfb79f7a2017-08-31 00:09:45 -0500224
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400225 <!-- if we don't explicitly specify the version here, we seem to end up
226 with version 1.4 (as a dependency to drools-core). This version is
227 not compatible with 'saClientLibrary' version 1.2.1-oss
228 -->
229 <dependency>
230 <groupId>commons-codec</groupId>
231 <artifactId>commons-codec</artifactId>
232 </dependency>
233
234 <dependency>
235 <groupId>ch.qos.logback</groupId>
236 <artifactId>logback-classic</artifactId>
237 </dependency>
238
239 <dependency>
240 <groupId>junit</groupId>
241 <artifactId>junit</artifactId>
242 <scope>test</scope>
243 </dependency>
244
245 <!--
246 The following dependencies are for features and drools
247 applications usage
248 -->
249
250 <dependency>
251 <groupId>org.eclipse.persistence</groupId>
252 <artifactId>eclipselink</artifactId>
253 </dependency>
254
255 <dependency>
256 <groupId>org.eclipse.persistence</groupId>
257 <artifactId>org.eclipse.persistence.jpa</artifactId>
258 </dependency>
259
260 <dependency>
261 <groupId>org.mariadb.jdbc</groupId>
262 <artifactId>mariadb-java-client</artifactId>
263 </dependency>
264
265 <dependency>
266 <groupId>org.hibernate</groupId>
267 <artifactId>hibernate-core</artifactId>
268 </dependency>
269
270 <dependency>
271 <groupId>org.hibernate.common</groupId>
272 <artifactId>hibernate-commons-annotations</artifactId>
273 </dependency>
274
275 <dependency>
276 <groupId>commons-io</groupId>
277 <artifactId>commons-io</artifactId>
278 </dependency>
279
280 </dependencies>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500281
282</project>