6943bf9f414c22914fca98f8ca1ea90be45d85bc
[policy/api.git] / packages / pom.xml
1 <!--
2   ============LICENSE_START=======================================================
3    Copyright (C) 2019-2021 AT&T Intellectual Property. All rights reserved.
4    Modifications Copyright (C) 2020 Bell Canada.
5    Modifications Copyright (C) 2022 Nordix Foundation.
6   ================================================================================
7   Licensed under the Apache License, Version 2.0 (the "License");
8   you may not use this file except in compliance with the License.
9   You may obtain a copy of the License at
10
11        http://www.apache.org/licenses/LICENSE-2.0
12
13   Unless required by applicable law or agreed to in writing, software
14   distributed under the License is distributed on an "AS IS" BASIS,
15   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16   See the License for the specific language governing permissions and
17   limitations under the License.
18
19   SPDX-License-Identifier: Apache-2.0
20   ============LICENSE_END=========================================================
21 -->
22
23 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25     <modelVersion>4.0.0</modelVersion>
26     <parent>
27         <groupId>org.onap.policy.api</groupId>
28         <artifactId>policy-api</artifactId>
29         <version>3.1.2-SNAPSHOT</version>
30     </parent>
31
32     <artifactId>api-packages</artifactId>
33     <packaging>pom</packaging>
34     <name>${project.artifactId}</name>
35
36     <properties>
37         <!-- There is no code in this submodule, only holds interfaces. So skip sonar. -->
38         <sonar.skip>true</sonar.skip>
39     </properties>
40
41     <profiles>
42         <profile>
43             <id>default</id>
44             <activation>
45                 <activeByDefault>true</activeByDefault>
46             </activation>
47             <modules>
48                 <module>policy-api-tarball</module>
49             </modules>
50         </profile>
51         <profile>
52             <id>docker</id>
53             <modules>
54                 <module>policy-api-tarball</module>
55                 <module>policy-api-docker</module>
56             </modules>
57             <properties>
58                 <docker.skip.push>false</docker.skip.push>
59                 <dockerFile>Dockerfile</dockerFile>
60             </properties>
61         </profile>
62         <profile>
63             <id>dockersuse</id>
64             <modules>
65                 <module>policy-api-tarball</module>
66                 <module>policy-api-docker</module>
67             </modules>
68             <properties>
69                 <docker.skip.push>false</docker.skip.push>
70                 <dockerFile>suse.Dockerfile</dockerFile>
71             </properties>
72         </profile>
73     </profiles>
74 </project>