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 | <groupId>org.openecomp.policy.drools-pdp</groupId> |
| 27 | <artifactId>policy-core</artifactId> |
| 28 | <parent> |
| 29 | <groupId>org.openecomp.policy.drools-pdp</groupId> |
| 30 | <artifactId>drools-pdp</artifactId> |
| 31 | <version>1.0.0-SNAPSHOT</version> |
| 32 | </parent> |
| 33 | |
| 34 | <build> |
| 35 | <plugins> |
| 36 | <plugin> |
| 37 | <artifactId>maven-assembly-plugin</artifactId> |
| 38 | <version>2.6</version> |
| 39 | <executions> |
| 40 | <execution> |
| 41 | <id>zipfile</id> |
| 42 | <goals> |
| 43 | <goal>single</goal> |
| 44 | </goals> |
| 45 | <phase>package</phase> |
| 46 | <configuration> |
| 47 | <attach>true</attach> |
| 48 | <finalName>${project.artifactId}-${project.version}</finalName> |
| 49 | <descriptors> |
| 50 | <descriptor>src/assembly/assemble_zip.xml</descriptor> |
| 51 | </descriptors> |
| 52 | <appendAssemblyId>false</appendAssemblyId> |
| 53 | </configuration> |
| 54 | </execution> |
| 55 | </executions> |
| 56 | </plugin> |
| 57 | <plugin> |
| 58 | <groupId>org.apache.maven.plugins</groupId> |
| 59 | <artifactId>maven-dependency-plugin</artifactId> |
| 60 | <version>2.8</version> |
| 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>org.opendaylight,com.brocade.odl</excludeGroupIds> |
| 78 | <scope>provided</scope> |
| 79 | </configuration> |
| 80 | </execution> |
| 81 | </executions> |
| 82 | </plugin> |
| 83 | <plugin> |
| 84 | <artifactId>maven-resources-plugin</artifactId> |
| 85 | <version>2.6</version> |
| 86 | <executions> |
| 87 | <execution> |
| 88 | <id>copy-version</id> |
| 89 | <goals> |
| 90 | <goal>copy-resources</goal> |
| 91 | </goals> |
| 92 | <phase>validate</phase> |
| 93 | <configuration> |
| 94 | <outputDirectory>${basedir}/target/versions</outputDirectory> |
| 95 | <resources> |
| 96 | <resource> |
| 97 | <directory>src/main/resources/versions</directory> |
| 98 | <includes> |
| 99 | <include>version.properties</include> |
| 100 | </includes> |
| 101 | <filtering>true</filtering> |
| 102 | </resource> |
| 103 | </resources> |
| 104 | </configuration> |
| 105 | </execution> |
| 106 | <execution> |
| 107 | <id>copy-resources</id> |
| 108 | <goals> |
| 109 | <goal>copy-resources</goal> |
| 110 | </goals> |
| 111 | <phase>validate</phase> |
| 112 | <configuration> |
| 113 | <outputDirectory>${basedir}/target/etc/bvc-extensions</outputDirectory> |
| 114 | <resources> |
| 115 | <resource> |
| 116 | <directory>src/main/resources/etc/bvc-extensions</directory> |
| 117 | <includes> |
| 118 | <include>feature_config_template.cfg</include> |
| 119 | <include>feature_custom.install</include> |
| 120 | </includes> |
| 121 | <filtering>true</filtering> |
| 122 | </resource> |
| 123 | </resources> |
| 124 | </configuration> |
| 125 | </execution> |
| 126 | </executions> |
| 127 | </plugin> |
| 128 | </plugins> |
| 129 | </build> |
| 130 | |
| 131 | <dependencies> |
| 132 | <dependency> |
| 133 | <groupId>log4j</groupId> |
| 134 | <artifactId>log4j</artifactId> |
| 135 | <version>1.2.17</version> |
| 136 | </dependency> |
| 137 | <dependency> |
| 138 | <groupId>org.kie</groupId> |
| 139 | <artifactId>kie-api</artifactId> |
| 140 | <version>6.3.0.Final</version> |
| 141 | </dependency> |
| 142 | <dependency> |
| 143 | <groupId>org.kie</groupId> |
| 144 | <artifactId>kie-ci</artifactId> |
| 145 | <version>6.3.0.Final</version> |
| 146 | <scope>runtime</scope> |
| 147 | </dependency> |
| 148 | <dependency> |
| 149 | <groupId>org.drools</groupId> |
| 150 | <artifactId>drools-core</artifactId> |
| 151 | <version>6.3.0.Final</version> |
| 152 | <scope>runtime</scope> |
| 153 | </dependency> |
| 154 | <dependency> |
| 155 | <groupId>org.drools</groupId> |
| 156 | <artifactId>drools-persistence-jpa</artifactId> |
| 157 | <version>6.3.0.Final</version> |
| 158 | </dependency> |
| 159 | <dependency> |
| 160 | <!-- leave this for now, but will remove policy-utils at the end of conversion --> |
| 161 | <groupId>org.openecomp.policy.drools-pdp</groupId> |
| 162 | <artifactId>policy-utils</artifactId> |
| 163 | <version>1.0.0-SNAPSHOT</version> |
| 164 | </dependency> |
| 165 | <dependency> |
| 166 | <groupId>org.openecomp.policy.common</groupId> |
| 167 | <artifactId>ECOMP-Logging</artifactId> |
| 168 | <version>${common-modules.version}</version> |
| 169 | </dependency> |
| 170 | <dependency> |
| 171 | <groupId>org.openecomp.policy.common</groupId> |
| 172 | <artifactId>integrity-monitor</artifactId> |
| 173 | <version>${common-modules.version}</version> |
| 174 | </dependency> |
| 175 | <dependency> |
| 176 | <groupId>org.openecomp.policy.common</groupId> |
| 177 | <artifactId>integrity-audit</artifactId> |
| 178 | <version>${common-modules.version}</version> |
| 179 | </dependency> |
| 180 | <dependency> |
| 181 | <groupId>org.mariadb.jdbc</groupId> |
| 182 | <artifactId>mariadb-java-client</artifactId> |
| 183 | <version>1.2.3</version> |
| 184 | <scope>runtime</scope> |
| 185 | </dependency> |
| 186 | <dependency> |
| 187 | <groupId>com.h2database</groupId> |
| 188 | <artifactId>h2</artifactId> |
| 189 | <version>[1.4.186,)</version> |
| 190 | <scope>runtime</scope> |
| 191 | </dependency> |
| 192 | <dependency> |
| 193 | <groupId>org.apache.httpcomponents</groupId> |
| 194 | <artifactId>httpcore</artifactId> |
| 195 | <version>4.4.1</version> |
| 196 | </dependency> |
| 197 | <dependency> |
| 198 | <groupId>junit</groupId> |
| 199 | <artifactId>junit</artifactId> |
| 200 | <version>4.11</version> |
| 201 | <scope>test</scope> |
| 202 | </dependency> |
| 203 | <dependency> |
| 204 | <groupId>org.codehaus.btm</groupId> |
| 205 | <artifactId>btm</artifactId> |
| 206 | <version>2.1.4</version> |
| 207 | </dependency> |
| 208 | <dependency> |
| 209 | <groupId>org.eclipse.persistence</groupId> |
| 210 | <artifactId>eclipselink</artifactId> |
| 211 | <version>2.6.2</version> |
| 212 | </dependency> |
| 213 | <dependency> |
| 214 | <groupId>org.hibernate</groupId> |
| 215 | <artifactId>hibernate-entitymanager</artifactId> |
| 216 | <version>5.0.7.Final</version> |
| 217 | </dependency> |
| 218 | |
| 219 | <dependency> |
| 220 | <groupId>org.json</groupId> |
| 221 | <artifactId>json</artifactId> |
| 222 | <version>20160810</version> |
| 223 | </dependency> |
| 224 | </dependencies> |
| 225 | |
| 226 | <dependencyManagement> |
| 227 | <dependencies> |
| 228 | <dependency> |
| 229 | <groupId>org.apache.httpcomponents</groupId> |
| 230 | <artifactId>httpclient</artifactId> |
| 231 | <version>4.5</version> |
| 232 | </dependency> |
| 233 | </dependencies> |
| 234 | </dependencyManagement> |
| 235 | </project> |