blob: 3545b9dda1184c4f387274942da3cdf1cfe492cd [file] [log] [blame]
Sirisha_Manchikantif83411a2021-05-07 15:17:52 +01001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ============LICENSE_START=======================================================
4 Copyright (C) 2021 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 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>
29 <version>6.1.2-SNAPSHOT</version>
30 </parent>
31
32 <groupId>org.onap.policy.clamp.participant</groupId>
33 <artifactId>policy-clamp-participant</artifactId>
34 <name>${project.artifactId}</name>
35 <description>participants that communicate with the runtime server to handle control loops</description>
36 <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>
97 </dependencies>
98
99 <build>
100 <plugins>
101 <plugin>
102 <artifactId>maven-assembly-plugin</artifactId>
103 <configuration>
104 <archive>
105 <manifest>
106 <mainClass>org.onap.policy.clamp.controlloop.participant.simulator.main.startstop.Main</mainClass>
107 </manifest>
108 </archive>
109 <descriptorRefs>
110 <descriptorRef>jar-with-dependencies</descriptorRef>
111 </descriptorRefs>
112 </configuration>
113 </plugin>
114 </plugins>
115 </build>
116
Sirisha_Manchikantif83411a2021-05-07 15:17:52 +0100117</project>