Bump drools-pdp to 1.5.1-SNAPSHOT
[policy/drools-pdp.git] / feature-distributed-locking / pom.xml
1 <!--
2   ============LICENSE_START=======================================================
3   ONAP Policy Engine - Drools PDP
4   ================================================================================
5   Copyright (C) 2018 AT&T Intellectual Property. All rights reserved.
6   ================================================================================
7   Licensed under the Apache License, Version 2.0 (the "License");
8   you may not use this file except in compliance with the License.
9   You may obtain a copy of the License at
10   
11        http://www.apache.org/licenses/LICENSE-2.0
12   
13   Unless required by applicable law or agreed to in writing, software
14   distributed under the License is distributed on an "AS IS" BASIS,
15   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16   See the License for the specific language governing permissions and
17   limitations under the License.
18   ============LICENSE_END=========================================================
19   -->
20
21 <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/xsd/maven-4.0.0.xsd">
22
23     <modelVersion>4.0.0</modelVersion>
24
25     <parent>
26         <groupId>org.onap.policy.drools-pdp</groupId>
27         <artifactId>drools-pdp</artifactId>
28         <version>1.5.1-SNAPSHOT</version>
29     </parent>
30
31     <artifactId>feature-distributed-locking</artifactId>
32
33     <name>feature-distributed-locking</name>
34     <description>Loadable module that provides distributed locking capability</description>
35
36     <properties>
37         <maven.compiler.source>1.8</maven.compiler.source>
38         <maven.compiler.target>1.8</maven.compiler.target>
39     </properties>
40
41     <build>
42         <plugins>
43             <plugin>
44                 <artifactId>maven-assembly-plugin</artifactId>
45                 <executions>
46                     <execution>
47                         <id>zipfile</id>
48                         <goals>
49                             <goal>single</goal>
50                         </goals>
51                         <phase>package</phase>
52                         <configuration>
53                             <attach>true</attach>
54                             <finalName>${project.artifactId}-${project.version}</finalName>
55                             <descriptors>
56                                 <descriptor>src/assembly/assemble_zip.xml</descriptor>
57                             </descriptors>
58                             <appendAssemblyId>false</appendAssemblyId>
59                         </configuration>
60                     </execution>
61                 </executions>
62             </plugin>
63             <plugin>
64                 <groupId>org.apache.maven.plugins</groupId>
65                 <artifactId>maven-dependency-plugin</artifactId>
66                 <executions>
67                     <execution>
68                         <id>copy-dependencies</id>
69                         <goals>
70                             <goal>copy-dependencies</goal>
71                         </goals>
72                         <phase>prepare-package</phase>
73                         <configuration>
74                             <transitive>false</transitive>
75                             <outputDirectory>${project.build.directory}/assembly/lib</outputDirectory>
76                             <overWriteReleases>false</overWriteReleases>
77                             <overWriteSnapshots>true</overWriteSnapshots>
78                             <overWriteIfNewer>true</overWriteIfNewer>
79                             <useRepositoryLayout>false</useRepositoryLayout>
80                             <addParentPoms>false</addParentPoms>
81                             <copyPom>false</copyPom>
82                             <includeScope>runtime</includeScope>
83                             <excludeTransitive>true</excludeTransitive>
84                         </configuration>
85                     </execution>
86                 </executions>
87             </plugin>
88         </plugins>
89     </build>
90
91     <dependencies>
92         <dependency>
93             <groupId>org.onap.policy.drools-pdp</groupId>
94             <artifactId>policy-core</artifactId>
95             <version>${project.version}</version>
96             <scope>provided</scope>
97         </dependency>
98         <dependency>
99             <groupId>org.onap.policy.drools-pdp</groupId>
100             <artifactId>policy-management</artifactId>
101             <version>${project.version}</version>
102             <scope>provided</scope>
103         </dependency>
104         <dependency>
105             <groupId>org.apache.commons</groupId>
106             <artifactId>commons-dbcp2</artifactId>
107             <version>2.1.1</version>
108         </dependency>
109         <dependency>
110             <groupId>org.apache.commons</groupId>
111             <artifactId>commons-pool2</artifactId>
112             <version>2.4.2</version>
113         </dependency>
114         <dependency>
115             <groupId>junit</groupId>
116             <artifactId>junit</artifactId>
117             <scope>test</scope>
118         </dependency>
119         <dependency>
120             <groupId>org.powermock</groupId>
121             <artifactId>powermock-api-mockito</artifactId>
122             <scope>test</scope>
123         </dependency>
124         <dependency>
125             <groupId>com.h2database</groupId>
126             <artifactId>h2</artifactId>
127             <scope>test</scope>
128         </dependency>
129         <dependency>
130             <groupId>org.onap.policy.common</groupId>
131             <artifactId>utils</artifactId>
132             <version>${policy.common.version}</version>
133             <scope>provided</scope>
134         </dependency>
135         <dependency>
136             <groupId>org.onap.policy.common</groupId>
137             <artifactId>utils-test</artifactId>
138             <version>${policy.common.version}</version>
139             <scope>test</scope>
140         </dependency>
141     </dependencies>
142
143 </project>