Merge "Add coverage for policy-management"
[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"
22     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24
25     <modelVersion>4.0.0</modelVersion>
26
27     <parent>
28         <groupId>org.onap.policy.drools-pdp</groupId>
29         <artifactId>drools-pdp</artifactId>
30         <version>1.3.0-SNAPSHOT</version>
31     </parent>
32
33     <artifactId>feature-distributed-locking</artifactId>
34
35     <name>feature-distributed-locking</name>
36     <description>Loadable module that provides distributed locking capability</description>
37
38     <properties>
39         <maven.compiler.source>1.8</maven.compiler.source>
40         <maven.compiler.target>1.8</maven.compiler.target>
41     </properties>
42
43     <build>
44         <plugins>
45             <plugin>
46                 <artifactId>maven-assembly-plugin</artifactId>
47                 <executions>
48                     <execution>
49                         <id>zipfile</id>
50                         <goals>
51                             <goal>single</goal>
52                         </goals>
53                         <phase>package</phase>
54                         <configuration>
55                             <attach>true</attach>
56                             <finalName>${project.artifactId}-${project.version}</finalName>
57                             <descriptors>
58                                 <descriptor>src/assembly/assemble_zip.xml</descriptor>
59                             </descriptors>
60                             <appendAssemblyId>false</appendAssemblyId>
61                         </configuration>
62                     </execution>
63                 </executions>
64             </plugin>
65             <plugin>
66                 <groupId>org.apache.maven.plugins</groupId>
67                 <artifactId>maven-dependency-plugin</artifactId>
68                 <executions>
69                     <execution>
70                         <id>copy-dependencies</id>
71                         <goals>
72                             <goal>copy-dependencies</goal>
73                         </goals>
74                         <phase>prepare-package</phase>
75                         <configuration>
76                             <transitive>false</transitive>
77                             <outputDirectory>${project.build.directory}/assembly/lib</outputDirectory>
78                             <overWriteReleases>false</overWriteReleases>
79                             <overWriteSnapshots>true</overWriteSnapshots>
80                             <overWriteIfNewer>true</overWriteIfNewer>
81                             <useRepositoryLayout>false</useRepositoryLayout>
82                             <addParentPoms>false</addParentPoms>
83                             <copyPom>false</copyPom>
84                             <includeScope>runtime</includeScope>
85                             <excludeTransitive>true</excludeTransitive>
86                         </configuration>
87                     </execution>
88                 </executions>
89             </plugin>
90         </plugins>
91     </build>
92
93     <dependencies>
94         <dependency>
95             <groupId>org.onap.policy.drools-pdp</groupId>
96             <artifactId>policy-core</artifactId>
97             <version>${project.version}</version>
98             <scope>provided</scope>
99         </dependency>
100         <dependency>
101             <groupId>org.onap.policy.drools-pdp</groupId>
102             <artifactId>policy-management</artifactId>
103             <version>${project.version}</version>
104             <scope>provided</scope>
105         </dependency>
106         <dependency>
107             <groupId>org.apache.commons</groupId>
108             <artifactId>commons-dbcp2</artifactId>
109             <version>2.1.1</version>
110         </dependency>
111         <dependency>
112             <groupId>org.apache.commons</groupId>
113             <artifactId>commons-pool2</artifactId>
114             <version>2.4.2</version>
115         </dependency>
116         <dependency>
117             <groupId>junit</groupId>
118             <artifactId>junit</artifactId>
119             <scope>test</scope>
120         </dependency>
121         <dependency>
122             <groupId>org.powermock</groupId>
123             <artifactId>powermock-api-mockito</artifactId>
124             <scope>test</scope>
125         </dependency>
126         <dependency>
127             <groupId>com.h2database</groupId>
128             <artifactId>h2</artifactId>
129             <scope>test</scope>
130         </dependency>
131         <dependency>
132             <groupId>org.onap.policy.common</groupId>
133             <artifactId>utils</artifactId>
134             <version>${project.version}</version>
135             <scope>provided</scope>
136         </dependency>
137         <dependency>
138             <groupId>org.onap.policy.common</groupId>
139             <artifactId>utils-test</artifactId>
140             <version>${project.version}</version>
141             <scope>test</scope>
142         </dependency>
143     </dependencies>
144
145 </project>