blob: 9bfa6bec340184b1ed3c9e3ce69b2709f6c72e44 [file] [log] [blame]
liamfallon90092032019-04-17 13:58:26 +00001<!--
2 ============LICENSE_START=======================================================
3 Copyright (C) 2019 Nordix Foundation.
4 ================================================================================
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16
17 SPDX-License-Identifier: Apache-2.0
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 <parent>
25 <groupId>org.onap.policy.models.sim</groupId>
26 <artifactId>policy-models-sim</artifactId>
27 <version>2.0.0-SNAPSHOT</version>
28 </parent>
29
30 <artifactId>policy-models-sim-dmaap</artifactId>
31
32 <name>${project.artifactId}</name>
33 <description>A module that implements a very simple DMaaP simulator.</description>
34
35 <dependencies>
36 <dependency>
37 <groupId>commons-cli</groupId>
38 <artifactId>commons-cli</artifactId>
39 </dependency>
40 <dependency>
41 <groupId>org.onap.policy.common</groupId>
42 <artifactId>common-parameters</artifactId>
43 <version>${policy.common.version}</version>
44 </dependency>
45 <dependency>
46 <groupId>org.onap.policy.common</groupId>
47 <artifactId>utils</artifactId>
liamfallon90092032019-04-17 13:58:26 +000048 </dependency>
49 <dependency>
50 <groupId>org.onap.policy.common</groupId>
51 <artifactId>policy-endpoints</artifactId>
52 <version>${policy.common.version}</version>
53 </dependency>
54 <dependency>
55 <groupId>org.onap.policy.common</groupId>
56 <artifactId>gson</artifactId>
57 <version>${policy.common.version}</version>
58 </dependency>
59 </dependencies>
60
61 <build>
62 <resources>
liamfallonafcb9242019-04-30 13:31:03 +000063 <!-- Output the version of the DMaaP simulator service -->
liamfallon90092032019-04-17 13:58:26 +000064 <resource>
65 <directory>src/main/resources</directory>
66 <filtering>true</filtering>
67 <includes>
68 <include>**/version.txt</include>
69 </includes>
70 </resource>
71 <resource>
72 <directory>src/main/resources</directory>
73 <filtering>false</filtering>
74 <excludes>
75 <exclude>**/version.txt</exclude>
76 </excludes>
77 </resource>
78 </resources>
liamfallonafcb9242019-04-30 13:31:03 +000079
80 <plugins>
81 <plugin>
82 <groupId>org.apache.maven.plugins</groupId>
83 <artifactId>maven-assembly-plugin</artifactId>
84 <executions>
85 <execution>
86 <id>generate-complete-tar</id>
87 <phase>package</phase>
88 <goals>
89 <goal>single</goal>
90 </goals>
91 <configuration>
92 <descriptors>
93 <descriptor>src/main/package/tarball/assembly.xml</descriptor>
94 </descriptors>
95 <finalName>${project.artifactId}-${project.version}</finalName>
96 </configuration>
97 </execution>
98 </executions>
99 </plugin>
100 </plugins>
101
liamfallon90092032019-04-17 13:58:26 +0000102 </build>
103</project>