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 | ================================================================================ |
Hockla, Ali (ah999m) | 956a7b5 | 2020-01-13 14:11:46 -0600 | [diff] [blame] | 6 | Copyright (C) 2017-2020 AT&T Intellectual Property. All rights reserved. |
liamfallon | eb70ba3 | 2019-11-01 12:01:13 +0000 | [diff] [blame] | 7 | Modifications Copyright (C) 2019 Nordix Foundation. |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 8 | ================================================================================ |
| 9 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 10 | you may not use this file except in compliance with the License. |
| 11 | You may obtain a copy of the License at |
Jim Hahn | 5049707 | 2019-02-08 13:22:06 -0500 | [diff] [blame] | 12 | |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 13 | http://www.apache.org/licenses/LICENSE-2.0 |
Jim Hahn | 5049707 | 2019-02-08 13:22:06 -0500 | [diff] [blame] | 14 | |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 15 | Unless required by applicable law or agreed to in writing, software |
| 16 | distributed under the License is distributed on an "AS IS" BASIS, |
| 17 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 18 | See the License for the specific language governing permissions and |
| 19 | limitations under the License. |
| 20 | ============LICENSE_END========================================================= |
| 21 | --> |
| 22 | |
liamfallon | 9920020 | 2018-10-31 16:00:08 +0000 | [diff] [blame] | 23 | <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] | 24 | <modelVersion>4.0.0</modelVersion> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 25 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 26 | <parent> |
| 27 | <groupId>org.onap.policy.drools-pdp</groupId> |
| 28 | <artifactId>drools-pdp</artifactId> |
Jim Hahn | 89a8e32 | 2019-09-10 11:22:40 -0400 | [diff] [blame] | 29 | <version>1.6.0-SNAPSHOT</version> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 30 | </parent> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 31 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 32 | <artifactId>policy-management</artifactId> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 33 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 34 | <name>policy-management</name> |
| 35 | <description>Policy Management</description> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 36 | |
Jim Hahn | 2b13a1c | 2019-02-18 11:59:42 -0500 | [diff] [blame] | 37 | <properties> |
| 38 | <jackson.version>2.9.5</jackson.version> |
| 39 | </properties> |
| 40 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 41 | <build> |
| 42 | <plugins> |
| 43 | <plugin> |
| 44 | <artifactId>maven-assembly-plugin</artifactId> |
| 45 | <executions> |
| 46 | <execution> |
| 47 | <id>zipfile</id> |
| 48 | <goals> |
| 49 | <goal>single</goal> |
| 50 | </goals> |
| 51 | <phase>package</phase> |
| 52 | <configuration> |
| 53 | <attach>true</attach> |
| 54 | <finalName>${project.artifactId}-${project.version}</finalName> |
| 55 | <descriptors> |
| 56 | <descriptor>src/assembly/assemble_zip.xml</descriptor> |
| 57 | </descriptors> |
| 58 | <appendAssemblyId>false</appendAssemblyId> |
| 59 | </configuration> |
| 60 | </execution> |
| 61 | </executions> |
| 62 | </plugin> |
| 63 | <plugin> |
| 64 | <groupId>org.apache.maven.plugins</groupId> |
| 65 | <artifactId>maven-dependency-plugin</artifactId> |
| 66 | <executions> |
| 67 | <execution> |
| 68 | <id>copy-dependencies</id> |
| 69 | <goals> |
| 70 | <goal>copy-dependencies</goal> |
| 71 | </goals> |
| 72 | <phase>prepare-package</phase> |
| 73 | <configuration> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 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 --> |
Hockla, Ali (ah999m) | 956a7b5 | 2020-01-13 14:11:46 -0600 | [diff] [blame] | 145 | <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories> |
Pamela Dragosh | a0e0c78 | 2018-09-28 04:58:26 -0400 | [diff] [blame] | 146 | <includeResources>true</includeResources> |
| 147 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 148 | <includeTestResources>true</includeTestResources> |
| 149 | <excludes> |
| 150 | </excludes> |
Pamela Dragosh | a0e0c78 | 2018-09-28 04:58:26 -0400 | [diff] [blame] | 151 | <consoleOutput>true</consoleOutput> |
Pamela Dragosh | a0e0c78 | 2018-09-28 04:58:26 -0400 | [diff] [blame] | 152 | <violationSeverity>warning</violationSeverity> |
| 153 | </configuration> |
| 154 | </execution> |
| 155 | </executions> |
| 156 | <dependencies> |
| 157 | <dependency> |
| 158 | <groupId>org.onap.oparent</groupId> |
| 159 | <artifactId>checkstyle</artifactId> |
| 160 | <version>${oparent.version}</version> |
| 161 | <scope>compile</scope> |
| 162 | </dependency> |
| 163 | </dependencies> |
| 164 | </plugin> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 165 | </plugins> |
| 166 | </build> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 167 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 168 | <dependencies> |
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 | <dependency> |
| 171 | <groupId>org.onap.policy.drools-pdp</groupId> |
| 172 | <artifactId>policy-core</artifactId> |
| 173 | <version>${project.version}</version> |
| 174 | </dependency> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 175 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 176 | <dependency> |
| 177 | <groupId>org.onap.policy.common</groupId> |
| 178 | <artifactId>policy-endpoints</artifactId> |
ramverma | 5bf8486 | 2018-10-24 19:35:48 +0100 | [diff] [blame] | 179 | <version>${policy.common.version}</version> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 180 | </dependency> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 181 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 182 | <dependency> |
Jorge Hernandez | 964b127 | 2019-03-28 01:12:10 -0500 | [diff] [blame] | 183 | <groupId>org.onap.policy.models</groupId> |
| 184 | <artifactId>policy-models-pdp</artifactId> |
| 185 | <version>${policy.models.version}</version> |
| 186 | </dependency> |
| 187 | |
| 188 | <dependency> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 189 | <groupId>org.eclipse.jetty</groupId> |
| 190 | <artifactId>jetty-server</artifactId> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 191 | </dependency> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 192 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 193 | <dependency> |
| 194 | <groupId>org.eclipse.jetty</groupId> |
| 195 | <artifactId>jetty-servlet</artifactId> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 196 | </dependency> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 197 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 198 | <dependency> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 199 | <groupId>com.fasterxml.jackson.core</groupId> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 200 | <artifactId>jackson-annotations</artifactId> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 201 | </dependency> |
| 202 | |
| 203 | <dependency> |
Jim Hahn | cb8557e | 2019-02-15 12:24:14 -0500 | [diff] [blame] | 204 | <groupId>org.onap.policy.common</groupId> |
| 205 | <artifactId>gson</artifactId> |
| 206 | <version>${policy.common.version}</version> |
| 207 | </dependency> |
| 208 | |
| 209 | <dependency> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 210 | <groupId>com.google.code.gson</groupId> |
| 211 | <artifactId>gson</artifactId> |
| 212 | </dependency> |
| 213 | |
| 214 | <dependency> |
| 215 | <groupId>com.fatboyindustrial.gson-javatime-serialisers</groupId> |
| 216 | <artifactId>gson-javatime-serialisers</artifactId> |
| 217 | <version>1.1.1</version> |
| 218 | </dependency> |
Daniel Cruz | fa2a5a4 | 2019-02-14 00:42:45 -0600 | [diff] [blame] | 219 | |
| 220 | <dependency> |
| 221 | <groupId>com.jayway.jsonpath</groupId> |
| 222 | <artifactId>json-path</artifactId> |
| 223 | </dependency> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 224 | |
| 225 | <dependency> |
| 226 | <groupId>org.apache.commons</groupId> |
| 227 | <artifactId>commons-collections4</artifactId> |
| 228 | <version>4.1</version> |
| 229 | </dependency> |
Jim Hahn | 5049707 | 2019-02-08 13:22:06 -0500 | [diff] [blame] | 230 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 231 | <!-- if we don't explicitly specify the version here, we seem to end up |
| 232 | 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] | 233 | not compatible with 'saClientLibrary' version 1.2.1-oss |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 234 | --> |
| 235 | <dependency> |
| 236 | <groupId>commons-codec</groupId> |
| 237 | <artifactId>commons-codec</artifactId> |
| 238 | </dependency> |
| 239 | |
| 240 | <dependency> |
| 241 | <groupId>ch.qos.logback</groupId> |
| 242 | <artifactId>logback-classic</artifactId> |
| 243 | </dependency> |
| 244 | |
| 245 | <dependency> |
| 246 | <groupId>junit</groupId> |
| 247 | <artifactId>junit</artifactId> |
| 248 | <scope>test</scope> |
| 249 | </dependency> |
Jim Hahn | 5049707 | 2019-02-08 13:22:06 -0500 | [diff] [blame] | 250 | |
Jim Hahn | 08dc9c3 | 2018-10-02 16:46:57 -0400 | [diff] [blame] | 251 | <dependency> |
| 252 | <groupId>org.powermock</groupId> |
Hockla, Ali (ah999m) | 956a7b5 | 2020-01-13 14:11:46 -0600 | [diff] [blame] | 253 | <artifactId>powermock-api-mockito2</artifactId> |
Jim Hahn | 08dc9c3 | 2018-10-02 16:46:57 -0400 | [diff] [blame] | 254 | <scope>test</scope> |
| 255 | </dependency> |
| 256 | |
| 257 | <dependency> |
| 258 | <groupId>org.onap.policy.common</groupId> |
| 259 | <artifactId>utils-test</artifactId> |
ramverma | 5bf8486 | 2018-10-24 19:35:48 +0100 | [diff] [blame] | 260 | <version>${policy.common.version}</version> |
Jim Hahn | 08dc9c3 | 2018-10-02 16:46:57 -0400 | [diff] [blame] | 261 | <scope>test</scope> |
| 262 | </dependency> |
Jim Hahn | 5049707 | 2019-02-08 13:22:06 -0500 | [diff] [blame] | 263 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 264 | <!-- |
| 265 | The following dependencies are for features and drools |
| 266 | applications usage |
| 267 | --> |
| 268 | |
| 269 | <dependency> |
| 270 | <groupId>org.eclipse.persistence</groupId> |
| 271 | <artifactId>eclipselink</artifactId> |
| 272 | </dependency> |
| 273 | |
| 274 | <dependency> |
| 275 | <groupId>org.eclipse.persistence</groupId> |
| 276 | <artifactId>org.eclipse.persistence.jpa</artifactId> |
| 277 | </dependency> |
| 278 | |
| 279 | <dependency> |
| 280 | <groupId>org.mariadb.jdbc</groupId> |
| 281 | <artifactId>mariadb-java-client</artifactId> |
| 282 | </dependency> |
| 283 | |
| 284 | <dependency> |
| 285 | <groupId>org.hibernate</groupId> |
| 286 | <artifactId>hibernate-core</artifactId> |
| 287 | </dependency> |
| 288 | |
| 289 | <dependency> |
| 290 | <groupId>org.hibernate.common</groupId> |
| 291 | <artifactId>hibernate-commons-annotations</artifactId> |
| 292 | </dependency> |
| 293 | |
| 294 | <dependency> |
| 295 | <groupId>commons-io</groupId> |
| 296 | <artifactId>commons-io</artifactId> |
| 297 | </dependency> |
| 298 | |
Jim Hahn | 5049707 | 2019-02-08 13:22:06 -0500 | [diff] [blame] | 299 | <dependency> |
| 300 | <groupId>org.assertj</groupId> |
| 301 | <artifactId>assertj-core</artifactId> |
| 302 | <scope>test</scope> |
| 303 | </dependency> |
| 304 | |
Jim Hahn | 59e9b9a | 2019-08-14 17:31:50 -0400 | [diff] [blame] | 305 | <dependency> |
| 306 | <groupId>org.awaitility</groupId> |
| 307 | <artifactId>awaitility</artifactId> |
Jim Hahn | 59e9b9a | 2019-08-14 17:31:50 -0400 | [diff] [blame] | 308 | <scope>test</scope> |
| 309 | </dependency> |
| 310 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 311 | </dependencies> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 312 | </project> |