aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pom.xml
blob: 74d4c309a415e640ab6765179455685979d7460a (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
55
56
<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.2.0-SNAPSHOT</version>
	</parent>

	<groupId>org.onap.so</groupId>
	<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>
				<module>arquillian-unit-tests</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>