blob: 15ff07bc46337bbd0fd738f98164527f89b5b675 [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>
Pamela Dragosh998f0b32017-03-10 14:31:17 -050034 <version>1.1.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>
Pamela Dragosh998f0b32017-03-10 14:31:17 -050043 <common-modules.version>1.1.0-SNAPSHOT</common-modules.version>
Ralph Straubs5bd9ff42017-04-21 04:23:55 -050044 <dmaap.version>0.2.12</dmaap.version>
45 <cambria.version>0.0.1</cambria.version>
Jorge Hernandez1f2fff62017-09-13 14:48:05 -050046 <jersey.version>2.25.1</jersey.version>
47 <jersey.swagger.version>1.5.16</jersey.swagger.version>
48 <jackson.version>2.9.1</jackson.version>
Jorge Hernandezfb79f7a2017-08-31 00:09:45 -050049 <http.client.version>4.5.2</http.client.version>
Jorge Hernandez8f61e182017-06-22 17:17:28 -050050 <http.core.version>4.4.4</http.core.version>
51 <logback.version>1.2.3</logback.version>
Jorge Hernandezf9f086c2017-08-15 19:12:25 -050052 <junit.version>4.12</junit.version>
Jorge Hernandezfb79f7a2017-08-31 00:09:45 -050053 <eclipselink.version>2.7.0</eclipselink.version>
Jorge Hernandezf9f086c2017-08-15 19:12:25 -050054 <mariadb.jdbc.version>2.1.0</mariadb.jdbc.version>
Jorge Hernandez0c409142017-08-16 12:41:11 -050055 <hibernate.core.version>5.2.10.Final</hibernate.core.version>
56 <hibernate.commons.annotations.version>5.0.1.Final</hibernate.commons.annotations.version>
Jorge Hernandezfb79f7a2017-08-31 00:09:45 -050057 <commons.io.version>2.5</commons.io.version>
Jorge Hernandez1f2fff62017-09-13 14:48:05 -050058 <guava.version>23.0</guava.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>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050080 <module>packages</module>
81 </modules>
82
Pamela Dragosh2f7c70d2017-02-15 16:09:00 -050083 <distributionManagement>
84 <repository>
Jorge Hernandez41ca2182017-07-31 15:35:01 -050085 <id>ecomp-releases</id>
Guo Ruijing6abeb292017-07-28 08:23:01 +000086 <name>ONAP Release Repository</name>
Anaël Closson8f7e5de2017-04-12 11:09:25 +020087 <url>${nexusproxy}/${releases.path}</url>
Pamela Dragosh2f7c70d2017-02-15 16:09:00 -050088 </repository>
89 <snapshotRepository>
Jorge Hernandez41ca2182017-07-31 15:35:01 -050090 <id>ecomp-snapshots</id>
Guo Ruijing6abeb292017-07-28 08:23:01 +000091 <name>ONAP Snapshot Repository</name>
Anaël Closson8f7e5de2017-04-12 11:09:25 +020092 <url>${nexusproxy}/${snapshots.path}</url>
Pamela Dragosh2f7c70d2017-02-15 16:09:00 -050093 </snapshotRepository>
94 <site>
Jorge Hernandez41ca2182017-07-31 15:35:01 -050095 <id>ecomp-site</id>
Pamela Dragoshb67f4172017-04-10 10:24:23 -040096 <url>dav:${nexusproxy}${sitePath}</url>
Pamela Dragosh2f7c70d2017-02-15 16:09:00 -050097 </site>
98 </distributionManagement>
99
Ralph Straubs5bd9ff42017-04-21 04:23:55 -0500100 <dependencyManagement>
101 <dependencies>
102 <dependency>
103 <groupId>com.google.guava</groupId>
104 <artifactId>guava</artifactId>
Jorge Hernandezfb79f7a2017-08-31 00:09:45 -0500105 <version>${guava.version}</version>
Ralph Straubs5bd9ff42017-04-21 04:23:55 -0500106 </dependency>
107 <dependency>
108 <groupId>javax.ws.rs</groupId>
109 <artifactId>javax.ws.rs-api</artifactId>
110 <version>2.0.1</version>
111 </dependency>
112 <dependency>
113 <groupId>org.glassfish.hk2.external</groupId>
114 <artifactId>javax.inject</artifactId>
115 <version>2.4.0-b31</version>
116 </dependency>
117 <dependency>
118 <groupId>com.fasterxml.jackson.jaxrs</groupId>
119 <artifactId>jackson-jaxrs-base</artifactId>
120 <version>${jackson.version}</version>
121 </dependency>
122 <dependency>
123 <groupId>com.fasterxml.jackson.jaxrs</groupId>
124 <artifactId>jackson-jaxrs-json-provider</artifactId>
125 <version>${jackson.version}</version>
126 </dependency>
127 <dependency>
128 <groupId>com.fasterxml.jackson.dataformat</groupId>
129 <artifactId>jackson-dataformat-xml</artifactId>
130 <version>${jackson.version}</version>
131 </dependency>
132 <dependency>
133 <groupId>com.fasterxml.jackson.dataformat</groupId>
134 <artifactId>jackson-dataformat-yaml</artifactId>
135 <version>${jackson.version}</version>
136 </dependency>
137 <dependency>
138 <groupId>com.fasterxml.jackson.datatype</groupId>
139 <artifactId>jackson-datatype-joda</artifactId>
140 <version>${jackson.version}</version>
141 </dependency>
142 <dependency>
143 <groupId>org.glassfish.jersey.containers</groupId>
144 <artifactId>jersey-common</artifactId>
145 <version>${jersey.version}</version>
146 </dependency>
147 <dependency>
148 <groupId>org.glassfish.jersey.containers</groupId>
149 <artifactId>jersey-container-servlet-core</artifactId>
150 <version>${jersey.version}</version>
151 </dependency>
Jorge Hernandez881c32e2017-05-25 16:44:15 -0500152 <dependency>
153 <groupId>io.swagger</groupId>
154 <artifactId>swagger-jersey2-jaxrs</artifactId>
155 <version>${jersey.swagger.version}</version>
156 </dependency>
Jorge Hernandez85e12562017-06-05 09:51:55 -0500157 <dependency>
158 <groupId>org.apache.httpcomponents</groupId>
159 <artifactId>httpclient</artifactId>
Jorge Hernandez8f61e182017-06-22 17:17:28 -0500160 <version>${http.client.version}</version>
Jorge Hernandez85e12562017-06-05 09:51:55 -0500161 </dependency>
162 <dependency>
163 <groupId>org.apache.httpcomponents</groupId>
164 <artifactId>httpcore</artifactId>
Jorge Hernandez8f61e182017-06-22 17:17:28 -0500165 <version>${http.core.version}</version>
166 </dependency>
167 <dependency>
168 <groupId>ch.qos.logback</groupId>
169 <artifactId>logback-classic</artifactId>
170 <version>${logback.version}</version>
Jorge Hernandez85e12562017-06-05 09:51:55 -0500171 </dependency>
Jorge Hernandezf9f086c2017-08-15 19:12:25 -0500172 <dependency>
173 <groupId>junit</groupId>
174 <artifactId>junit</artifactId>
175 <version>${junit.version}</version>
176 </dependency>
177 <dependency>
178 <groupId>org.eclipse.persistence</groupId>
179 <artifactId>eclipselink</artifactId>
180 <version>${eclipselink.version}</version>
181 </dependency>
182 <dependency>
Jorge Hernandezfb79f7a2017-08-31 00:09:45 -0500183 <groupId>org.eclipse.persistence</groupId>
184 <artifactId>org.eclipse.persistence.jpa</artifactId>
185 <version>${eclipselink.version}</version>
186 </dependency>
187 <dependency>
Jorge Hernandezf9f086c2017-08-15 19:12:25 -0500188 <groupId>org.mariadb.jdbc</groupId>
189 <artifactId>mariadb-java-client</artifactId>
190 <version>${mariadb.jdbc.version}</version>
191 </dependency>
Jorge Hernandez0c409142017-08-16 12:41:11 -0500192 <dependency>
193 <groupId>org.hibernate</groupId>
194 <artifactId>hibernate-core</artifactId>
195 <version>${hibernate.core.version}</version>
196 </dependency>
197 <dependency>
198 <groupId>org.hibernate.common</groupId>
199 <artifactId>hibernate-commons-annotations</artifactId>
200 <version>${hibernate.commons.annotations.version}</version>
Temoc Rodriguez82ba9222017-08-17 08:24:55 -0700201 </dependency>
Jorge Hernandezfb79f7a2017-08-31 00:09:45 -0500202 <dependency>
203 <groupId>commons-io</groupId>
204 <artifactId>commons-io</artifactId>
205 <version>${commons.io.version}</version>
206 </dependency>
Ralph Straubs5bd9ff42017-04-21 04:23:55 -0500207 </dependencies>
208 </dependencyManagement>
Jorge Hernandezfb79f7a2017-08-31 00:09:45 -0500209
210 <dependencies>
211 <dependency>
212 <groupId>org.onap.oparent</groupId>
213 <artifactId>version-check-maven-plugin</artifactId>
214 <version>1.0.0-SNAPSHOT</version>
215 <scope>provided</scope>
216 <optional>true</optional>
217 <exclusions>
218 <exclusion>
219 <groupId>*</groupId>
220 <artifactId>*</artifactId>
221 </exclusion>
222 </exclusions>
223 </dependency>
224 </dependencies>
Temoc Rodriguez82ba9222017-08-17 08:24:55 -0700225
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500226 <build>
227 <plugins>
228 <plugin>
Pamela Dragosha5fd1fb2017-02-17 15:31:11 -0500229 <groupId>org.sonatype.plugins</groupId>
230 <artifactId>nexus-staging-maven-plugin</artifactId>
Pamela Dragosha5fd1fb2017-02-17 15:31:11 -0500231 <extensions>true</extensions>
232 <configuration>
233 <nexusUrl>${nexusproxy}</nexusUrl>
234 <stagingProfileId>176c31dfe190a</stagingProfileId>
Pamela Dragosh96265942017-07-31 21:31:31 -0400235 <serverId>ecomp-staging</serverId>
Pamela Dragosha5fd1fb2017-02-17 15:31:11 -0500236 </configuration>
237 </plugin>
238 <plugin>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500239 <groupId>org.apache.maven.plugins</groupId>
240 <artifactId>maven-deploy-plugin</artifactId>
Pamela Dragosha5fd1fb2017-02-17 15:31:11 -0500241 <configuration>
242 <skip />
243 </configuration>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500244 </plugin>
245 <plugin>
246 <groupId>org.apache.maven.plugins</groupId>
247 <artifactId>maven-compiler-plugin</artifactId>
248 <version>3.0</version>
249 <configuration>
250 <encoding>${project.encoding}</encoding>
251 <source>${project.source.version}</source>
252 <target>${project.target.version}</target>
253 </configuration>
254 </plugin>
255 <plugin>
256 <groupId>org.apache.maven.plugins</groupId>
257 <artifactId>maven-resources-plugin</artifactId>
258 <version>2.6</version>
259 <configuration>
260 <encoding>${project.encoding}</encoding>
261 </configuration>
262 </plugin>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500263
Pamela Dragoshb67f4172017-04-10 10:24:23 -0400264 <plugin>
265 <groupId>org.apache.maven.plugins</groupId>
266 <artifactId>maven-site-plugin</artifactId>
Pamela Dragoshb67f4172017-04-10 10:24:23 -0400267 <dependencies>
268 <dependency>
269 <groupId>org.apache.maven.wagon</groupId>
270 <artifactId>wagon-webdav-jackrabbit</artifactId>
271 <version>2.10</version>
272 </dependency>
273 </dependencies>
274 </plugin>
Jorge Hernandez1550fa82017-07-26 19:00:54 -0500275
276 <plugin>
277 <groupId>org.jacoco</groupId>
278 <artifactId>jacoco-maven-plugin</artifactId>
279 </plugin>
280
281 <plugin>
282 <groupId>org.codehaus.mojo</groupId>
283 <artifactId>sonar-maven-plugin</artifactId>
Jorge Hernandezfb79f7a2017-08-31 00:09:45 -0500284 </plugin>
285
286 <plugin>
287 <groupId>org.onap.oparent</groupId>
288 <artifactId>version-check-maven-plugin</artifactId>
289 <executions>
290 <execution>
291 <id>version-check</id>
292 <phase/>
293 </execution>
294 </executions>
Jorge Hernandez1550fa82017-07-26 19:00:54 -0500295 </plugin>
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>