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. |
RossC | c50265a | 2020-06-30 15:57:07 +0100 | [diff] [blame] | 7 | Modifications Copyright (C) 2020 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> |
Taka Cho | 633fbb7 | 2020-07-10 15:09:52 -0400 | [diff] [blame] | 29 | <version>1.7.1-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 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 37 | <build> |
| 38 | <plugins> |
| 39 | <plugin> |
| 40 | <artifactId>maven-assembly-plugin</artifactId> |
| 41 | <executions> |
| 42 | <execution> |
| 43 | <id>zipfile</id> |
| 44 | <goals> |
| 45 | <goal>single</goal> |
| 46 | </goals> |
| 47 | <phase>package</phase> |
| 48 | <configuration> |
| 49 | <attach>true</attach> |
| 50 | <finalName>${project.artifactId}-${project.version}</finalName> |
| 51 | <descriptors> |
| 52 | <descriptor>src/assembly/assemble_zip.xml</descriptor> |
| 53 | </descriptors> |
| 54 | <appendAssemblyId>false</appendAssemblyId> |
| 55 | </configuration> |
| 56 | </execution> |
| 57 | </executions> |
| 58 | </plugin> |
| 59 | <plugin> |
| 60 | <groupId>org.apache.maven.plugins</groupId> |
| 61 | <artifactId>maven-dependency-plugin</artifactId> |
| 62 | <executions> |
| 63 | <execution> |
| 64 | <id>copy-dependencies</id> |
| 65 | <goals> |
| 66 | <goal>copy-dependencies</goal> |
| 67 | </goals> |
| 68 | <phase>prepare-package</phase> |
| 69 | <configuration> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 70 | <outputDirectory>${project.build.directory}/assembly/lib</outputDirectory> |
| 71 | <overWriteReleases>false</overWriteReleases> |
| 72 | <overWriteSnapshots>true</overWriteSnapshots> |
| 73 | <overWriteIfNewer>true</overWriteIfNewer> |
| 74 | <useRepositoryLayout>false</useRepositoryLayout> |
| 75 | <addParentPoms>false</addParentPoms> |
| 76 | <copyPom>false</copyPom> |
| 77 | <excludeGroupIds>javax.inject</excludeGroupIds> |
| 78 | <includeScope>runtime</includeScope> |
| 79 | </configuration> |
| 80 | </execution> |
| 81 | </executions> |
| 82 | </plugin> |
| 83 | <plugin> |
| 84 | <artifactId>maven-resources-plugin</artifactId> |
| 85 | <executions> |
| 86 | <execution> |
| 87 | <id>copy-version</id> |
| 88 | <goals> |
| 89 | <goal>copy-resources</goal> |
| 90 | </goals> |
| 91 | <phase>validate</phase> |
| 92 | <configuration> |
| 93 | <outputDirectory>${basedir}/target/versions</outputDirectory> |
| 94 | <resources> |
| 95 | <resource> |
| 96 | <directory>src/main/resources/versions</directory> |
| 97 | <includes> |
| 98 | <include>version.properties</include> |
| 99 | </includes> |
| 100 | <filtering>true</filtering> |
| 101 | </resource> |
| 102 | </resources> |
| 103 | </configuration> |
| 104 | </execution> |
| 105 | <execution> |
| 106 | <id>copy-resources</id> |
| 107 | <goals> |
| 108 | <goal>copy-resources</goal> |
| 109 | </goals> |
| 110 | <phase>validate</phase> |
| 111 | <configuration> |
| 112 | <outputDirectory>${basedir}/target/etc/bvc-extensions</outputDirectory> |
| 113 | <resources> |
| 114 | <resource> |
| 115 | <directory>src/main/resources/etc/bvc-extensions</directory> |
| 116 | <includes> |
| 117 | <include>feature_config_template.cfg</include> |
| 118 | <include>feature_custom.install</include> |
| 119 | </includes> |
| 120 | <filtering>true</filtering> |
| 121 | </resource> |
| 122 | </resources> |
| 123 | </configuration> |
| 124 | </execution> |
| 125 | </executions> |
| 126 | </plugin> |
Pamela Dragosh | a0e0c78 | 2018-09-28 04:58:26 -0400 | [diff] [blame] | 127 | <plugin> |
| 128 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 129 | <executions> |
| 130 | <execution> |
| 131 | <id>onap-java-style</id> |
| 132 | <goals> |
| 133 | <goal>check</goal> |
| 134 | </goals> |
| 135 | <phase>process-sources</phase> |
| 136 | <configuration> |
Jim Hahn | 5049707 | 2019-02-08 13:22:06 -0500 | [diff] [blame] | 137 | <!-- 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] | 138 | with minor changes --> |
| 139 | <configLocation>onap-checkstyle/onap-java-style.xml</configLocation> |
| 140 | <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory --> |
Hockla, Ali (ah999m) | 956a7b5 | 2020-01-13 14:11:46 -0600 | [diff] [blame] | 141 | <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories> |
Pamela Dragosh | a0e0c78 | 2018-09-28 04:58:26 -0400 | [diff] [blame] | 142 | <includeResources>true</includeResources> |
| 143 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 144 | <includeTestResources>true</includeTestResources> |
| 145 | <excludes> |
| 146 | </excludes> |
Pamela Dragosh | a0e0c78 | 2018-09-28 04:58:26 -0400 | [diff] [blame] | 147 | <consoleOutput>true</consoleOutput> |
Pamela Dragosh | a0e0c78 | 2018-09-28 04:58:26 -0400 | [diff] [blame] | 148 | <violationSeverity>warning</violationSeverity> |
| 149 | </configuration> |
| 150 | </execution> |
| 151 | </executions> |
| 152 | <dependencies> |
| 153 | <dependency> |
| 154 | <groupId>org.onap.oparent</groupId> |
| 155 | <artifactId>checkstyle</artifactId> |
| 156 | <version>${oparent.version}</version> |
| 157 | <scope>compile</scope> |
| 158 | </dependency> |
| 159 | </dependencies> |
| 160 | </plugin> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 161 | </plugins> |
| 162 | </build> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 163 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 164 | <dependencies> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 165 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 166 | <dependency> |
| 167 | <groupId>org.onap.policy.drools-pdp</groupId> |
| 168 | <artifactId>policy-core</artifactId> |
| 169 | <version>${project.version}</version> |
| 170 | </dependency> |
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> |
jhh | 3f563fe | 2020-03-05 22:32:58 -0600 | [diff] [blame] | 173 | <groupId>org.onap.policy.drools-pdp</groupId> |
| 174 | <artifactId>policy-domains</artifactId> |
| 175 | <version>${project.version}</version> |
| 176 | </dependency> |
| 177 | |
| 178 | <dependency> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 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> |
Jorge Hernandez | 964b127 | 2019-03-28 01:12:10 -0500 | [diff] [blame] | 185 | <groupId>org.onap.policy.models</groupId> |
| 186 | <artifactId>policy-models-pdp</artifactId> |
| 187 | <version>${policy.models.version}</version> |
| 188 | </dependency> |
| 189 | |
| 190 | <dependency> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 191 | <groupId>org.eclipse.jetty</groupId> |
| 192 | <artifactId>jetty-server</artifactId> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 193 | </dependency> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 194 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 195 | <dependency> |
| 196 | <groupId>org.eclipse.jetty</groupId> |
| 197 | <artifactId>jetty-servlet</artifactId> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 198 | </dependency> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 199 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 200 | <dependency> |
Jim Hahn | cb8557e | 2019-02-15 12:24:14 -0500 | [diff] [blame] | 201 | <groupId>org.onap.policy.common</groupId> |
| 202 | <artifactId>gson</artifactId> |
| 203 | <version>${policy.common.version}</version> |
| 204 | </dependency> |
| 205 | |
| 206 | <dependency> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 207 | <groupId>com.google.code.gson</groupId> |
| 208 | <artifactId>gson</artifactId> |
| 209 | </dependency> |
| 210 | |
| 211 | <dependency> |
| 212 | <groupId>com.fatboyindustrial.gson-javatime-serialisers</groupId> |
| 213 | <artifactId>gson-javatime-serialisers</artifactId> |
| 214 | <version>1.1.1</version> |
| 215 | </dependency> |
RossC | c50265a | 2020-06-30 15:57:07 +0100 | [diff] [blame] | 216 | |
Daniel Cruz | fa2a5a4 | 2019-02-14 00:42:45 -0600 | [diff] [blame] | 217 | <dependency> |
| 218 | <groupId>com.jayway.jsonpath</groupId> |
| 219 | <artifactId>json-path</artifactId> |
| 220 | </dependency> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 221 | |
| 222 | <dependency> |
| 223 | <groupId>org.apache.commons</groupId> |
| 224 | <artifactId>commons-collections4</artifactId> |
RossC | c50265a | 2020-06-30 15:57:07 +0100 | [diff] [blame] | 225 | <version>4.4</version> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 226 | </dependency> |
Jim Hahn | 5049707 | 2019-02-08 13:22:06 -0500 | [diff] [blame] | 227 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 228 | <!-- if we don't explicitly specify the version here, we seem to end up |
| 229 | 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] | 230 | not compatible with 'saClientLibrary' version 1.2.1-oss |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 231 | --> |
| 232 | <dependency> |
| 233 | <groupId>commons-codec</groupId> |
| 234 | <artifactId>commons-codec</artifactId> |
| 235 | </dependency> |
| 236 | |
| 237 | <dependency> |
| 238 | <groupId>ch.qos.logback</groupId> |
| 239 | <artifactId>logback-classic</artifactId> |
| 240 | </dependency> |
| 241 | |
| 242 | <dependency> |
| 243 | <groupId>junit</groupId> |
| 244 | <artifactId>junit</artifactId> |
| 245 | <scope>test</scope> |
| 246 | </dependency> |
Jim Hahn | 5049707 | 2019-02-08 13:22:06 -0500 | [diff] [blame] | 247 | |
Jim Hahn | 08dc9c3 | 2018-10-02 16:46:57 -0400 | [diff] [blame] | 248 | <dependency> |
| 249 | <groupId>org.powermock</groupId> |
Hockla, Ali (ah999m) | 956a7b5 | 2020-01-13 14:11:46 -0600 | [diff] [blame] | 250 | <artifactId>powermock-api-mockito2</artifactId> |
Jim Hahn | 08dc9c3 | 2018-10-02 16:46:57 -0400 | [diff] [blame] | 251 | <scope>test</scope> |
| 252 | </dependency> |
| 253 | |
| 254 | <dependency> |
| 255 | <groupId>org.onap.policy.common</groupId> |
| 256 | <artifactId>utils-test</artifactId> |
ramverma | 5bf8486 | 2018-10-24 19:35:48 +0100 | [diff] [blame] | 257 | <version>${policy.common.version}</version> |
Jim Hahn | 08dc9c3 | 2018-10-02 16:46:57 -0400 | [diff] [blame] | 258 | <scope>test</scope> |
| 259 | </dependency> |
Jim Hahn | 5049707 | 2019-02-08 13:22:06 -0500 | [diff] [blame] | 260 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 261 | <!-- |
| 262 | The following dependencies are for features and drools |
| 263 | applications usage |
| 264 | --> |
| 265 | |
| 266 | <dependency> |
| 267 | <groupId>org.eclipse.persistence</groupId> |
| 268 | <artifactId>eclipselink</artifactId> |
| 269 | </dependency> |
| 270 | |
| 271 | <dependency> |
| 272 | <groupId>org.eclipse.persistence</groupId> |
| 273 | <artifactId>org.eclipse.persistence.jpa</artifactId> |
| 274 | </dependency> |
| 275 | |
| 276 | <dependency> |
| 277 | <groupId>org.mariadb.jdbc</groupId> |
| 278 | <artifactId>mariadb-java-client</artifactId> |
| 279 | </dependency> |
| 280 | |
| 281 | <dependency> |
| 282 | <groupId>org.hibernate</groupId> |
| 283 | <artifactId>hibernate-core</artifactId> |
| 284 | </dependency> |
| 285 | |
| 286 | <dependency> |
| 287 | <groupId>org.hibernate.common</groupId> |
| 288 | <artifactId>hibernate-commons-annotations</artifactId> |
| 289 | </dependency> |
| 290 | |
| 291 | <dependency> |
| 292 | <groupId>commons-io</groupId> |
| 293 | <artifactId>commons-io</artifactId> |
| 294 | </dependency> |
| 295 | |
Jim Hahn | 5049707 | 2019-02-08 13:22:06 -0500 | [diff] [blame] | 296 | <dependency> |
| 297 | <groupId>org.assertj</groupId> |
| 298 | <artifactId>assertj-core</artifactId> |
| 299 | <scope>test</scope> |
| 300 | </dependency> |
| 301 | |
Jim Hahn | 59e9b9a | 2019-08-14 17:31:50 -0400 | [diff] [blame] | 302 | <dependency> |
| 303 | <groupId>org.awaitility</groupId> |
| 304 | <artifactId>awaitility</artifactId> |
Jim Hahn | 59e9b9a | 2019-08-14 17:31:50 -0400 | [diff] [blame] | 305 | <scope>test</scope> |
| 306 | </dependency> |
| 307 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 308 | </dependencies> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 309 | </project> |