blob: e3f0f0b27b040a0f921702100b76469f77c40f47 [file] [log] [blame]
liamfallon90092032019-04-17 13:58:26 +00001<!--
2 ============LICENSE_START=======================================================
3 Copyright (C) 2019 Nordix Foundation.
Jim Hahnaa148d92019-07-31 09:45:27 -04004 Modifications Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
liamfallon90092032019-04-17 13:58:26 +00005 ================================================================================
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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24 <modelVersion>4.0.0</modelVersion>
25 <parent>
26 <groupId>org.onap.policy.models.sim</groupId>
27 <artifactId>policy-models-sim</artifactId>
Jim Hahn17017012019-09-10 10:14:41 -040028 <version>2.2.0-SNAPSHOT</version>
liamfallon90092032019-04-17 13:58:26 +000029 </parent>
30
31 <artifactId>policy-models-sim-dmaap</artifactId>
32
33 <name>${project.artifactId}</name>
34 <description>A module that implements a very simple DMaaP simulator.</description>
35
36 <dependencies>
37 <dependency>
38 <groupId>commons-cli</groupId>
39 <artifactId>commons-cli</artifactId>
40 </dependency>
41 <dependency>
42 <groupId>org.onap.policy.common</groupId>
43 <artifactId>common-parameters</artifactId>
44 <version>${policy.common.version}</version>
45 </dependency>
46 <dependency>
47 <groupId>org.onap.policy.common</groupId>
48 <artifactId>utils</artifactId>
liamfallon90092032019-04-17 13:58:26 +000049 </dependency>
50 <dependency>
51 <groupId>org.onap.policy.common</groupId>
52 <artifactId>policy-endpoints</artifactId>
53 <version>${policy.common.version}</version>
54 </dependency>
55 <dependency>
56 <groupId>org.onap.policy.common</groupId>
57 <artifactId>gson</artifactId>
58 <version>${policy.common.version}</version>
59 </dependency>
Jim Hahnaa148d92019-07-31 09:45:27 -040060 <dependency>
61 <groupId>org.onap.policy.common</groupId>
62 <artifactId>utils-test</artifactId>
63 <version>${policy.common.version}</version>
64 <scope>test</scope>
65 </dependency>
66 <dependency>
67 <groupId>org.powermock</groupId>
68 <artifactId>powermock-api-mockito</artifactId>
69 <scope>test</scope>
70 </dependency>
liamfallon90092032019-04-17 13:58:26 +000071 </dependencies>
72
73 <build>
74 <resources>
liamfallonafcb9242019-04-30 13:31:03 +000075 <!-- Output the version of the DMaaP simulator service -->
liamfallon90092032019-04-17 13:58:26 +000076 <resource>
77 <directory>src/main/resources</directory>
78 <filtering>true</filtering>
79 <includes>
80 <include>**/version.txt</include>
81 </includes>
82 </resource>
83 <resource>
84 <directory>src/main/resources</directory>
85 <filtering>false</filtering>
86 <excludes>
87 <exclude>**/version.txt</exclude>
88 </excludes>
89 </resource>
90 </resources>
liamfallonafcb9242019-04-30 13:31:03 +000091
92 <plugins>
93 <plugin>
94 <groupId>org.apache.maven.plugins</groupId>
95 <artifactId>maven-assembly-plugin</artifactId>
96 <executions>
97 <execution>
98 <id>generate-complete-tar</id>
99 <phase>package</phase>
100 <goals>
101 <goal>single</goal>
102 </goals>
103 <configuration>
104 <descriptors>
105 <descriptor>src/main/package/tarball/assembly.xml</descriptor>
106 </descriptors>
107 <finalName>${project.artifactId}-${project.version}</finalName>
108 </configuration>
109 </execution>
110 </executions>
111 </plugin>
112 </plugins>
113
liamfallon90092032019-04-17 13:58:26 +0000114 </build>
115</project>