blob: 44ae9b8bf415006d225321c57f71ad5444c6ddf1 [file] [log] [blame]
Pamela Dragosh0e16acf2017-02-14 19:45:48 -05001<!--
2 ============LICENSE_START=======================================================
Guo Ruijing6abeb292017-07-28 08:23:01 +00003 ONAP Policy Engine - Drools PDP
Pamela Dragosh0e16acf2017-02-14 19:45:48 -05004 ================================================================================
5 Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 ================================================================================
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
Temoc Rodriguez82ba9222017-08-17 08:24:55 -070010
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050011 http://www.apache.org/licenses/LICENSE-2.0
Temoc Rodriguez82ba9222017-08-17 08:24:55 -070012
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050013 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
18 ============LICENSE_END=========================================================
19 -->
20
21<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
23 <modelVersion>4.0.0</modelVersion>
24
Guo Ruijing15be35a2017-08-03 11:32:09 +000025 <parent>
26 <groupId>org.onap.oparent</groupId>
27 <artifactId>oparent</artifactId>
Pamela Dragosh3358e1e2017-09-21 13:35:23 -040028 <version>0.1.1</version>
Guo Ruijing15be35a2017-08-03 11:32:09 +000029 <relativePath/>
30 </parent>
31
Guo Ruijing6abeb292017-07-28 08:23:01 +000032 <groupId>org.onap.policy.drools-pdp</groupId>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050033 <artifactId>drools-pdp</artifactId>
Jessica Wagantall9de8f792017-11-18 18:47:57 -080034 <version>1.2.0-SNAPSHOT</version>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050035 <packaging>pom</packaging>
Jessica Wagantall0c625eb2017-09-08 13:34:37 -070036 <name>policy-drools-pdp</name>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050037
Guo Ruijing6abeb292017-07-28 08:23:01 +000038 <description>The ONAP Policy Engine drools-based PDP Project</description>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050039
40 <properties>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050041 <project.source.version>1.8</project.source.version>
42 <project.target.version>1.8</project.target.version>
Magnusen, Drew (dm741q)95886e42017-11-21 10:56:05 -060043 <dmaap.version>1.0.0</dmaap.version>
Ralph Straubs5bd9ff42017-04-21 04:23:55 -050044 <cambria.version>0.0.1</cambria.version>
Jorge Hernandez1f2fff62017-09-13 14:48:05 -050045 <jersey.version>2.25.1</jersey.version>
46 <jersey.swagger.version>1.5.16</jersey.swagger.version>
47 <jackson.version>2.9.1</jackson.version>
Jorge Hernandezfb79f7a2017-08-31 00:09:45 -050048 <http.client.version>4.5.2</http.client.version>
Jorge Hernandez8f61e182017-06-22 17:17:28 -050049 <http.core.version>4.4.4</http.core.version>
50 <logback.version>1.2.3</logback.version>
Jorge Hernandezf9f086c2017-08-15 19:12:25 -050051 <junit.version>4.12</junit.version>
Jorge Hernandezfb79f7a2017-08-31 00:09:45 -050052 <eclipselink.version>2.7.0</eclipselink.version>
Jorge Hernandezf9f086c2017-08-15 19:12:25 -050053 <mariadb.jdbc.version>2.1.0</mariadb.jdbc.version>
Jorge Hernandez0c409142017-08-16 12:41:11 -050054 <hibernate.core.version>5.2.10.Final</hibernate.core.version>
55 <hibernate.commons.annotations.version>5.0.1.Final</hibernate.commons.annotations.version>
Jorge Hernandezfb79f7a2017-08-31 00:09:45 -050056 <commons.io.version>2.5</commons.io.version>
Jorge Hernandez1f2fff62017-09-13 14:48:05 -050057 <guava.version>23.0</guava.version>
Jorge Hernandez7b245f02017-10-30 17:27:08 -050058 <xml.apis.version>1.4.01</xml.apis.version>
Temoc Rodriguez82ba9222017-08-17 08:24:55 -070059
Pamela Dragoshe8bdb512017-03-30 09:46:40 -040060 <nexusproxy>https://nexus.onap.org</nexusproxy>
Anaël Closson8f7e5de2017-04-12 11:09:25 +020061 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
62 <releases.path>content/repositories/releases/</releases.path>
63 <snapshots.path>content/repositories/snapshots/</snapshots.path>
64 <staging.path>content/repositories/staging/</staging.path>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050065 </properties>
66
67 <modules>
68 <module>policy-utils</module>
69 <module>policy-core</module>
70 <module>policy-endpoints</module>
71 <module>policy-management</module>
Jorge Hernandez564f8182017-06-30 13:29:03 -050072 <module>feature-healthcheck</module>
Jorge Hernandez9e69cc22017-06-26 08:05:30 -050073 <module>feature-eelf</module>
Kevin McKiou36cf73f2017-08-22 16:08:06 -050074 <module>feature-session-persistence</module>
Magnusen, Drew (dm741q)ca5aaf02017-08-25 10:20:46 -050075 <module>feature-test-transaction</module>
Magnusen, Drew (dm741q)18253e52017-09-07 08:55:17 -050076 <module>api-state-management</module>
77 <module>feature-state-management</module>
Kevin McKiou4c539952017-09-14 12:31:02 -050078 <module>api-active-standby-management</module>
79 <module>feature-active-standby-management</module>
Charles Colec8e0ec62017-12-14 08:59:26 -060080 <module>feature-simulators</module>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050081 <module>packages</module>
82 </modules>
83
Pamela Dragosh2f7c70d2017-02-15 16:09:00 -050084 <distributionManagement>
85 <repository>
Jorge Hernandez41ca2182017-07-31 15:35:01 -050086 <id>ecomp-releases</id>
Guo Ruijing6abeb292017-07-28 08:23:01 +000087 <name>ONAP Release Repository</name>
Anaël Closson8f7e5de2017-04-12 11:09:25 +020088 <url>${nexusproxy}/${releases.path}</url>
Pamela Dragosh2f7c70d2017-02-15 16:09:00 -050089 </repository>
90 <snapshotRepository>
Jorge Hernandez41ca2182017-07-31 15:35:01 -050091 <id>ecomp-snapshots</id>
Guo Ruijing6abeb292017-07-28 08:23:01 +000092 <name>ONAP Snapshot Repository</name>
Anaël Closson8f7e5de2017-04-12 11:09:25 +020093 <url>${nexusproxy}/${snapshots.path}</url>
Pamela Dragosh2f7c70d2017-02-15 16:09:00 -050094 </snapshotRepository>
95 <site>
Jorge Hernandez41ca2182017-07-31 15:35:01 -050096 <id>ecomp-site</id>
Pamela Dragoshb67f4172017-04-10 10:24:23 -040097 <url>dav:${nexusproxy}${sitePath}</url>
Pamela Dragosh2f7c70d2017-02-15 16:09:00 -050098 </site>
99 </distributionManagement>
100
Pamela Dragoshd78b5302017-11-10 20:07:52 -0500101 <repositories>
102 <!-- LF repositories -->
103 <repository>
104 <id>ecomp-releases</id>
105 <name>Release Repository</name>
106 <url>${nexusproxy}/content/repositories/releases/</url>
107 </repository>
108 <repository>
109 <id>ecomp-staging</id>
110 <name>Staging Repository</name>
111 <url>${nexusproxy}/content/repositories/staging/</url>
112 </repository>
113 <repository>
114 <id>ecomp-snapshots</id>
115 <name>Snapshots Repository</name>
116 <url>${nexusproxy}/content/repositories/snapshots/</url>
117 </repository>
118 <repository>
119 <id>ecomp-public</id>
120 <name>Public Repository</name>
121 <url>${nexusproxy}/content/repositories/public/</url>
122 </repository>
123 <!-- LF repositories END-->
124 </repositories>
125
Ralph Straubs5bd9ff42017-04-21 04:23:55 -0500126 <dependencyManagement>
127 <dependencies>
128 <dependency>
129 <groupId>com.google.guava</groupId>
130 <artifactId>guava</artifactId>
Jorge Hernandezfb79f7a2017-08-31 00:09:45 -0500131 <version>${guava.version}</version>
Ralph Straubs5bd9ff42017-04-21 04:23:55 -0500132 </dependency>
133 <dependency>
134 <groupId>javax.ws.rs</groupId>
135 <artifactId>javax.ws.rs-api</artifactId>
136 <version>2.0.1</version>
137 </dependency>
138 <dependency>
139 <groupId>org.glassfish.hk2.external</groupId>
140 <artifactId>javax.inject</artifactId>
141 <version>2.4.0-b31</version>
142 </dependency>
143 <dependency>
144 <groupId>com.fasterxml.jackson.jaxrs</groupId>
145 <artifactId>jackson-jaxrs-base</artifactId>
146 <version>${jackson.version}</version>
147 </dependency>
148 <dependency>
149 <groupId>com.fasterxml.jackson.jaxrs</groupId>
150 <artifactId>jackson-jaxrs-json-provider</artifactId>
151 <version>${jackson.version}</version>
152 </dependency>
153 <dependency>
154 <groupId>com.fasterxml.jackson.dataformat</groupId>
155 <artifactId>jackson-dataformat-xml</artifactId>
156 <version>${jackson.version}</version>
157 </dependency>
158 <dependency>
159 <groupId>com.fasterxml.jackson.dataformat</groupId>
160 <artifactId>jackson-dataformat-yaml</artifactId>
161 <version>${jackson.version}</version>
162 </dependency>
163 <dependency>
164 <groupId>com.fasterxml.jackson.datatype</groupId>
165 <artifactId>jackson-datatype-joda</artifactId>
166 <version>${jackson.version}</version>
167 </dependency>
168 <dependency>
169 <groupId>org.glassfish.jersey.containers</groupId>
170 <artifactId>jersey-common</artifactId>
171 <version>${jersey.version}</version>
172 </dependency>
173 <dependency>
174 <groupId>org.glassfish.jersey.containers</groupId>
175 <artifactId>jersey-container-servlet-core</artifactId>
176 <version>${jersey.version}</version>
177 </dependency>
Jorge Hernandez881c32e2017-05-25 16:44:15 -0500178 <dependency>
179 <groupId>io.swagger</groupId>
180 <artifactId>swagger-jersey2-jaxrs</artifactId>
181 <version>${jersey.swagger.version}</version>
182 </dependency>
Jorge Hernandez85e12562017-06-05 09:51:55 -0500183 <dependency>
184 <groupId>org.apache.httpcomponents</groupId>
185 <artifactId>httpclient</artifactId>
Jorge Hernandez8f61e182017-06-22 17:17:28 -0500186 <version>${http.client.version}</version>
Jorge Hernandez85e12562017-06-05 09:51:55 -0500187 </dependency>
188 <dependency>
189 <groupId>org.apache.httpcomponents</groupId>
190 <artifactId>httpcore</artifactId>
Jorge Hernandez8f61e182017-06-22 17:17:28 -0500191 <version>${http.core.version}</version>
192 </dependency>
193 <dependency>
194 <groupId>ch.qos.logback</groupId>
195 <artifactId>logback-classic</artifactId>
196 <version>${logback.version}</version>
Jorge Hernandez85e12562017-06-05 09:51:55 -0500197 </dependency>
Jorge Hernandezf9f086c2017-08-15 19:12:25 -0500198 <dependency>
199 <groupId>junit</groupId>
200 <artifactId>junit</artifactId>
201 <version>${junit.version}</version>
202 </dependency>
203 <dependency>
204 <groupId>org.eclipse.persistence</groupId>
205 <artifactId>eclipselink</artifactId>
206 <version>${eclipselink.version}</version>
207 </dependency>
208 <dependency>
Jorge Hernandezfb79f7a2017-08-31 00:09:45 -0500209 <groupId>org.eclipse.persistence</groupId>
210 <artifactId>org.eclipse.persistence.jpa</artifactId>
211 <version>${eclipselink.version}</version>
212 </dependency>
213 <dependency>
Jorge Hernandezf9f086c2017-08-15 19:12:25 -0500214 <groupId>org.mariadb.jdbc</groupId>
215 <artifactId>mariadb-java-client</artifactId>
216 <version>${mariadb.jdbc.version}</version>
217 </dependency>
Jorge Hernandez0c409142017-08-16 12:41:11 -0500218 <dependency>
219 <groupId>org.hibernate</groupId>
220 <artifactId>hibernate-core</artifactId>
221 <version>${hibernate.core.version}</version>
222 </dependency>
223 <dependency>
224 <groupId>org.hibernate.common</groupId>
225 <artifactId>hibernate-commons-annotations</artifactId>
226 <version>${hibernate.commons.annotations.version}</version>
Temoc Rodriguez82ba9222017-08-17 08:24:55 -0700227 </dependency>
Jorge Hernandezfb79f7a2017-08-31 00:09:45 -0500228 <dependency>
229 <groupId>commons-io</groupId>
230 <artifactId>commons-io</artifactId>
231 <version>${commons.io.version}</version>
232 </dependency>
Jorge Hernandez7b245f02017-10-30 17:27:08 -0500233 <dependency>
234 <groupId>xml-apis</groupId>
235 <artifactId>xml-apis</artifactId>
236 <version>${xml.apis.version}</version>
237 </dependency>
Ralph Straubs5bd9ff42017-04-21 04:23:55 -0500238 </dependencies>
239 </dependencyManagement>
Jorge Hernandezfb79f7a2017-08-31 00:09:45 -0500240
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500241 <build>
242 <plugins>
243 <plugin>
Pamela Dragosha5fd1fb2017-02-17 15:31:11 -0500244 <groupId>org.sonatype.plugins</groupId>
245 <artifactId>nexus-staging-maven-plugin</artifactId>
Pamela Dragosha5fd1fb2017-02-17 15:31:11 -0500246 <extensions>true</extensions>
247 <configuration>
248 <nexusUrl>${nexusproxy}</nexusUrl>
249 <stagingProfileId>176c31dfe190a</stagingProfileId>
Pamela Dragosh96265942017-07-31 21:31:31 -0400250 <serverId>ecomp-staging</serverId>
Pamela Dragosha5fd1fb2017-02-17 15:31:11 -0500251 </configuration>
252 </plugin>
253 <plugin>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500254 <groupId>org.apache.maven.plugins</groupId>
255 <artifactId>maven-deploy-plugin</artifactId>
Pamela Dragosha5fd1fb2017-02-17 15:31:11 -0500256 <configuration>
257 <skip />
258 </configuration>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500259 </plugin>
260 <plugin>
261 <groupId>org.apache.maven.plugins</groupId>
262 <artifactId>maven-compiler-plugin</artifactId>
263 <version>3.0</version>
264 <configuration>
265 <encoding>${project.encoding}</encoding>
266 <source>${project.source.version}</source>
267 <target>${project.target.version}</target>
268 </configuration>
269 </plugin>
270 <plugin>
271 <groupId>org.apache.maven.plugins</groupId>
272 <artifactId>maven-resources-plugin</artifactId>
273 <version>2.6</version>
274 <configuration>
275 <encoding>${project.encoding}</encoding>
276 </configuration>
277 </plugin>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500278
Pamela Dragoshb67f4172017-04-10 10:24:23 -0400279 <plugin>
280 <groupId>org.apache.maven.plugins</groupId>
281 <artifactId>maven-site-plugin</artifactId>
Pamela Dragoshb67f4172017-04-10 10:24:23 -0400282 <dependencies>
283 <dependency>
284 <groupId>org.apache.maven.wagon</groupId>
285 <artifactId>wagon-webdav-jackrabbit</artifactId>
286 <version>2.10</version>
287 </dependency>
288 </dependencies>
289 </plugin>
Jorge Hernandez1550fa82017-07-26 19:00:54 -0500290
291 <plugin>
292 <groupId>org.jacoco</groupId>
293 <artifactId>jacoco-maven-plugin</artifactId>
294 </plugin>
295
Jorge Hernandezfb79f7a2017-08-31 00:09:45 -0500296
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500297 </plugins>
298 <pluginManagement>
299 <plugins>
Pamela Dragoshc80b11c2017-08-14 13:42:40 -0400300 <plugin>
301 <groupId>org.eclipse.m2e</groupId>
302 <artifactId>lifecycle-mapping</artifactId>
303 <version>1.0.0</version>
304 <configuration>
305 <lifecycleMappingMetadata>
306 <pluginExecutions>
307 <pluginExecution>
308 <pluginExecutionFilter>
309 <groupId>org.apache.maven.plugins</groupId>
310 <artifactId>maven-checkstyle-plugin</artifactId>
311 <versionRange>2.17,)</versionRange>
312 <goals>
313 <goal>check</goal>
314 </goals>
315 </pluginExecutionFilter>
316 <action>
317 <ignore />
318 </action>
319 </pluginExecution>
320 </pluginExecutions>
321 </lifecycleMappingMetadata>
322 </configuration>
323 </plugin>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500324 </plugins>
325 </pluginManagement>
326 </build>
Pamela Dragoshb67f4172017-04-10 10:24:23 -0400327 <reporting>
328 <plugins>
329 <plugin>
330 <groupId>org.apache.maven.plugins</groupId>
331 <artifactId>maven-javadoc-plugin</artifactId>
332 <version>2.10.4</version>
333 <configuration>
334 <failOnError>false</failOnError>
335 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
336 <docletArtifact>
337 <groupId>org.umlgraph</groupId>
338 <artifactId>umlgraph</artifactId>
339 <version>5.6</version>
340 </docletArtifact>
341 <additionalparam>-views</additionalparam>
342 <useStandardDocletOptions>true</useStandardDocletOptions>
343 </configuration>
344 </plugin>
345 </plugins>
346 </reporting>
347
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500348</project>