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 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 36 | <build> |
| 37 | <plugins> |
| 38 | <plugin> |
| 39 | <artifactId>maven-assembly-plugin</artifactId> |
| 40 | <executions> |
| 41 | <execution> |
| 42 | <id>zipfile</id> |
| 43 | <goals> |
| 44 | <goal>single</goal> |
| 45 | </goals> |
| 46 | <phase>package</phase> |
| 47 | <configuration> |
| 48 | <attach>true</attach> |
| 49 | <finalName>${project.artifactId}-${project.version}</finalName> |
| 50 | <descriptors> |
| 51 | <descriptor>src/assembly/assemble_zip.xml</descriptor> |
| 52 | </descriptors> |
| 53 | <appendAssemblyId>false</appendAssemblyId> |
| 54 | </configuration> |
| 55 | </execution> |
| 56 | </executions> |
| 57 | </plugin> |
| 58 | <plugin> |
| 59 | <groupId>org.apache.maven.plugins</groupId> |
| 60 | <artifactId>maven-dependency-plugin</artifactId> |
| 61 | <executions> |
| 62 | <execution> |
| 63 | <id>copy-dependencies</id> |
| 64 | <goals> |
| 65 | <goal>copy-dependencies</goal> |
| 66 | </goals> |
| 67 | <phase>prepare-package</phase> |
| 68 | <configuration> |
| 69 | <transitive>false</transitive> |
| 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 --> |
| 141 | <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory> |
| 142 | <includeResources>true</includeResources> |
| 143 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 144 | <includeTestResources>true</includeTestResources> |
| 145 | <excludes> |
| 146 | </excludes> |
| 147 | <suppressionsLocation>${project.baseUri}checkstyle-suppressions.xml</suppressionsLocation> |
| 148 | <consoleOutput>true</consoleOutput> |
| 149 | <failsOnViolation>true</failsOnViolation> |
| 150 | <violationSeverity>warning</violationSeverity> |
| 151 | </configuration> |
| 152 | </execution> |
| 153 | </executions> |
| 154 | <dependencies> |
| 155 | <dependency> |
| 156 | <groupId>org.onap.oparent</groupId> |
| 157 | <artifactId>checkstyle</artifactId> |
| 158 | <version>${oparent.version}</version> |
| 159 | <scope>compile</scope> |
| 160 | </dependency> |
| 161 | </dependencies> |
| 162 | </plugin> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 163 | </plugins> |
| 164 | </build> |
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 | <dependencies> |
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 | <dependency> |
| 169 | <groupId>org.onap.policy.drools-pdp</groupId> |
| 170 | <artifactId>policy-core</artifactId> |
| 171 | <version>${project.version}</version> |
| 172 | </dependency> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 173 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 174 | <dependency> |
| 175 | <groupId>org.onap.policy.common</groupId> |
| 176 | <artifactId>policy-endpoints</artifactId> |
ramverma | 5bf8486 | 2018-10-24 19:35:48 +0100 | [diff] [blame] | 177 | <version>${policy.common.version}</version> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 178 | </dependency> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 179 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 180 | <dependency> |
| 181 | <groupId>org.eclipse.jetty</groupId> |
| 182 | <artifactId>jetty-server</artifactId> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 183 | </dependency> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 184 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 185 | <dependency> |
| 186 | <groupId>org.eclipse.jetty</groupId> |
| 187 | <artifactId>jetty-servlet</artifactId> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 188 | </dependency> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 189 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 190 | <dependency> |
| 191 | <groupId>org.glassfish.jersey.core</groupId> |
| 192 | <artifactId>jersey-server</artifactId> |
| 193 | <version>${jersey.version}</version> |
| 194 | </dependency> |
Jorge Hernandez | 0c40914 | 2017-08-16 12:41:11 -0500 | [diff] [blame] | 195 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 196 | <dependency> |
| 197 | <groupId>org.glassfish.jersey.containers</groupId> |
| 198 | <artifactId>jersey-container-servlet-core</artifactId> |
| 199 | </dependency> |
Jorge Hernandez | 0c40914 | 2017-08-16 12:41:11 -0500 | [diff] [blame] | 200 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 201 | <dependency> |
| 202 | <groupId>org.glassfish.jersey.media</groupId> |
| 203 | <artifactId>jersey-media-json-jackson</artifactId> |
| 204 | <version>${jersey.version}</version> |
| 205 | </dependency> |
| 206 | |
| 207 | <dependency> |
| 208 | <groupId>org.glassfish.jersey.containers</groupId> |
| 209 | <artifactId>jersey-container-jetty-http</artifactId> |
| 210 | <version>${jersey.version}</version> |
| 211 | <exclusions> |
| 212 | <exclusion> |
| 213 | <groupId>org.eclipse.jetty</groupId> |
| 214 | <artifactId>jetty-util</artifactId> |
| 215 | </exclusion> |
| 216 | </exclusions> |
| 217 | </dependency> |
| 218 | |
| 219 | <dependency> |
| 220 | <groupId>io.swagger</groupId> |
| 221 | <artifactId>swagger-jersey2-jaxrs</artifactId> |
| 222 | </dependency> |
| 223 | |
| 224 | <dependency> |
| 225 | <groupId>com.fasterxml.jackson.core</groupId> |
| 226 | <artifactId>jackson-databind</artifactId> |
| 227 | <version>${jackson.version}</version> |
| 228 | </dependency> |
| 229 | |
| 230 | <dependency> |
| 231 | <groupId>com.fasterxml.jackson.datatype</groupId> |
| 232 | <artifactId>jackson-datatype-jsr310</artifactId> |
| 233 | <version>${jackson.version}</version> |
| 234 | </dependency> |
| 235 | |
| 236 | <dependency> |
| 237 | <groupId>com.fasterxml.jackson.core</groupId> |
| 238 | <artifactId>jackson-annotations</artifactId> |
| 239 | <version>${jackson.version}</version> |
| 240 | </dependency> |
| 241 | |
| 242 | <dependency> |
| 243 | <groupId>com.google.code.gson</groupId> |
| 244 | <artifactId>gson</artifactId> |
| 245 | </dependency> |
| 246 | |
| 247 | <dependency> |
| 248 | <groupId>com.fatboyindustrial.gson-javatime-serialisers</groupId> |
| 249 | <artifactId>gson-javatime-serialisers</artifactId> |
| 250 | <version>1.1.1</version> |
| 251 | </dependency> |
| 252 | |
| 253 | <dependency> |
| 254 | <groupId>org.apache.commons</groupId> |
| 255 | <artifactId>commons-collections4</artifactId> |
| 256 | <version>4.1</version> |
| 257 | </dependency> |
Jim Hahn | 5049707 | 2019-02-08 13:22:06 -0500 | [diff] [blame^] | 258 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 259 | <!-- if we don't explicitly specify the version here, we seem to end up |
| 260 | 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^] | 261 | not compatible with 'saClientLibrary' version 1.2.1-oss |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 262 | --> |
| 263 | <dependency> |
| 264 | <groupId>commons-codec</groupId> |
| 265 | <artifactId>commons-codec</artifactId> |
| 266 | </dependency> |
| 267 | |
| 268 | <dependency> |
| 269 | <groupId>ch.qos.logback</groupId> |
| 270 | <artifactId>logback-classic</artifactId> |
| 271 | </dependency> |
| 272 | |
| 273 | <dependency> |
| 274 | <groupId>junit</groupId> |
| 275 | <artifactId>junit</artifactId> |
| 276 | <scope>test</scope> |
| 277 | </dependency> |
Jim Hahn | 5049707 | 2019-02-08 13:22:06 -0500 | [diff] [blame^] | 278 | |
Jim Hahn | 08dc9c3 | 2018-10-02 16:46:57 -0400 | [diff] [blame] | 279 | <dependency> |
| 280 | <groupId>org.powermock</groupId> |
| 281 | <artifactId>powermock-api-mockito</artifactId> |
| 282 | <scope>test</scope> |
| 283 | </dependency> |
| 284 | |
| 285 | <dependency> |
| 286 | <groupId>org.onap.policy.common</groupId> |
| 287 | <artifactId>utils-test</artifactId> |
ramverma | 5bf8486 | 2018-10-24 19:35:48 +0100 | [diff] [blame] | 288 | <version>${policy.common.version}</version> |
Jim Hahn | 08dc9c3 | 2018-10-02 16:46:57 -0400 | [diff] [blame] | 289 | <scope>test</scope> |
| 290 | </dependency> |
Jim Hahn | 5049707 | 2019-02-08 13:22:06 -0500 | [diff] [blame^] | 291 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 292 | <!-- |
| 293 | The following dependencies are for features and drools |
| 294 | applications usage |
| 295 | --> |
| 296 | |
| 297 | <dependency> |
| 298 | <groupId>org.eclipse.persistence</groupId> |
| 299 | <artifactId>eclipselink</artifactId> |
| 300 | </dependency> |
| 301 | |
| 302 | <dependency> |
| 303 | <groupId>org.eclipse.persistence</groupId> |
| 304 | <artifactId>org.eclipse.persistence.jpa</artifactId> |
| 305 | </dependency> |
| 306 | |
| 307 | <dependency> |
| 308 | <groupId>org.mariadb.jdbc</groupId> |
| 309 | <artifactId>mariadb-java-client</artifactId> |
| 310 | </dependency> |
| 311 | |
| 312 | <dependency> |
| 313 | <groupId>org.hibernate</groupId> |
| 314 | <artifactId>hibernate-core</artifactId> |
| 315 | </dependency> |
| 316 | |
| 317 | <dependency> |
| 318 | <groupId>org.hibernate.common</groupId> |
| 319 | <artifactId>hibernate-commons-annotations</artifactId> |
| 320 | </dependency> |
| 321 | |
| 322 | <dependency> |
| 323 | <groupId>commons-io</groupId> |
| 324 | <artifactId>commons-io</artifactId> |
| 325 | </dependency> |
| 326 | |
Jim Hahn | 5049707 | 2019-02-08 13:22:06 -0500 | [diff] [blame^] | 327 | <dependency> |
| 328 | <groupId>org.assertj</groupId> |
| 329 | <artifactId>assertj-core</artifactId> |
| 330 | <scope>test</scope> |
| 331 | </dependency> |
| 332 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 333 | </dependencies> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 334 | |
| 335 | </project> |