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 | ================================================================================ |
| 6 | Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. |
| 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 |
| 11 | |
| 12 | http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | |
| 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 | |
| 22 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 23 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 24 | <modelVersion>4.0.0</modelVersion> |
| 25 | |
| 26 | <parent> |
Guo Ruijing | 6abeb29 | 2017-07-28 08:23:01 +0000 | [diff] [blame] | 27 | <groupId>org.onap.policy.drools-pdp</groupId> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 28 | <artifactId>drools-pdp</artifactId> |
Pamela Dragosh | 998f0b3 | 2017-03-10 14:31:17 -0500 | [diff] [blame] | 29 | <version>1.1.0-SNAPSHOT</version> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 30 | </parent> |
| 31 | |
| 32 | <artifactId>policy-management</artifactId> |
| 33 | |
| 34 | <name>policy-management</name> |
| 35 | <description>Policy Management</description> |
| 36 | |
| 37 | <properties> |
| 38 | <maven.compiler.source>1.8</maven.compiler.source> |
| 39 | <maven.compiler.target>1.8</maven.compiler.target> |
Ralph Straubs | 5bd9ff4 | 2017-04-21 04:23:55 -0500 | [diff] [blame] | 40 | <jetty.version>9.3.14.v20161028</jetty.version> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 41 | <gson.version>2.8.0</gson.version> |
| 42 | </properties> |
| 43 | |
| 44 | |
| 45 | <build> |
| 46 | <plugins> |
| 47 | <plugin> |
| 48 | <artifactId>maven-assembly-plugin</artifactId> |
| 49 | <version>2.6</version> |
| 50 | <executions> |
| 51 | <execution> |
| 52 | <id>zipfile</id> |
| 53 | <goals> |
| 54 | <goal>single</goal> |
| 55 | </goals> |
| 56 | <phase>package</phase> |
| 57 | <configuration> |
| 58 | <attach>true</attach> |
| 59 | <finalName>${project.artifactId}-${project.version}</finalName> |
| 60 | <descriptors> |
| 61 | <descriptor>src/assembly/assemble_zip.xml</descriptor> |
| 62 | </descriptors> |
| 63 | <appendAssemblyId>false</appendAssemblyId> |
| 64 | </configuration> |
| 65 | </execution> |
| 66 | </executions> |
| 67 | </plugin> |
| 68 | <plugin> |
| 69 | <groupId>org.apache.maven.plugins</groupId> |
| 70 | <artifactId>maven-dependency-plugin</artifactId> |
| 71 | <version>2.8</version> |
| 72 | <executions> |
| 73 | <execution> |
| 74 | <id>copy-dependencies</id> |
| 75 | <goals> |
| 76 | <goal>copy-dependencies</goal> |
| 77 | </goals> |
| 78 | <phase>prepare-package</phase> |
| 79 | <configuration> |
| 80 | <transitive>false</transitive> |
| 81 | <outputDirectory>${project.build.directory}/assembly/lib</outputDirectory> |
| 82 | <overWriteReleases>false</overWriteReleases> |
| 83 | <overWriteSnapshots>true</overWriteSnapshots> |
| 84 | <overWriteIfNewer>true</overWriteIfNewer> |
| 85 | <useRepositoryLayout>false</useRepositoryLayout> |
| 86 | <addParentPoms>false</addParentPoms> |
| 87 | <copyPom>false</copyPom> |
Ralph Straubs | 5bd9ff4 | 2017-04-21 04:23:55 -0500 | [diff] [blame] | 88 | <excludeGroupIds>javax.inject</excludeGroupIds> |
Jorge Hernandez | f9f086c | 2017-08-15 19:12:25 -0500 | [diff] [blame] | 89 | <includeScope>runtime</includeScope> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 90 | </configuration> |
| 91 | </execution> |
| 92 | </executions> |
| 93 | </plugin> |
| 94 | <plugin> |
| 95 | <artifactId>maven-resources-plugin</artifactId> |
| 96 | <version>2.6</version> |
| 97 | <executions> |
| 98 | <execution> |
| 99 | <id>copy-version</id> |
| 100 | <goals> |
| 101 | <goal>copy-resources</goal> |
| 102 | </goals> |
| 103 | <phase>validate</phase> |
| 104 | <configuration> |
| 105 | <outputDirectory>${basedir}/target/versions</outputDirectory> |
| 106 | <resources> |
| 107 | <resource> |
| 108 | <directory>src/main/resources/versions</directory> |
| 109 | <includes> |
| 110 | <include>version.properties</include> |
| 111 | </includes> |
| 112 | <filtering>true</filtering> |
| 113 | </resource> |
| 114 | </resources> |
| 115 | </configuration> |
| 116 | </execution> |
| 117 | <execution> |
| 118 | <id>copy-resources</id> |
| 119 | <goals> |
| 120 | <goal>copy-resources</goal> |
| 121 | </goals> |
| 122 | <phase>validate</phase> |
| 123 | <configuration> |
| 124 | <outputDirectory>${basedir}/target/etc/bvc-extensions</outputDirectory> |
| 125 | <resources> |
| 126 | <resource> |
| 127 | <directory>src/main/resources/etc/bvc-extensions</directory> |
| 128 | <includes> |
| 129 | <include>feature_config_template.cfg</include> |
| 130 | <include>feature_custom.install</include> |
| 131 | </includes> |
| 132 | <filtering>true</filtering> |
| 133 | </resource> |
| 134 | </resources> |
| 135 | </configuration> |
| 136 | </execution> |
| 137 | </executions> |
| 138 | </plugin> |
| 139 | </plugins> |
| 140 | </build> |
| 141 | |
| 142 | <dependencies> |
| 143 | |
| 144 | <dependency> |
Guo Ruijing | 6abeb29 | 2017-07-28 08:23:01 +0000 | [diff] [blame] | 145 | <groupId>org.onap.policy.drools-pdp</groupId> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 146 | <artifactId>policy-core</artifactId> |
Pamela Dragosh | 998f0b3 | 2017-03-10 14:31:17 -0500 | [diff] [blame] | 147 | <version>${project.version}</version> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 148 | </dependency> |
| 149 | |
| 150 | <dependency> |
Guo Ruijing | 6abeb29 | 2017-07-28 08:23:01 +0000 | [diff] [blame] | 151 | <groupId>org.onap.policy.drools-pdp</groupId> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 152 | <artifactId>policy-endpoints</artifactId> |
Pamela Dragosh | 998f0b3 | 2017-03-10 14:31:17 -0500 | [diff] [blame] | 153 | <version>${project.version}</version> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 154 | </dependency> |
| 155 | |
| 156 | <dependency> |
| 157 | <groupId>org.eclipse.jetty</groupId> |
| 158 | <artifactId>jetty-server</artifactId> |
| 159 | <version>${jetty.version}</version> |
| 160 | </dependency> |
| 161 | |
| 162 | <dependency> |
| 163 | <groupId>org.eclipse.jetty</groupId> |
| 164 | <artifactId>jetty-servlet</artifactId> |
| 165 | <version>${jetty.version}</version> |
| 166 | </dependency> |
| 167 | |
| 168 | <dependency> |
| 169 | <groupId>org.glassfish.jersey.core</groupId> |
| 170 | <artifactId>jersey-server</artifactId> |
| 171 | <version>${jersey.version}</version> |
| 172 | </dependency> |
| 173 | |
| 174 | <dependency> |
| 175 | <groupId>org.glassfish.jersey.containers</groupId> |
| 176 | <artifactId>jersey-container-servlet-core</artifactId> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 177 | </dependency> |
| 178 | |
| 179 | <dependency> |
| 180 | <groupId>org.glassfish.jersey.media</groupId> |
| 181 | <artifactId>jersey-media-json-jackson</artifactId> |
| 182 | <version>${jersey.version}</version> |
| 183 | </dependency> |
| 184 | |
| 185 | <dependency> |
| 186 | <groupId>org.glassfish.jersey.containers</groupId> |
| 187 | <artifactId>jersey-container-jetty-http</artifactId> |
| 188 | <version>${jersey.version}</version> |
| 189 | <exclusions> |
| 190 | <exclusion> |
| 191 | <groupId>org.eclipse.jetty</groupId> |
| 192 | <artifactId>jetty-util</artifactId> |
| 193 | </exclusion> |
| 194 | </exclusions> |
| 195 | </dependency> |
| 196 | |
| 197 | <dependency> |
Jorge Hernandez | 881c32e | 2017-05-25 16:44:15 -0500 | [diff] [blame] | 198 | <groupId>io.swagger</groupId> |
| 199 | <artifactId>swagger-jersey2-jaxrs</artifactId> |
| 200 | </dependency> |
| 201 | |
| 202 | <dependency> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 203 | <groupId>com.fasterxml.jackson.core</groupId> |
| 204 | <artifactId>jackson-databind</artifactId> |
| 205 | <version>${jackson.version}</version> |
| 206 | </dependency> |
| 207 | |
| 208 | <dependency> |
| 209 | <groupId>com.fasterxml.jackson.datatype</groupId> |
| 210 | <artifactId>jackson-datatype-jsr310</artifactId> |
| 211 | <version>${jackson.version}</version> |
| 212 | </dependency> |
| 213 | |
| 214 | <dependency> |
| 215 | <groupId>com.fasterxml.jackson.core</groupId> |
| 216 | <artifactId>jackson-annotations</artifactId> |
| 217 | <version>${jackson.version}</version> |
Jorge Hernandez | 881c32e | 2017-05-25 16:44:15 -0500 | [diff] [blame] | 218 | </dependency> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 219 | |
| 220 | <dependency> |
| 221 | <groupId>com.google.code.gson</groupId> |
| 222 | <artifactId>gson</artifactId> |
| 223 | <version>${gson.version}</version> |
| 224 | </dependency> |
| 225 | |
| 226 | <dependency> |
| 227 | <groupId>com.fatboyindustrial.gson-javatime-serialisers</groupId> |
| 228 | <artifactId>gson-javatime-serialisers</artifactId> |
| 229 | <version>1.1.1</version> |
| 230 | </dependency> |
| 231 | |
| 232 | <dependency> |
| 233 | <groupId>org.apache.commons</groupId> |
| 234 | <artifactId>commons-collections4</artifactId> |
| 235 | <version>4.1</version> |
| 236 | </dependency> |
| 237 | |
Jorge Hernandez | 9e69cc2 | 2017-06-26 08:05:30 -0500 | [diff] [blame] | 238 | <dependency> |
| 239 | <groupId>ch.qos.logback</groupId> |
| 240 | <artifactId>logback-classic</artifactId> |
| 241 | </dependency> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 242 | |
Jorge Hernandez | f9f086c | 2017-08-15 19:12:25 -0500 | [diff] [blame] | 243 | <dependency> |
| 244 | <groupId>junit</groupId> |
| 245 | <artifactId>junit</artifactId> |
| 246 | <scope>test</scope> |
| 247 | </dependency> |
| 248 | |
| 249 | <!-- |
| 250 | The following dependencies are for features and drools |
| 251 | applications usage |
| 252 | --> |
| 253 | |
| 254 | <dependency> |
| 255 | <groupId>org.eclipse.persistence</groupId> |
| 256 | <artifactId>eclipselink</artifactId> |
| 257 | </dependency> |
| 258 | |
| 259 | <dependency> |
| 260 | <groupId>org.mariadb.jdbc</groupId> |
| 261 | <artifactId>mariadb-java-client</artifactId> |
| 262 | </dependency> |
Jorge Hernandez | 0c40914 | 2017-08-16 12:41:11 -0500 | [diff] [blame] | 263 | |
| 264 | <dependency> |
| 265 | <groupId>org.hibernate</groupId> |
| 266 | <artifactId>hibernate-core</artifactId> |
| 267 | </dependency> |
| 268 | |
| 269 | <dependency> |
| 270 | <groupId>org.hibernate.common</groupId> |
| 271 | <artifactId>hibernate-commons-annotations</artifactId> |
| 272 | </dependency> |
| 273 | |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 274 | </dependencies> |
| 275 | |
| 276 | </project> |