Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ============LICENSE_START======================================================= |
Guo Ruijing | 6abeb29 | 2017-07-28 08:23:01 +0000 | [diff] [blame] | 4 | ONAP Policy Engine - Drools PDP |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 5 | ================================================================================ |
Jim Hahn | 5049707 | 2019-02-08 13:22:06 -0500 | [diff] [blame] | 6 | Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved. |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 7 | ================================================================================ |
| 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 |
Jim Hahn | 5049707 | 2019-02-08 13:22:06 -0500 | [diff] [blame] | 11 | |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 12 | http://www.apache.org/licenses/LICENSE-2.0 |
Jim Hahn | 5049707 | 2019-02-08 13:22:06 -0500 | [diff] [blame] | 13 | |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 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 | |
liamfallon | 9920020 | 2018-10-31 16:00:08 +0000 | [diff] [blame] | 22 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 23 | <modelVersion>4.0.0</modelVersion> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 24 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 25 | <parent> |
| 26 | <groupId>org.onap.policy.drools-pdp</groupId> |
| 27 | <artifactId>drools-pdp</artifactId> |
liamfallon | 9920020 | 2018-10-31 16:00:08 +0000 | [diff] [blame] | 28 | <version>1.4.0-SNAPSHOT</version> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 29 | </parent> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 30 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 31 | <artifactId>policy-management</artifactId> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 32 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 33 | <name>policy-management</name> |
| 34 | <description>Policy Management</description> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 35 | |
Jim Hahn | 2b13a1c | 2019-02-18 11:59:42 -0500 | [diff] [blame] | 36 | <properties> |
| 37 | <jackson.version>2.9.5</jackson.version> |
| 38 | </properties> |
| 39 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 40 | <build> |
| 41 | <plugins> |
| 42 | <plugin> |
| 43 | <artifactId>maven-assembly-plugin</artifactId> |
| 44 | <executions> |
| 45 | <execution> |
| 46 | <id>zipfile</id> |
| 47 | <goals> |
| 48 | <goal>single</goal> |
| 49 | </goals> |
| 50 | <phase>package</phase> |
| 51 | <configuration> |
| 52 | <attach>true</attach> |
| 53 | <finalName>${project.artifactId}-${project.version}</finalName> |
| 54 | <descriptors> |
| 55 | <descriptor>src/assembly/assemble_zip.xml</descriptor> |
| 56 | </descriptors> |
| 57 | <appendAssemblyId>false</appendAssemblyId> |
| 58 | </configuration> |
| 59 | </execution> |
| 60 | </executions> |
| 61 | </plugin> |
| 62 | <plugin> |
| 63 | <groupId>org.apache.maven.plugins</groupId> |
| 64 | <artifactId>maven-dependency-plugin</artifactId> |
| 65 | <executions> |
| 66 | <execution> |
| 67 | <id>copy-dependencies</id> |
| 68 | <goals> |
| 69 | <goal>copy-dependencies</goal> |
| 70 | </goals> |
| 71 | <phase>prepare-package</phase> |
| 72 | <configuration> |
| 73 | <transitive>false</transitive> |
| 74 | <outputDirectory>${project.build.directory}/assembly/lib</outputDirectory> |
| 75 | <overWriteReleases>false</overWriteReleases> |
| 76 | <overWriteSnapshots>true</overWriteSnapshots> |
| 77 | <overWriteIfNewer>true</overWriteIfNewer> |
| 78 | <useRepositoryLayout>false</useRepositoryLayout> |
| 79 | <addParentPoms>false</addParentPoms> |
| 80 | <copyPom>false</copyPom> |
| 81 | <excludeGroupIds>javax.inject</excludeGroupIds> |
| 82 | <includeScope>runtime</includeScope> |
| 83 | </configuration> |
| 84 | </execution> |
| 85 | </executions> |
| 86 | </plugin> |
| 87 | <plugin> |
| 88 | <artifactId>maven-resources-plugin</artifactId> |
| 89 | <executions> |
| 90 | <execution> |
| 91 | <id>copy-version</id> |
| 92 | <goals> |
| 93 | <goal>copy-resources</goal> |
| 94 | </goals> |
| 95 | <phase>validate</phase> |
| 96 | <configuration> |
| 97 | <outputDirectory>${basedir}/target/versions</outputDirectory> |
| 98 | <resources> |
| 99 | <resource> |
| 100 | <directory>src/main/resources/versions</directory> |
| 101 | <includes> |
| 102 | <include>version.properties</include> |
| 103 | </includes> |
| 104 | <filtering>true</filtering> |
| 105 | </resource> |
| 106 | </resources> |
| 107 | </configuration> |
| 108 | </execution> |
| 109 | <execution> |
| 110 | <id>copy-resources</id> |
| 111 | <goals> |
| 112 | <goal>copy-resources</goal> |
| 113 | </goals> |
| 114 | <phase>validate</phase> |
| 115 | <configuration> |
| 116 | <outputDirectory>${basedir}/target/etc/bvc-extensions</outputDirectory> |
| 117 | <resources> |
| 118 | <resource> |
| 119 | <directory>src/main/resources/etc/bvc-extensions</directory> |
| 120 | <includes> |
| 121 | <include>feature_config_template.cfg</include> |
| 122 | <include>feature_custom.install</include> |
| 123 | </includes> |
| 124 | <filtering>true</filtering> |
| 125 | </resource> |
| 126 | </resources> |
| 127 | </configuration> |
| 128 | </execution> |
| 129 | </executions> |
| 130 | </plugin> |
Pamela Dragosh | a0e0c78 | 2018-09-28 04:58:26 -0400 | [diff] [blame] | 131 | <plugin> |
| 132 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 133 | <executions> |
| 134 | <execution> |
| 135 | <id>onap-java-style</id> |
| 136 | <goals> |
| 137 | <goal>check</goal> |
| 138 | </goals> |
| 139 | <phase>process-sources</phase> |
| 140 | <configuration> |
Jim Hahn | 5049707 | 2019-02-08 13:22:06 -0500 | [diff] [blame] | 141 | <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml |
Pamela Dragosh | a0e0c78 | 2018-09-28 04:58:26 -0400 | [diff] [blame] | 142 | with minor changes --> |
| 143 | <configLocation>onap-checkstyle/onap-java-style.xml</configLocation> |
| 144 | <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory --> |
| 145 | <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory> |
| 146 | <includeResources>true</includeResources> |
| 147 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 148 | <includeTestResources>true</includeTestResources> |
| 149 | <excludes> |
| 150 | </excludes> |
| 151 | <suppressionsLocation>${project.baseUri}checkstyle-suppressions.xml</suppressionsLocation> |
| 152 | <consoleOutput>true</consoleOutput> |
| 153 | <failsOnViolation>true</failsOnViolation> |
| 154 | <violationSeverity>warning</violationSeverity> |
| 155 | </configuration> |
| 156 | </execution> |
| 157 | </executions> |
| 158 | <dependencies> |
| 159 | <dependency> |
| 160 | <groupId>org.onap.oparent</groupId> |
| 161 | <artifactId>checkstyle</artifactId> |
| 162 | <version>${oparent.version}</version> |
| 163 | <scope>compile</scope> |
| 164 | </dependency> |
| 165 | </dependencies> |
| 166 | </plugin> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 167 | </plugins> |
| 168 | </build> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 169 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 170 | <dependencies> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 171 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 172 | <dependency> |
| 173 | <groupId>org.onap.policy.drools-pdp</groupId> |
| 174 | <artifactId>policy-core</artifactId> |
| 175 | <version>${project.version}</version> |
| 176 | </dependency> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 177 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 178 | <dependency> |
| 179 | <groupId>org.onap.policy.common</groupId> |
| 180 | <artifactId>policy-endpoints</artifactId> |
ramverma | 5bf8486 | 2018-10-24 19:35:48 +0100 | [diff] [blame] | 181 | <version>${policy.common.version}</version> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 182 | </dependency> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 183 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 184 | <dependency> |
| 185 | <groupId>org.eclipse.jetty</groupId> |
| 186 | <artifactId>jetty-server</artifactId> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 187 | </dependency> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 188 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 189 | <dependency> |
| 190 | <groupId>org.eclipse.jetty</groupId> |
| 191 | <artifactId>jetty-servlet</artifactId> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 192 | </dependency> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 193 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 194 | <dependency> |
| 195 | <groupId>org.glassfish.jersey.core</groupId> |
| 196 | <artifactId>jersey-server</artifactId> |
| 197 | <version>${jersey.version}</version> |
| 198 | </dependency> |
Jorge Hernandez | 0c40914 | 2017-08-16 12:41:11 -0500 | [diff] [blame] | 199 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 200 | <dependency> |
| 201 | <groupId>org.glassfish.jersey.containers</groupId> |
| 202 | <artifactId>jersey-container-servlet-core</artifactId> |
| 203 | </dependency> |
Jorge Hernandez | 0c40914 | 2017-08-16 12:41:11 -0500 | [diff] [blame] | 204 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 205 | <dependency> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 206 | <groupId>org.glassfish.jersey.containers</groupId> |
| 207 | <artifactId>jersey-container-jetty-http</artifactId> |
| 208 | <version>${jersey.version}</version> |
| 209 | <exclusions> |
| 210 | <exclusion> |
| 211 | <groupId>org.eclipse.jetty</groupId> |
| 212 | <artifactId>jetty-util</artifactId> |
| 213 | </exclusion> |
| 214 | </exclusions> |
| 215 | </dependency> |
| 216 | |
| 217 | <dependency> |
| 218 | <groupId>io.swagger</groupId> |
| 219 | <artifactId>swagger-jersey2-jaxrs</artifactId> |
| 220 | </dependency> |
| 221 | |
| 222 | <dependency> |
| 223 | <groupId>com.fasterxml.jackson.core</groupId> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 224 | <artifactId>jackson-annotations</artifactId> |
| 225 | <version>${jackson.version}</version> |
| 226 | </dependency> |
| 227 | |
| 228 | <dependency> |
Jim Hahn | cb8557e | 2019-02-15 12:24:14 -0500 | [diff] [blame] | 229 | <groupId>org.onap.policy.common</groupId> |
| 230 | <artifactId>gson</artifactId> |
| 231 | <version>${policy.common.version}</version> |
| 232 | </dependency> |
| 233 | |
| 234 | <dependency> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 235 | <groupId>com.google.code.gson</groupId> |
| 236 | <artifactId>gson</artifactId> |
| 237 | </dependency> |
| 238 | |
| 239 | <dependency> |
| 240 | <groupId>com.fatboyindustrial.gson-javatime-serialisers</groupId> |
| 241 | <artifactId>gson-javatime-serialisers</artifactId> |
| 242 | <version>1.1.1</version> |
| 243 | </dependency> |
Daniel Cruz | fa2a5a4 | 2019-02-14 00:42:45 -0600 | [diff] [blame] | 244 | |
| 245 | <dependency> |
| 246 | <groupId>com.jayway.jsonpath</groupId> |
| 247 | <artifactId>json-path</artifactId> |
| 248 | </dependency> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 249 | |
| 250 | <dependency> |
| 251 | <groupId>org.apache.commons</groupId> |
| 252 | <artifactId>commons-collections4</artifactId> |
| 253 | <version>4.1</version> |
| 254 | </dependency> |
Jim Hahn | 5049707 | 2019-02-08 13:22:06 -0500 | [diff] [blame] | 255 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 256 | <!-- if we don't explicitly specify the version here, we seem to end up |
| 257 | with version 1.4 (as a dependency to drools-core). This version is |
Jim Hahn | 5049707 | 2019-02-08 13:22:06 -0500 | [diff] [blame] | 258 | not compatible with 'saClientLibrary' version 1.2.1-oss |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 259 | --> |
| 260 | <dependency> |
| 261 | <groupId>commons-codec</groupId> |
| 262 | <artifactId>commons-codec</artifactId> |
| 263 | </dependency> |
| 264 | |
| 265 | <dependency> |
| 266 | <groupId>ch.qos.logback</groupId> |
| 267 | <artifactId>logback-classic</artifactId> |
| 268 | </dependency> |
| 269 | |
| 270 | <dependency> |
| 271 | <groupId>junit</groupId> |
| 272 | <artifactId>junit</artifactId> |
| 273 | <scope>test</scope> |
| 274 | </dependency> |
Jim Hahn | 5049707 | 2019-02-08 13:22:06 -0500 | [diff] [blame] | 275 | |
Jim Hahn | 08dc9c3 | 2018-10-02 16:46:57 -0400 | [diff] [blame] | 276 | <dependency> |
| 277 | <groupId>org.powermock</groupId> |
| 278 | <artifactId>powermock-api-mockito</artifactId> |
| 279 | <scope>test</scope> |
| 280 | </dependency> |
| 281 | |
| 282 | <dependency> |
| 283 | <groupId>org.onap.policy.common</groupId> |
| 284 | <artifactId>utils-test</artifactId> |
ramverma | 5bf8486 | 2018-10-24 19:35:48 +0100 | [diff] [blame] | 285 | <version>${policy.common.version}</version> |
Jim Hahn | 08dc9c3 | 2018-10-02 16:46:57 -0400 | [diff] [blame] | 286 | <scope>test</scope> |
| 287 | </dependency> |
Jim Hahn | 5049707 | 2019-02-08 13:22:06 -0500 | [diff] [blame] | 288 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 289 | <!-- |
| 290 | The following dependencies are for features and drools |
| 291 | applications usage |
| 292 | --> |
| 293 | |
| 294 | <dependency> |
| 295 | <groupId>org.eclipse.persistence</groupId> |
| 296 | <artifactId>eclipselink</artifactId> |
| 297 | </dependency> |
| 298 | |
| 299 | <dependency> |
| 300 | <groupId>org.eclipse.persistence</groupId> |
| 301 | <artifactId>org.eclipse.persistence.jpa</artifactId> |
| 302 | </dependency> |
| 303 | |
| 304 | <dependency> |
| 305 | <groupId>org.mariadb.jdbc</groupId> |
| 306 | <artifactId>mariadb-java-client</artifactId> |
| 307 | </dependency> |
| 308 | |
| 309 | <dependency> |
| 310 | <groupId>org.hibernate</groupId> |
| 311 | <artifactId>hibernate-core</artifactId> |
| 312 | </dependency> |
| 313 | |
| 314 | <dependency> |
| 315 | <groupId>org.hibernate.common</groupId> |
| 316 | <artifactId>hibernate-commons-annotations</artifactId> |
| 317 | </dependency> |
| 318 | |
| 319 | <dependency> |
| 320 | <groupId>commons-io</groupId> |
| 321 | <artifactId>commons-io</artifactId> |
| 322 | </dependency> |
| 323 | |
Jim Hahn | 5049707 | 2019-02-08 13:22:06 -0500 | [diff] [blame] | 324 | <dependency> |
| 325 | <groupId>org.assertj</groupId> |
| 326 | <artifactId>assertj-core</artifactId> |
| 327 | <scope>test</scope> |
| 328 | </dependency> |
| 329 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 330 | </dependencies> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 331 | </project> |