<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>

	<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>