blob: 4f777cc62eda8f0ff355f8a81340506156fc6301 [file] [log] [blame]
Pamela Dragosh0e16acf2017-02-14 19:45:48 -05001<?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
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050026 <artifactId>policy-core</artifactId>
27 <parent>
28 <groupId>org.openecomp.policy.drools-pdp</groupId>
29 <artifactId>drools-pdp</artifactId>
Pamela Dragoshf1efc422017-03-10 12:48:17 -050030 <version>1.0.0</version>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050031 </parent>
32
33 <build>
34 <plugins>
35 <plugin>
36 <artifactId>maven-assembly-plugin</artifactId>
37 <version>2.6</version>
38 <executions>
39 <execution>
40 <id>zipfile</id>
41 <goals>
42 <goal>single</goal>
43 </goals>
44 <phase>package</phase>
45 <configuration>
46 <attach>true</attach>
47 <finalName>${project.artifactId}-${project.version}</finalName>
48 <descriptors>
49 <descriptor>src/assembly/assemble_zip.xml</descriptor>
50 </descriptors>
51 <appendAssemblyId>false</appendAssemblyId>
52 </configuration>
53 </execution>
54 </executions>
55 </plugin>
56 <plugin>
57 <groupId>org.apache.maven.plugins</groupId>
58 <artifactId>maven-dependency-plugin</artifactId>
59 <version>2.8</version>
60 <executions>
61 <execution>
62 <id>copy-dependencies</id>
63 <goals>
64 <goal>copy-dependencies</goal>
65 </goals>
66 <phase>prepare-package</phase>
67 <configuration>
68 <transitive>false</transitive>
69 <outputDirectory>${project.build.directory}/assembly/lib</outputDirectory>
70 <overWriteReleases>false</overWriteReleases>
71 <overWriteSnapshots>true</overWriteSnapshots>
72 <overWriteIfNewer>true</overWriteIfNewer>
73 <useRepositoryLayout>false</useRepositoryLayout>
74 <addParentPoms>false</addParentPoms>
75 <copyPom>false</copyPom>
76 <excludeGroupIds>org.opendaylight,com.brocade.odl</excludeGroupIds>
77 <scope>provided</scope>
78 </configuration>
79 </execution>
80 </executions>
81 </plugin>
82 <plugin>
83 <artifactId>maven-resources-plugin</artifactId>
84 <version>2.6</version>
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>
127 </plugins>
128 </build>
129
130 <dependencies>
131 <dependency>
132 <groupId>log4j</groupId>
133 <artifactId>log4j</artifactId>
134 <version>1.2.17</version>
135 </dependency>
136 <dependency>
137 <groupId>org.kie</groupId>
138 <artifactId>kie-api</artifactId>
139 <version>6.3.0.Final</version>
140 </dependency>
141 <dependency>
142 <groupId>org.kie</groupId>
143 <artifactId>kie-ci</artifactId>
144 <version>6.3.0.Final</version>
145 <scope>runtime</scope>
146 </dependency>
147 <dependency>
148 <groupId>org.drools</groupId>
149 <artifactId>drools-core</artifactId>
150 <version>6.3.0.Final</version>
151 <scope>runtime</scope>
152 </dependency>
153 <dependency>
154 <groupId>org.drools</groupId>
155 <artifactId>drools-persistence-jpa</artifactId>
156 <version>6.3.0.Final</version>
157 </dependency>
158 <dependency>
159 <!-- leave this for now, but will remove policy-utils at the end of conversion -->
160 <groupId>org.openecomp.policy.drools-pdp</groupId>
161 <artifactId>policy-utils</artifactId>
Pamela Dragoshf1efc422017-03-10 12:48:17 -0500162 <version>1.0.0</version>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500163 </dependency>
164 <dependency>
165 <groupId>org.openecomp.policy.common</groupId>
166 <artifactId>ECOMP-Logging</artifactId>
167 <version>${common-modules.version}</version>
168 </dependency>
169 <dependency>
170 <groupId>org.openecomp.policy.common</groupId>
171 <artifactId>integrity-monitor</artifactId>
172 <version>${common-modules.version}</version>
173 </dependency>
174 <dependency>
175 <groupId>org.openecomp.policy.common</groupId>
176 <artifactId>integrity-audit</artifactId>
177 <version>${common-modules.version}</version>
178 </dependency>
179 <dependency>
180 <groupId>org.mariadb.jdbc</groupId>
181 <artifactId>mariadb-java-client</artifactId>
182 <version>1.2.3</version>
183 <scope>runtime</scope>
184 </dependency>
185 <dependency>
186 <groupId>com.h2database</groupId>
187 <artifactId>h2</artifactId>
188 <version>[1.4.186,)</version>
189 <scope>runtime</scope>
190 </dependency>
191 <dependency>
192 <groupId>org.apache.httpcomponents</groupId>
193 <artifactId>httpcore</artifactId>
194 <version>4.4.1</version>
195 </dependency>
196 <dependency>
197 <groupId>junit</groupId>
198 <artifactId>junit</artifactId>
199 <version>4.11</version>
200 <scope>test</scope>
201 </dependency>
202 <dependency>
203 <groupId>org.codehaus.btm</groupId>
204 <artifactId>btm</artifactId>
205 <version>2.1.4</version>
206 </dependency>
207 <dependency>
208 <groupId>org.eclipse.persistence</groupId>
209 <artifactId>eclipselink</artifactId>
210 <version>2.6.2</version>
211 </dependency>
212 <dependency>
213 <groupId>org.hibernate</groupId>
214 <artifactId>hibernate-entitymanager</artifactId>
215 <version>5.0.7.Final</version>
216 </dependency>
217
218 <dependency>
219 <groupId>org.json</groupId>
220 <artifactId>json</artifactId>
221 <version>20160810</version>
222 </dependency>
223 </dependencies>
224
225 <dependencyManagement>
226 <dependencies>
227 <dependency>
228 <groupId>org.apache.httpcomponents</groupId>
229 <artifactId>httpclient</artifactId>
230 <version>4.5</version>
231 </dependency>
232 </dependencies>
233 </dependencyManagement>
234</project>