Release CM container 3.3.4
[dcaegen2/deployments.git] / pom.xml
1 <?xml version="1.0"?>
2 <!--
3 ============LICENSE_START=======================================================
4 org.onap.dcae
5 ================================================================================
6 Copyright (c) 2017-2019 AT&T Intellectual Property. All rights reserved.
7 ================================================================================
8 Licensed under the Apache License, Version 2.0 (the "License");
9 you may not use this file except in compliance with the License.
10 You may obtain a copy of the License at
11
12      http://www.apache.org/licenses/LICENSE-2.0
13
14 Unless required by applicable law or agreed to in writing, software
15 distributed under the License is distributed on an "AS IS" BASIS,
16 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 See the License for the specific language governing permissions and
18 limitations under the License.
19 ============LICENSE_END=========================================================
20 -->
21 <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">
22   <modelVersion>4.0.0</modelVersion>
23   <parent>
24     <groupId>org.onap</groupId>
25     <artifactId>dcaegen2</artifactId>
26     <version>1.1.0</version>
27   </parent>
28
29   <!--- CHANGE THE FOLLOWING 3 OBJECTS for your own repo -->
30   <groupId>org.onap.dcaegen2.deployments</groupId>
31   <artifactId>deployments</artifactId>
32   <name>dcaegen2-deployments</name>
33
34   <version>1.2.0-SNAPSHOT</version>
35   <url>http://maven.apache.org</url>
36   <packaging>pom</packaging>
37
38   <modules>
39      <module>cm-container</module>
40      <module>healthcheck-container</module>
41      <module>tls-init-container</module>
42      <module>consul-loader-container</module>
43      <!--<module>multisite-init-container</module> -->
44      <module>dcae-k8s-cleanup-container</module>
45   </modules>
46 <!--  <profiles>
47     <profile>
48       <id>pnda</id>
49       <activation><activeByDefault>false</activeByDefault></activation>
50       <modules>
51         <module>pnda-mirror-container</module>
52         <module>pnda-bootstrap-container</module>
53       </modules>
54     </profile>
55   </profiles>
56 -->
57
58   <properties>
59     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
60     <sonar.skip>true</sonar.skip>
61     <sonar.sources>.</sonar.sources>
62     <!-- customize the SONARQUBE URL -->
63     <!-- sonar.host.url>http://localhost:9000</sonar.host.url -->
64     <!-- below are language dependent -->
65     <!-- for Python -->
66     <sonar.language>py</sonar.language>
67     <sonar.pluginName>Python</sonar.pluginName>
68     <sonar.inclusions>**/*.py</sonar.inclusions>
69     <!-- for JavaScaript -->
70     <!--
71     <sonar.language>js</sonar.language>
72     <sonar.pluginName>JS</sonar.pluginName>
73     <sonar.inclusions>**/*.js</sonar.inclusions>
74     -->
75   </properties>
76   <build>
77     <finalName>${project.artifactId}-${project.version}</finalName>
78     <pluginManagement>
79       <plugins>
80         <!-- the following plugins are invoked from oparent, we do not need them -->
81         <plugin>
82           <groupId>org.sonatype.plugins</groupId>
83           <artifactId>nexus-staging-maven-plugin</artifactId>
84           <version>1.6.7</version>
85           <configuration>
86             <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
87             <skip>true</skip>
88           </configuration>
89         </plugin>
90         <plugin>
91           <groupId>org.apache.maven.plugins</groupId>
92           <artifactId>maven-deploy-plugin</artifactId>
93           <!-- This version supports the "deployAtEnd" parameter -->
94           <version>2.8</version>
95           <configuration>
96             <skip>true</skip>
97           </configuration>
98         </plugin>
99         <!-- first disable the default Java plugins at various stages -->
100         <!-- maven-resources-plugin is called during "*resource" phases by default behavior.  it prepares
101          the resources dir.  we do not need it -->
102         <plugin>
103           <groupId>org.apache.maven.plugins</groupId>
104           <artifactId>maven-resources-plugin</artifactId>
105           <version>2.6</version>
106           <configuration>
107             <skip>true</skip>
108           </configuration>
109         </plugin>
110         <!-- maven-compiler-plugin is called during "compile" phases by default behavior.  we do not need it -->
111         <plugin>
112           <groupId>org.apache.maven.plugins</groupId>
113           <artifactId>maven-compiler-plugin</artifactId>
114           <version>3.1</version>
115           <configuration>
116             <skip>true</skip>
117           </configuration>
118         </plugin>
119         <!-- maven-jar-plugin is called during "compile" phase by default behavior.  we do not need it -->
120         <plugin>
121           <groupId>org.apache.maven.plugins</groupId>
122           <artifactId>maven-jar-plugin</artifactId>
123           <version>2.4</version>
124           <executions>
125             <execution>
126               <id>default-jar</id>
127               <phase/>
128             </execution>
129           </executions>
130         </plugin>
131         <!-- maven-install-plugin is called during "install" phase by default behavior.  it tries to copy stuff under
132          target dir to ~/.m2.  we do not need it -->
133         <plugin>
134           <groupId>org.apache.maven.plugins</groupId>
135           <artifactId>maven-install-plugin</artifactId>
136           <version>2.4</version>
137           <configuration>
138             <skip>true</skip>
139           </configuration>
140         </plugin>
141         <!-- maven-surefire-plugin is called during "test" phase by default behavior.  it triggers junit test.
142          we do not need it -->
143         <plugin>
144           <groupId>org.apache.maven.plugins</groupId>
145           <artifactId>maven-surefire-plugin</artifactId>
146           <version>2.12.4</version>
147           <configuration>
148             <skipTests>true</skipTests>
149           </configuration>
150         </plugin>
151         <plugin>
152           <groupId>org.codehaus.mojo</groupId>
153           <artifactId>exec-maven-plugin</artifactId>
154           <version>1.2.1</version>
155           <configuration>
156             <executable>${session.executionRootDirectory}/mvn-phase-script.sh</executable>
157             <environmentVariables>
158               <!-- make mvn properties as env for our script -->
159               <MVN_PROJECT_GROUPID>${project.groupId}</MVN_PROJECT_GROUPID>
160               <MVN_PROJECT_ARTIFACTID>${project.artifactId}</MVN_PROJECT_ARTIFACTID>
161               <MVN_PROJECT_VERSION>${project.version}</MVN_PROJECT_VERSION>
162               <MVN_NEXUSPROXY>${onap.nexus.url}</MVN_NEXUSPROXY>
163               <MVN_RAWREPO_BASEURL_UPLOAD>${onap.nexus.rawrepo.baseurl.upload}</MVN_RAWREPO_BASEURL_UPLOAD>
164               <MVN_RAWREPO_BASEURL_DOWNLOAD>${onap.nexus.rawrepo.baseurl.download}</MVN_RAWREPO_BASEURL_DOWNLOAD>
165               <MVN_RAWREPO_SERVERID>${onap.nexus.rawrepo.serverid}</MVN_RAWREPO_SERVERID>
166               <MVN_DOCKERREGISTRY_SNAPSHOT>${onap.nexus.dockerregistry.snapshot}</MVN_DOCKERREGISTRY_SNAPSHOT>
167               <MVN_DOCKERREGISTRY_RELEASE>${onap.nexus.dockerregistry.release}</MVN_DOCKERREGISTRY_RELEASE>
168               <MVN_DOCKERREGISTRY_SNAPSHOT_SERVERID>${onap.nexus.dockerregistry.snapshot.serverid}</MVN_DOCKERREGISTRY_SNAPSHOT_SERVERID>
169               <MVN_DOCKERREGISTRY_RELEASE_SERVERID>${onap.nexus.dockerregistry.release.serverid}</MVN_DOCKERREGISTRY_RELEASE_SERVERID>
170               <MVN_PYPISERVER_BASEURL>${onap.nexus.pypiserver.baseurl}</MVN_PYPISERVER_BASEURL>
171               <MVN_PYPISERVER_SERVERID>${onap.nexus.pypiserver.serverid}</MVN_PYPISERVER_SERVERID>
172             </environmentVariables>
173           </configuration>
174         </plugin>
175       </plugins>
176     </pluginManagement>
177   </build>
178 </project>