summaryrefslogtreecommitdiffstats
path: root/packages/pom.xml
blob: 578127d80c20dc20a64b888fe8463b32eee5dd67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<parent>
		<groupId>org.onap.so</groupId>
		<artifactId>so</artifactId>
		<version>1.3.0-SNAPSHOT</version>
	</parent>

	<artifactId>packages</artifactId>
	<packaging>pom</packaging>
	<name>MSO Packages</name>


	<profiles>
		<!-- DO NOT CHANGE THE *ORDER* IN WHICH THESE PROFILES ARE DEFINED! -->

		<profile>
			<id>default</id>
			<activation>
				<activeByDefault>true</activeByDefault>
			</activation>
			<modules>
				<module>deliveries</module>
			</modules>
		</profile>

    <!-- Those profile are exclusive, choose docker or with-integration-tests -->
		<profile>
			<id>docker</id>
			<modules>
				<module>deliveries</module>
				<module>docker</module>
			</modules>
			<properties>
					<!-- For this profile we probably don't want to skip the docker push (if deploy goal is specified) -->
					<docker.skip.push>false</docker.skip.push>
			</properties>
		</profile>

		<profile>
			<id>with-integration-tests</id>
			<modules>
				<module>deliveries</module>
				<module>docker</module>
			</modules>
			<properties>
					<!-- For this profile we want to skip the docker push (if deploy goal is specified) -->
					<docker.skip.push>true</docker.skip.push>
			</properties>
		</profile>

	</profiles>
</project>