Update snapshot and/or references of policy/models to latest snapshots
[policy/models.git] / models-sim / policy-models-sim-pdp / pom.xml
1 <!--
2   ============LICENSE_START=======================================================
3    Copyright (C) 2019 Bell Canada. All rights reserved.
4    Modifications Copyright (C) 2023-2024 Nordix Foundation.
5   ================================================================================
6   Licensed under the Apache License, Version 2.0 (the "License");
7   you may not use this file except in compliance with the License.
8   You may obtain a copy of the License at
9
10        http://www.apache.org/licenses/LICENSE-2.0
11
12   Unless required by applicable law or agreed to in writing, software
13   distributed under the License is distributed on an "AS IS" BASIS,
14   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15   See the License for the specific language governing permissions and
16   limitations under the License.
17
18   SPDX-License-Identifier: Apache-2.0
19   ============LICENSE_END=========================================================
20 -->
21
22 <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
23          xmlns="http://maven.apache.org/POM/4.0.0"
24          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
25     <modelVersion>4.0.0</modelVersion>
26     <parent>
27         <groupId>org.onap.policy.models.sim</groupId>
28         <artifactId>policy-models-sim</artifactId>
29         <version>3.1.3-SNAPSHOT</version>
30     </parent>
31     <artifactId>policy-models-sim-pdp</artifactId>
32     <name>policy-models-sim-pdp</name>
33
34     <description>A module that implements a simulator for PDP.</description>
35     <dependencies>
36         <dependency>
37             <groupId>org.onap.policy.models</groupId>
38             <artifactId>policy-models-pdp</artifactId>
39             <version>${project.version}</version>
40         </dependency>
41         <dependency>
42             <groupId>commons-cli</groupId>
43             <artifactId>commons-cli</artifactId>
44         </dependency>
45         <dependency>
46             <groupId>org.onap.policy.common</groupId>
47             <artifactId>policy-endpoints</artifactId>
48             <version>${policy.common.version}</version>
49         </dependency>
50         <dependency>
51             <groupId>org.onap.policy.common</groupId>
52             <artifactId>utils-test</artifactId>
53             <version>${policy.common.version}</version>
54             <scope>test</scope>
55         </dependency>
56         <dependency>
57             <groupId>org.onap.policy.common</groupId>
58             <artifactId>common-parameters</artifactId>
59             <version>${policy.common.version}</version>
60         </dependency>
61         <dependency>
62             <groupId>org.assertj</groupId>
63             <artifactId>assertj-core</artifactId>
64             <scope>test</scope>
65         </dependency>
66     </dependencies>
67     <build>
68         <resources>
69             <!-- Output the version of the PDP simulator service -->
70             <resource>
71                 <directory>src/main/resources</directory>
72                 <filtering>true</filtering>
73                 <includes>
74                     <include>**/version.txt</include>
75                 </includes>
76             </resource>
77             <resource>
78                 <directory>src/main/resources</directory>
79                 <filtering>false</filtering>
80                 <excludes>
81                     <exclude>**/version.txt</exclude>
82                 </excludes>
83             </resource>
84         </resources>
85
86         <plugins>
87             <plugin>
88                 <groupId>org.apache.maven.plugins</groupId>
89                 <artifactId>maven-assembly-plugin</artifactId>
90                 <executions>
91                     <execution>
92                         <id>generate-complete-tar</id>
93                         <phase>package</phase>
94                         <goals>
95                             <goal>single</goal>
96                         </goals>
97                         <configuration>
98                             <descriptors>
99                                 <descriptor>src/main/package/tarball/assembly.xml</descriptor>
100                             </descriptors>
101                             <finalName>${project.artifactId}-${project.version}</finalName>
102                         </configuration>
103                     </execution>
104                 </executions>
105             </plugin>
106         </plugins>
107     </build>
108 </project>