Upgrade and clean up dependencies
[policy/xacml-pdp.git] / main / pom.xml
1 <!--
2   ============LICENSE_START=======================================================
3   ONAP Policy Engine - XACML PDP
4   ================================================================================
5   Copyright (C) 2019-2022 AT&T Intellectual Property. All rights reserved.
6   Modifications Copyright (C) 2020 Bell Canada.
7   Modifications Copyright (C) 2023 Nordix Foundation.
8   ================================================================================
9   Licensed under the Apache License, Version 2.0 (the "License");
10   you may not use this file except in compliance with the License.
11   You may obtain a copy of the License at
12
13        http://www.apache.org/licenses/LICENSE-2.0
14
15   Unless required by applicable law or agreed to in writing, software
16   distributed under the License is distributed on an "AS IS" BASIS,
17   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18   See the License for the specific language governing permissions and
19   limitations under the License.
20   ============LICENSE_END=========================================================
21   -->
22
23 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25     <modelVersion>4.0.0</modelVersion>
26     <parent>
27         <groupId>org.onap.policy.xacml-pdp</groupId>
28         <artifactId>policy-xacml-pdp</artifactId>
29         <version>2.8.1-SNAPSHOT</version>
30     </parent>
31
32     <artifactId>xacml-main</artifactId>
33
34     <name>${project.artifactId}</name>
35     <description>The main module of Policy PDP-X that handles startup, lifecycle management, and parameters.</description>
36
37     <properties>
38         <jacoco.dataFile>${project.basedir}/../target/code-coverage/jacoco-ut.exec</jacoco.dataFile>
39     </properties>
40
41     <dependencies>
42         <dependency>
43             <groupId>org.onap.policy.common</groupId>
44             <artifactId>capabilities</artifactId>
45             <version>${policy.common.version}</version>
46         </dependency>
47         <dependency>
48             <groupId>org.onap.policy.common</groupId>
49             <artifactId>policy-endpoints</artifactId>
50             <version>${policy.common.version}</version>
51         </dependency>
52         <dependency>
53             <groupId>commons-cli</groupId>
54             <artifactId>commons-cli</artifactId>
55         </dependency>
56         <dependency>
57             <groupId>com.google.code.gson</groupId>
58             <artifactId>gson</artifactId>
59         </dependency>
60         <dependency>
61             <groupId>org.onap.policy.common</groupId>
62             <artifactId>common-parameters</artifactId>
63             <version>${policy.common.version}</version>
64         </dependency>
65         <dependency>
66             <groupId>org.onap.policy.xacml-pdp.applications</groupId>
67             <artifactId>common</artifactId>
68             <version>${project.version}</version>
69         </dependency>
70         <dependency>
71             <groupId>org.onap.policy.common</groupId>
72             <artifactId>utils-test</artifactId>
73             <version>${policy.common.version}</version> 
74             <scope>test</scope>
75         </dependency>
76         <dependency>
77             <groupId>org.onap.policy.xacml-pdp.applications</groupId>
78             <artifactId>xacml-monitoring</artifactId>
79             <version>${project.version}</version>
80         </dependency>
81         <dependency>
82             <groupId>org.onap.policy.xacml-pdp.applications</groupId>
83             <artifactId>xacml-guard</artifactId>
84             <version>${project.version}</version>
85         </dependency>
86         <dependency>
87             <groupId>org.onap.policy.xacml-pdp.applications</groupId>
88             <artifactId>xacml-optimization</artifactId>
89             <version>${project.version}</version>
90         </dependency>
91         <dependency>
92             <groupId>org.onap.policy.xacml-pdp.applications</groupId>
93             <artifactId>xacml-naming</artifactId>
94             <version>${project.version}</version>
95         </dependency>
96         <dependency>
97             <groupId>org.onap.policy.xacml-pdp.applications</groupId>
98             <artifactId>xacml-native</artifactId>
99             <version>${project.version}</version>
100         </dependency>
101         <dependency>
102             <groupId>org.onap.policy.xacml-pdp.applications</groupId>
103             <artifactId>xacml-match</artifactId>
104             <version>${project.version}</version>
105         </dependency>
106         <dependency>
107             <groupId>org.onap.policy.models</groupId>
108             <artifactId>policy-models-pdp</artifactId>
109             <version>${policy.models.version}</version>
110         </dependency>
111         <dependency>
112             <groupId>io.prometheus</groupId>
113             <artifactId>simpleclient_logback</artifactId>
114         </dependency>
115         <dependency>
116             <groupId>org.onap.policy.xacml-pdp</groupId>
117             <artifactId>xacml-test</artifactId>
118             <version>${project.version}</version>
119             <scope>test</scope>
120         </dependency>
121         <dependency>
122             <groupId>org.mockito</groupId>
123             <artifactId>mockito-core</artifactId>
124             <scope>test</scope>
125         </dependency>
126         <dependency>
127             <groupId>org.springframework</groupId>
128             <artifactId>spring-test</artifactId>
129             <scope>test</scope>
130         </dependency>
131         <dependency>
132             <groupId>org.assertj</groupId>
133             <artifactId>assertj-core</artifactId>
134             <scope>test</scope>
135         </dependency>
136     </dependencies>
137
138     <build>
139         <resources>
140             <!-- Output the version of the pdpx service -->
141             <resource>
142                 <directory>src/main/resources</directory>
143                 <filtering>true</filtering>
144                 <includes>
145                     <include>**/version.txt</include>
146                 </includes>
147             </resource>
148             <resource>
149                 <directory>src/main/resources</directory>
150                 <filtering>false</filtering>
151                 <excludes>
152                     <exclude>**/version.txt</exclude>
153                 </excludes>
154             </resource>
155         </resources>
156     </build>
157
158 </project>