Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame^] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ============LICENSE_START======================================================= |
| 4 | ECOMP Policy Engine - Drools PDP |
| 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> |
| 27 | <groupId>org.openecomp.policy.drools-pdp</groupId> |
| 28 | <artifactId>drools-pdp</artifactId> |
| 29 | <version>1.0.0-SNAPSHOT</version> |
| 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> |
| 40 | <jetty.version>9.3.8.v20160314</jetty.version> |
| 41 | <jersey.version>2.22.2</jersey.version> |
| 42 | <jackson.version>2.8.4</jackson.version> |
| 43 | <gson.version>2.8.0</gson.version> |
| 44 | </properties> |
| 45 | |
| 46 | |
| 47 | <build> |
| 48 | <plugins> |
| 49 | <plugin> |
| 50 | <artifactId>maven-assembly-plugin</artifactId> |
| 51 | <version>2.6</version> |
| 52 | <executions> |
| 53 | <execution> |
| 54 | <id>zipfile</id> |
| 55 | <goals> |
| 56 | <goal>single</goal> |
| 57 | </goals> |
| 58 | <phase>package</phase> |
| 59 | <configuration> |
| 60 | <attach>true</attach> |
| 61 | <finalName>${project.artifactId}-${project.version}</finalName> |
| 62 | <descriptors> |
| 63 | <descriptor>src/assembly/assemble_zip.xml</descriptor> |
| 64 | </descriptors> |
| 65 | <appendAssemblyId>false</appendAssemblyId> |
| 66 | </configuration> |
| 67 | </execution> |
| 68 | </executions> |
| 69 | </plugin> |
| 70 | <plugin> |
| 71 | <groupId>org.apache.maven.plugins</groupId> |
| 72 | <artifactId>maven-dependency-plugin</artifactId> |
| 73 | <version>2.8</version> |
| 74 | <executions> |
| 75 | <execution> |
| 76 | <id>copy-dependencies</id> |
| 77 | <goals> |
| 78 | <goal>copy-dependencies</goal> |
| 79 | </goals> |
| 80 | <phase>prepare-package</phase> |
| 81 | <configuration> |
| 82 | <transitive>false</transitive> |
| 83 | <outputDirectory>${project.build.directory}/assembly/lib</outputDirectory> |
| 84 | <overWriteReleases>false</overWriteReleases> |
| 85 | <overWriteSnapshots>true</overWriteSnapshots> |
| 86 | <overWriteIfNewer>true</overWriteIfNewer> |
| 87 | <useRepositoryLayout>false</useRepositoryLayout> |
| 88 | <addParentPoms>false</addParentPoms> |
| 89 | <copyPom>false</copyPom> |
| 90 | <excludeGroupIds>org.opendaylight,com.brocade.odl</excludeGroupIds> |
| 91 | <scope>provided</scope> |
| 92 | </configuration> |
| 93 | </execution> |
| 94 | </executions> |
| 95 | </plugin> |
| 96 | <plugin> |
| 97 | <artifactId>maven-resources-plugin</artifactId> |
| 98 | <version>2.6</version> |
| 99 | <executions> |
| 100 | <execution> |
| 101 | <id>copy-version</id> |
| 102 | <goals> |
| 103 | <goal>copy-resources</goal> |
| 104 | </goals> |
| 105 | <phase>validate</phase> |
| 106 | <configuration> |
| 107 | <outputDirectory>${basedir}/target/versions</outputDirectory> |
| 108 | <resources> |
| 109 | <resource> |
| 110 | <directory>src/main/resources/versions</directory> |
| 111 | <includes> |
| 112 | <include>version.properties</include> |
| 113 | </includes> |
| 114 | <filtering>true</filtering> |
| 115 | </resource> |
| 116 | </resources> |
| 117 | </configuration> |
| 118 | </execution> |
| 119 | <execution> |
| 120 | <id>copy-resources</id> |
| 121 | <goals> |
| 122 | <goal>copy-resources</goal> |
| 123 | </goals> |
| 124 | <phase>validate</phase> |
| 125 | <configuration> |
| 126 | <outputDirectory>${basedir}/target/etc/bvc-extensions</outputDirectory> |
| 127 | <resources> |
| 128 | <resource> |
| 129 | <directory>src/main/resources/etc/bvc-extensions</directory> |
| 130 | <includes> |
| 131 | <include>feature_config_template.cfg</include> |
| 132 | <include>feature_custom.install</include> |
| 133 | </includes> |
| 134 | <filtering>true</filtering> |
| 135 | </resource> |
| 136 | </resources> |
| 137 | </configuration> |
| 138 | </execution> |
| 139 | </executions> |
| 140 | </plugin> |
| 141 | </plugins> |
| 142 | </build> |
| 143 | |
| 144 | <dependencies> |
| 145 | |
| 146 | <dependency> |
| 147 | <groupId>org.openecomp.policy.drools-pdp</groupId> |
| 148 | <artifactId>policy-core</artifactId> |
| 149 | <version>1.0.0-SNAPSHOT</version> |
| 150 | </dependency> |
| 151 | |
| 152 | <dependency> |
| 153 | <groupId>org.openecomp.policy.drools-pdp</groupId> |
| 154 | <artifactId>policy-endpoints</artifactId> |
| 155 | <version>1.0.0-SNAPSHOT</version> |
| 156 | </dependency> |
| 157 | |
| 158 | <dependency> |
| 159 | <groupId>org.eclipse.jetty</groupId> |
| 160 | <artifactId>jetty-server</artifactId> |
| 161 | <version>${jetty.version}</version> |
| 162 | </dependency> |
| 163 | |
| 164 | <dependency> |
| 165 | <groupId>org.eclipse.jetty</groupId> |
| 166 | <artifactId>jetty-servlet</artifactId> |
| 167 | <version>${jetty.version}</version> |
| 168 | </dependency> |
| 169 | |
| 170 | <dependency> |
| 171 | <groupId>org.glassfish.jersey.core</groupId> |
| 172 | <artifactId>jersey-server</artifactId> |
| 173 | <version>${jersey.version}</version> |
| 174 | </dependency> |
| 175 | |
| 176 | <dependency> |
| 177 | <groupId>org.glassfish.jersey.containers</groupId> |
| 178 | <artifactId>jersey-container-servlet-core</artifactId> |
| 179 | <version>${jersey.version}</version> |
| 180 | </dependency> |
| 181 | |
| 182 | <dependency> |
| 183 | <groupId>org.glassfish.jersey.media</groupId> |
| 184 | <artifactId>jersey-media-json-jackson</artifactId> |
| 185 | <version>${jersey.version}</version> |
| 186 | </dependency> |
| 187 | |
| 188 | <dependency> |
| 189 | <groupId>org.glassfish.jersey.containers</groupId> |
| 190 | <artifactId>jersey-container-jetty-http</artifactId> |
| 191 | <version>${jersey.version}</version> |
| 192 | <exclusions> |
| 193 | <exclusion> |
| 194 | <groupId>org.eclipse.jetty</groupId> |
| 195 | <artifactId>jetty-util</artifactId> |
| 196 | </exclusion> |
| 197 | </exclusions> |
| 198 | </dependency> |
| 199 | |
| 200 | <dependency> |
| 201 | <groupId>com.fasterxml.jackson.core</groupId> |
| 202 | <artifactId>jackson-databind</artifactId> |
| 203 | <version>${jackson.version}</version> |
| 204 | </dependency> |
| 205 | |
| 206 | <dependency> |
| 207 | <groupId>com.fasterxml.jackson.datatype</groupId> |
| 208 | <artifactId>jackson-datatype-jsr310</artifactId> |
| 209 | <version>${jackson.version}</version> |
| 210 | </dependency> |
| 211 | |
| 212 | <dependency> |
| 213 | <groupId>com.fasterxml.jackson.core</groupId> |
| 214 | <artifactId>jackson-annotations</artifactId> |
| 215 | <version>${jackson.version}</version> |
| 216 | </dependency> |
| 217 | |
| 218 | <dependency> |
| 219 | <groupId>com.google.code.gson</groupId> |
| 220 | <artifactId>gson</artifactId> |
| 221 | <version>${gson.version}</version> |
| 222 | </dependency> |
| 223 | |
| 224 | <dependency> |
| 225 | <groupId>com.fatboyindustrial.gson-javatime-serialisers</groupId> |
| 226 | <artifactId>gson-javatime-serialisers</artifactId> |
| 227 | <version>1.1.1</version> |
| 228 | </dependency> |
| 229 | |
| 230 | <dependency> |
| 231 | <groupId>org.apache.commons</groupId> |
| 232 | <artifactId>commons-collections4</artifactId> |
| 233 | <version>4.1</version> |
| 234 | </dependency> |
| 235 | |
| 236 | <!-- This entry is necessary to support import "org.apache.commons.lang3.time.DateUtils" |
| 237 | reference in StandbyStateManagementTest.java --> |
| 238 | <dependency> |
| 239 | <groupId>org.apache.commons</groupId> |
| 240 | <artifactId>commons-lang3</artifactId> |
| 241 | <version>3.4</version> |
| 242 | </dependency> |
| 243 | |
| 244 | <dependency> |
| 245 | <groupId>log4j</groupId> |
| 246 | <artifactId>log4j</artifactId> |
| 247 | <version>1.2.17</version> |
| 248 | </dependency> |
| 249 | |
| 250 | <dependency> |
| 251 | <groupId>junit</groupId> |
| 252 | <artifactId>junit</artifactId> |
| 253 | <version>4.11</version> |
| 254 | <scope>test</scope> |
| 255 | </dependency> |
| 256 | |
| 257 | </dependencies> |
| 258 | |
| 259 | </project> |