Merge "Set parent to policy/parent"
[policy/drools-pdp.git] / feature-active-standby-management / pom.xml
1 <!--
2   ============LICENSE_START=======================================================
3   feature-active-standby-management
4   ================================================================================
5   Copyright (C) 2017-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-active-standby-management</artifactId>
34
35     <name>feature-active-standby-management</name>
36     <description>Separately loadable module for managing active-standby behavior</description>
37
38     <build>
39         <plugins>
40             <plugin>
41                 <artifactId>maven-assembly-plugin</artifactId>
42                 <executions>
43                     <execution>
44                         <id>zipfile</id>
45                         <goals>
46                             <goal>single</goal>
47                         </goals>
48                         <phase>package</phase>
49                         <configuration>
50                             <attach>true</attach>
51                             <finalName>${project.artifactId}-${project.version}</finalName>
52                             <descriptors>
53                                 <descriptor>src/assembly/assemble_zip.xml</descriptor>
54                             </descriptors>
55                             <appendAssemblyId>false</appendAssemblyId>
56                         </configuration>
57                     </execution>
58                 </executions>
59             </plugin>
60             <plugin>
61                 <groupId>org.apache.maven.plugins</groupId>
62                 <artifactId>maven-dependency-plugin</artifactId>
63                 <executions>
64                     <execution>
65                         <id>copy-dependencies</id>
66                         <goals>
67                             <goal>copy-dependencies</goal>
68                         </goals>
69                         <phase>prepare-package</phase>
70                         <configuration>
71                             <transitive>false</transitive>
72                             <outputDirectory>${project.build.directory}/assembly/lib</outputDirectory>
73                             <overWriteReleases>false</overWriteReleases>
74                             <overWriteSnapshots>true</overWriteSnapshots>
75                             <overWriteIfNewer>true</overWriteIfNewer>
76                             <useRepositoryLayout>false</useRepositoryLayout>
77                             <addParentPoms>false</addParentPoms>
78                             <copyPom>false</copyPom>
79                             <includeScope>runtime</includeScope>
80                             <excludeTransitive>true</excludeTransitive>
81                         </configuration>
82                     </execution>
83                 </executions>
84             </plugin>
85         </plugins>
86     </build>
87
88     <dependencies>
89         <dependency>
90             <groupId>io.swagger</groupId>
91             <artifactId>swagger-jersey2-jaxrs</artifactId>
92             <scope>provided</scope>
93         </dependency>
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.eclipse.persistence</groupId>
108             <artifactId>eclipselink</artifactId>
109             <scope>provided</scope>
110         </dependency>
111         <dependency>
112             <groupId>org.onap.policy.drools-pdp</groupId>
113             <artifactId>api-active-standby-management</artifactId>
114             <version>${project.version}</version>
115         </dependency>
116         <dependency>
117             <groupId>org.onap.policy.drools-pdp</groupId>
118             <artifactId>api-state-management</artifactId>
119             <version>${project.version}</version>
120         </dependency>
121         <dependency>
122             <groupId>org.onap.policy.drools-pdp</groupId>
123             <artifactId>feature-state-management</artifactId>
124             <version>${project.version}</version>
125             <scope>test</scope>
126         </dependency>
127         <dependency>
128             <groupId>com.h2database</groupId>
129             <artifactId>h2</artifactId>
130             <scope>test</scope>
131         </dependency>
132         <dependency>
133             <groupId>junit</groupId>
134             <artifactId>junit</artifactId>
135             <scope>test</scope>
136         </dependency>
137     </dependencies>
138
139 </project>