blob: a09ed29de76f26fbc382e6cbba7ed7b85a2c7864 [file] [log] [blame]
Sirisha_Manchikantif83411a2021-05-07 15:17:52 +01001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ============LICENSE_START=======================================================
liamfallon0e405f32023-02-17 19:15:16 +00004 Copyright (C) 2021,2023 Nordix Foundation.
Sirisha_Manchikantif83411a2021-05-07 15:17:52 +01005 ================================================================================
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
26 <parent>
27 <groupId>org.onap.policy.clamp</groupId>
28 <artifactId>policy-clamp</artifactId>
liamfallon8e6aa422023-05-25 09:41:35 +010029 <version>7.0.0-SNAPSHOT</version>
Sirisha_Manchikantif83411a2021-05-07 15:17:52 +010030 </parent>
31
32 <groupId>org.onap.policy.clamp.participant</groupId>
33 <artifactId>policy-clamp-participant</artifactId>
34 <name>${project.artifactId}</name>
Sirisha_Manchikanti4ad746a2022-04-06 09:22:17 +010035 <description>participants that communicate with the runtime server to handle automation compositions</description>
Sirisha_Manchikantif83411a2021-05-07 15:17:52 +010036 <packaging>pom</packaging>
37
38 <modules>
39 <module>participant-intermediary</module>
40 <module>participant-impl</module>
41 </modules>
liamfallon20c74872021-05-26 11:02:07 +010042
liamfallond8a77c82021-09-15 12:07:01 +010043 <profiles>
44 <!-- These profiles are required because the tests jar from policy-clamp-common is not available in staging
45 Jenkins jobs -->
46 <profile>
47 <id>ExcludeTestJar1</id>
48 <activation>
49 <property>
50 <name>maven.test.skip</name>
51 <value>false</value>
52 </property>
53 </activation>
54 <dependencies>
55 <dependency>
56 <groupId>org.onap.policy.clamp</groupId>
57 <artifactId>policy-clamp-common</artifactId>
58 <classifier>tests</classifier>
59 <type>test-jar</type>
60 <version>${project.version}</version>
61 <scope>test</scope>
62 </dependency>
63 </dependencies>
64 </profile>
65 <profile>
66 <id>ExcludeTestJar2</id>
67 <activation>
68 <property>
69 <name>skipTests</name>
70 <value>false</value>
71 </property>
72 </activation>
73 <dependencies>
74 <dependency>
75 <groupId>org.onap.policy.clamp</groupId>
76 <artifactId>policy-clamp-common</artifactId>
77 <classifier>tests</classifier>
78 <type>test-jar</type>
79 <version>${project.version}</version>
80 <scope>test</scope>
81 </dependency>
82 </dependencies>
83 </profile>
84 </profiles>
85
liamfallon20c74872021-05-26 11:02:07 +010086 <dependencies>
87 <dependency>
88 <groupId>org.onap.policy.clamp</groupId>
89 <artifactId>policy-clamp-common</artifactId>
90 <version>${project.version}</version>
91 </dependency>
92 <dependency>
93 <groupId>org.onap.policy.clamp</groupId>
94 <artifactId>policy-clamp-models</artifactId>
95 <version>${project.version}</version>
96 </dependency>
adheli.tavares0a789302022-03-21 12:38:52 +000097 <dependency>
98 <groupId>org.onap.policy.clamp</groupId>
99 <artifactId>policy-clamp-examples</artifactId>
100 <version>${project.version}</version>
101 </dependency>
liamfallon20c74872021-05-26 11:02:07 +0100102 </dependencies>
103
104 <build>
105 <plugins>
106 <plugin>
adheli.tavares0a789302022-03-21 12:38:52 +0000107 <groupId>org.apache.maven.plugins</groupId>
108 <artifactId>maven-remote-resources-plugin</artifactId>
adheli.tavares0a789302022-03-21 12:38:52 +0000109 <configuration>
110 <resourceBundles>
111 <resourceBundle>org.onap.policy.clamp:policy-clamp-examples:${project.version}</resourceBundle>
112 </resourceBundles>
113 </configuration>
114 <executions>
115 <execution>
116 <goals>
117 <goal>process</goal>
118 </goals>
119 </execution>
120 </executions>
121 </plugin>
122 <plugin>
liamfallon20c74872021-05-26 11:02:07 +0100123 <artifactId>maven-assembly-plugin</artifactId>
124 <configuration>
125 <archive>
126 <manifest>
Sirisha_Manchikanti4ad746a2022-04-06 09:22:17 +0100127 <mainClass>org.onap.policy.clamp.acm.participant.simulator.main.startstop.Main</mainClass>
liamfallon20c74872021-05-26 11:02:07 +0100128 </manifest>
129 </archive>
130 <descriptorRefs>
131 <descriptorRef>jar-with-dependencies</descriptorRef>
132 </descriptorRefs>
133 </configuration>
134 </plugin>
135 </plugins>
136 </build>
137
Sirisha_Manchikantif83411a2021-05-07 15:17:52 +0100138</project>