Replaced try/catch blocks with assertj - apex-pdp
[policy/apex-pdp.git] / pom.xml
1 <!--
2   ============LICENSE_START=======================================================
3    Copyright (C) 2018 Ericsson. All rights reserved.
4    Modifications Copyright (C) 2019-2020 Nordix Foundation.
5    Modifications Copyright (C) 2019-2020 AT&T Intellectual Property. All rights reserved.
6    Modifications Copyright (C) 2020 Bell Canada.
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
20   SPDX-License-Identifier: Apache-2.0
21   ============LICENSE_END=========================================================
22 -->
23
24 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
26     <modelVersion>4.0.0</modelVersion>
27     <parent>
28         <groupId>org.onap.policy.parent</groupId>
29         <artifactId>integration</artifactId>
30         <version>3.2.0</version>
31         <relativePath />
32     </parent>
33
34     <groupId>org.onap.policy.apex-pdp</groupId>
35     <artifactId>apex-pdp</artifactId>
36     <version>2.4.1-SNAPSHOT</version>
37     <packaging>pom</packaging>
38
39     <name>policy-apex-pdp</name>
40     <description>Packaging for all the Apex components, the engine, the WAR service, and the editor.</description>
41
42     <properties>
43         <encoding>UTF-8</encoding>
44         <file.encoding>UTF-8</file.encoding>
45         <version.commons-cli>1.4</version.commons-cli>
46         <version.kafka>2.3.0</version.kafka>
47         <version.hibernate>5.3.7.Final</version.hibernate>
48         <version.policy.common>1.7.0</version.policy.common>
49         <version.policy.models>2.3.0</version.policy.models>
50         <version.jgroups>4.1.5.Final</version.jgroups>
51         <version.commons-codec>20041127.091804</version.commons-codec>
52         <version.caffeine>2.8.0</version.caffeine>
53     </properties>
54
55     <distributionManagement>
56         <site>
57             <id>ecomp-site</id>
58             <url>dav:${onap.nexus.url}${sitePath}</url>
59         </site>
60     </distributionManagement>
61
62     <dependencies>
63         <dependency>
64             <groupId>junit</groupId>
65             <artifactId>junit</artifactId>
66             <scope>test</scope>
67         </dependency>
68         <dependency>
69             <groupId>org.assertj</groupId>
70             <artifactId>assertj-core</artifactId>
71             <scope>test</scope>
72         </dependency>
73         <dependency>
74             <groupId>org.awaitility</groupId>
75             <artifactId>awaitility</artifactId>
76             <scope>test</scope>
77         </dependency>
78         <dependency>
79             <groupId>org.slf4j</groupId>
80             <artifactId>slf4j-ext</artifactId>
81         </dependency>
82         <dependency>
83             <groupId>org.slf4j</groupId>
84             <artifactId>slf4j-api</artifactId>
85         </dependency>
86         <dependency>
87             <groupId>ch.qos.logback</groupId>
88             <artifactId>logback-core</artifactId>
89         </dependency>
90         <dependency>
91             <groupId>ch.qos.logback</groupId>
92             <artifactId>logback-classic</artifactId>
93         </dependency>
94         <dependency>
95             <groupId>org.projectlombok</groupId>
96             <artifactId>lombok</artifactId>
97         </dependency>
98     </dependencies>
99
100     <dependencyManagement>
101         <dependencies>
102             <dependency>
103                 <groupId>org.onap.policy.common</groupId>
104                 <artifactId>utils</artifactId>
105                 <version>${version.policy.common}</version>
106             </dependency>
107             <dependency>
108                 <groupId>org.onap.policy.common</groupId>
109                 <artifactId>common-parameters</artifactId>
110                 <version>${version.policy.common}</version>
111             </dependency>
112             <dependency>
113                 <groupId>org.onap.policy.common</groupId>
114                 <artifactId>policy-endpoints</artifactId>
115                 <version>${version.policy.common}</version>
116             </dependency>
117             <dependency>
118                 <groupId>org.jgroups</groupId>
119                 <artifactId>jgroups</artifactId>
120                 <version>${version.jgroups}</version>
121             </dependency>
122             <dependency>
123                 <groupId>commons-codec</groupId>
124                 <artifactId>commons-codec</artifactId>
125                 <version>${version.commons-codec}</version>
126             </dependency>
127             <dependency>
128                 <groupId>com.github.ben-manes.caffeine</groupId>
129                 <artifactId>caffeine</artifactId>
130                 <version>${version.caffeine}</version>
131             </dependency>
132         </dependencies>
133     </dependencyManagement>
134
135     <profiles>
136         <profile>
137             <!--This profile is used to store Eclipse m2e settings only. It has no 
138                 influence on the Maven build itself. -->
139             <id>only-eclipse</id>
140             <activation>
141                 <property>
142                     <name>m2e.version</name>
143                 </property>
144             </activation>
145             <build>
146                 <pluginManagement>
147                     <plugins>
148                         <plugin>
149                             <groupId>org.eclipse.m2e</groupId>
150                             <artifactId>lifecycle-mapping</artifactId>
151                             <version>1.0.0</version>
152                             <configuration>
153                                 <lifecycleMappingMetadata>
154                                     <pluginExecutions>
155                                         <pluginExecution>
156                                             <pluginExecutionFilter>
157                                                 <groupId>org.codehaus.mojo</groupId>
158                                                 <artifactId>exec-maven-plugin</artifactId>
159                                                 <versionRange>[1.6.0,)</versionRange>
160                                                 <goals>
161                                                     <goal>java</goal>
162                                                     <goal>exec</goal>
163                                                 </goals>
164                                             </pluginExecutionFilter>
165                                             <action>
166                                                 <execute />
167                                             </action>
168                                         </pluginExecution>
169                                         <pluginExecution>
170                                             <pluginExecutionFilter>
171                                                 <groupId>org.commonjava.maven.plugins</groupId>
172                                                 <artifactId>directory-maven-plugin</artifactId>
173                                                 <versionRange>0.2</versionRange>
174                                                 <goals>
175                                                     <goal>directory-of</goal>
176                                                 </goals>
177                                             </pluginExecutionFilter>
178                                             <action>
179                                                 <execute />
180                                             </action>
181                                         </pluginExecution>
182                                         <pluginExecution>
183                                             <pluginExecutionFilter>
184                                                 <groupId>org.apache.maven.plugins</groupId>
185                                                 <artifactId>maven-dependency-plugin</artifactId>
186                                                 <versionRange>[2.0,)</versionRange>
187                                                 <goals>
188                                                     <goal>unpack</goal>
189                                                     <goal>unpack-dependencies</goal>
190                                                 </goals>
191                                             </pluginExecutionFilter>
192                                             <action>
193                                                 <execute />
194                                             </action>
195                                         </pluginExecution>
196                                         <pluginExecution>
197                                             <pluginExecutionFilter>
198                                                 <groupId>org.apache.maven.plugins</groupId>
199                                                 <artifactId>maven-antrun-plugin</artifactId>
200                                                 <versionRange>[1.0,)</versionRange>
201                                                 <goals>
202                                                     <goal>run</goal>
203                                                 </goals>
204                                             </pluginExecutionFilter>
205                                             <action>
206                                                 <ignore />
207                                             </action>
208                                         </pluginExecution>
209                                     </pluginExecutions>
210                                 </lifecycleMappingMetadata>
211                             </configuration>
212                         </plugin>
213                     </plugins>
214                 </pluginManagement>
215             </build>
216         </profile>
217     </profiles>
218
219     <modules>
220         <module>model</module>
221         <module>context</module>
222         <module>core</module>
223         <module>auth</module>
224         <module>services</module>
225         <module>plugins</module>
226         <module>examples</module>
227         <module>testsuites</module>
228         <module>client</module>
229         <module>tools</module>
230         <module>packages</module>
231     </modules>
232 </project>