1d3dab99b27ba2624b61a74c424ba01eae52c103
[policy/drools-pdp.git] / feature-lifecycle / pom.xml
1 <!--
2   ============LICENSE_START=======================================================
3   ONAP
4   ================================================================================
5   Copyright (C) 2019-2021 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"
22     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
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.10.2-SNAPSHOT</version>
29     </parent>
30
31     <artifactId>feature-lifecycle</artifactId>
32
33     <name>feature-lifecycle</name>
34     <description>Loadable module to support the lifecycle modes</description>
35
36     <build>
37         <plugins>
38             <plugin>
39                 <artifactId>maven-assembly-plugin</artifactId>
40                 <executions>
41                     <execution>
42                         <id>zipfile</id>
43                         <goals>
44                             <goal>single</goal>
45                         </goals>
46                         <phase>package</phase>
47                         <configuration>
48                             <attach>true</attach>
49                             <finalName>${project.artifactId}-${project.version}</finalName>
50                             <descriptors>
51                                 <descriptor>src/assembly/zip.xml</descriptor>
52                             </descriptors>
53                             <appendAssemblyId>false</appendAssemblyId>
54                         </configuration>
55                     </execution>
56                 </executions>
57             </plugin>
58             <plugin>
59                 <groupId>org.apache.maven.plugins</groupId>
60                 <artifactId>maven-dependency-plugin</artifactId>
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                             <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                             <includeScope>runtime</includeScope>
77                             <excludeTransitive>true</excludeTransitive>
78                         </configuration>
79                     </execution>
80                 </executions>
81             </plugin>
82         </plugins>
83     </build>
84
85     <dependencies>
86
87         <dependency>
88             <groupId>org.onap.policy.drools-pdp</groupId>
89             <artifactId>policy-management</artifactId>
90             <version>${project.version}</version>
91             <scope>provided</scope>
92         </dependency>
93
94         <dependency>
95             <groupId>org.projectlombok</groupId>
96             <artifactId>lombok</artifactId>
97             <scope>provided</scope>
98         </dependency>
99
100         <dependency>
101             <groupId>junit</groupId>
102             <artifactId>junit</artifactId>
103             <scope>test</scope>
104         </dependency>
105
106         <dependency>
107             <groupId>org.assertj</groupId>
108             <artifactId>assertj-core</artifactId>
109             <scope>test</scope>
110         </dependency>
111
112         <dependency>
113             <groupId>org.powermock</groupId>
114             <artifactId>powermock-api-mockito2</artifactId>
115             <scope>test</scope>
116         </dependency>
117
118         <dependency>
119             <groupId>org.onap.policy.common</groupId>
120             <artifactId>policy-endpoints</artifactId>
121             <version>${policy.common.version}</version>
122             <scope>provided</scope>
123         </dependency>
124
125         <dependency>
126             <groupId>org.onap.policy.common</groupId>
127             <artifactId>utils-test</artifactId>
128             <version>${policy.common.version}</version>
129             <scope>test</scope>
130         </dependency>
131
132         <dependency>
133             <groupId>org.onap.policy.common</groupId>
134             <artifactId>gson</artifactId>
135             <version>${policy.common.version}</version>
136         </dependency>
137
138         <dependency>
139             <groupId>org.onap.policy.common</groupId>
140             <artifactId>utils</artifactId>
141             <version>${policy.common.version}</version>
142             <scope>provided</scope>
143         </dependency>
144
145         <dependency>
146             <groupId>org.onap.policy.models</groupId>
147             <artifactId>policy-models-examples</artifactId>
148             <version>${policy.models.version}</version>
149             <scope>test</scope>
150         </dependency>
151
152         <dependency>
153             <groupId>commons-beanutils</groupId>
154             <artifactId>commons-beanutils</artifactId>
155         </dependency>
156
157     </dependencies>
158
159 </project>