Containerization feature of SO
[so.git] / packages / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3         <modelVersion>4.0.0</modelVersion>
4         <parent>
5                 <groupId>org.onap.so</groupId>
6                 <artifactId>so</artifactId>
7                 <version>1.3.0-SNAPSHOT</version>
8         </parent>
9
10         <artifactId>packages</artifactId>
11         <packaging>pom</packaging>
12         <name>MSO Packages</name>
13
14
15         <profiles>
16                 <!-- DO NOT CHANGE THE *ORDER* IN WHICH THESE PROFILES ARE DEFINED! -->
17
18                 <profile>
19                         <id>default</id>
20                         <activation>
21                                 <activeByDefault>true</activeByDefault>
22                         </activation>
23                         <modules>
24                                 <module>deliveries</module>
25                         </modules>
26                 </profile>
27
28     <!-- Those profile are exclusive, choose docker or with-integration-tests -->
29                 <profile>
30                         <id>docker</id>
31                         <modules>
32                                 <module>deliveries</module>
33                                 <module>docker</module>
34                         </modules>
35                         <properties>
36                                         <!-- For this profile we probably don't want to skip the docker push (if deploy goal is specified) -->
37                                         <docker.skip.push>false</docker.skip.push>
38                         </properties>
39                 </profile>
40
41                 <profile>
42                         <id>with-integration-tests</id>
43                         <modules>
44                                 <module>deliveries</module>
45                                 <module>docker</module>
46                         </modules>
47                         <properties>
48                                         <!-- For this profile we want to skip the docker push (if deploy goal is specified) -->
49                                         <docker.skip.push>true</docker.skip.push>
50                         </properties>
51                 </profile>
52
53         </profiles>
54 </project>