blob: f05745d06d2cf3a31229503d68d8f4814fe9f529 [file] [log] [blame]
Andrew Gauldb34cbd02017-08-24 16:46:17 -04001<?xml version="1.0"?>
2<!--
3============LICENSE_START=======================================================
4org.onap.dcae
5================================================================================
Jack Lucas5caf1652019-02-08 14:21:58 -05006Copyright (c) 2017-2019 AT&T Intellectual Property. All rights reserved.
Andrew Gauldb34cbd02017-08-24 16:46:17 -04007================================================================================
8Licensed under the Apache License, Version 2.0 (the "License");
9you may not use this file except in compliance with the License.
10You may obtain a copy of the License at
11
12 http://www.apache.org/licenses/LICENSE-2.0
13
14Unless required by applicable law or agreed to in writing, software
15distributed under the License is distributed on an "AS IS" BASIS,
16WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17See the License for the specific language governing permissions and
18limitations 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>
Lusheng Ji7fda9002017-10-15 19:39:30 -040024 <groupId>org.onap</groupId>
25 <artifactId>dcaegen2</artifactId>
26 <version>1.1.0</version>
Andrew Gauldb34cbd02017-08-24 16:46:17 -040027 </parent>
28
29 <!--- CHANGE THE FOLLOWING 3 OBJECTS for your own repo -->
Lusheng Jid92d4482017-09-21 05:42:28 +000030 <groupId>org.onap.dcaegen2.deployments</groupId>
Andrew Gauldb34cbd02017-08-24 16:46:17 -040031 <artifactId>deployments</artifactId>
Lusheng Ji5e111842017-09-11 23:01:37 +000032 <name>dcaegen2-deployments</name>
Andrew Gauldb34cbd02017-08-24 16:46:17 -040033
vagrant379c4f52017-11-25 07:08:34 +000034 <version>1.2.0-SNAPSHOT</version>
Andrew Gauldb34cbd02017-08-24 16:46:17 -040035 <url>http://maven.apache.org</url>
Lusheng Jic38ca2f2017-09-11 20:11:29 +000036 <packaging>pom</packaging>
37
38 <modules>
Lusheng Ji6c117932018-04-03 15:07:58 -040039 <module>heat</module>
Lusheng Ji6d381a52018-03-22 14:27:41 -040040 <module>redis-cluster-container</module>
Jack Lucas16a554c2018-03-23 19:30:49 -040041 <module>cm-container</module>
Jack Lucas230ae892018-03-27 00:04:46 -040042 <module>k8s-bootstrap-container</module>
Lusheng Ji6c117932018-04-03 15:07:58 -040043 <module>tca-cdap-container</module>
Jack Lucas2832ba22018-04-20 13:22:05 +000044 <module>healthcheck-container</module>
Jack Lucas22b35852018-09-10 12:39:53 +000045 <module>tls-init-container</module>
Jack Lucas5caf1652019-02-08 14:21:58 -050046 <module>consul-loader-container</module>
Lusheng Jic38ca2f2017-09-11 20:11:29 +000047 </modules>
Donald Hunter0912b372018-09-13 11:44:43 +010048 <profiles>
49 <profile>
50 <id>pnda</id>
Vijay Venkatesh Kumar5ed51ae2019-03-11 00:54:54 +000051 <activation><activeByDefault>false</activeByDefault></activation>
Donald Hunter0912b372018-09-13 11:44:43 +010052 <modules>
53 <module>pnda-mirror-container</module>
54 <module>pnda-bootstrap-container</module>
55 </modules>
56 </profile>
57 </profiles>
Lusheng Jic38ca2f2017-09-11 20:11:29 +000058
Andrew Gauldb34cbd02017-08-24 16:46:17 -040059 <properties>
60 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Lusheng Jic38ca2f2017-09-11 20:11:29 +000061 <sonar.skip>true</sonar.skip>
Andrew Gauldb34cbd02017-08-24 16:46:17 -040062 <sonar.sources>.</sonar.sources>
63 <!-- customize the SONARQUBE URL -->
Lusheng Jic38ca2f2017-09-11 20:11:29 +000064 <!-- sonar.host.url>http://localhost:9000</sonar.host.url -->
Andrew Gauldb34cbd02017-08-24 16:46:17 -040065 <!-- below are language dependent -->
66 <!-- for Python -->
67 <sonar.language>py</sonar.language>
68 <sonar.pluginName>Python</sonar.pluginName>
69 <sonar.inclusions>**/*.py</sonar.inclusions>
70 <!-- for JavaScaript -->
71 <!--
72 <sonar.language>js</sonar.language>
73 <sonar.pluginName>JS</sonar.pluginName>
74 <sonar.inclusions>**/*.js</sonar.inclusions>
75 -->
76 </properties>
Andrew Gauldb34cbd02017-08-24 16:46:17 -040077 <build>
78 <finalName>${project.artifactId}-${project.version}</finalName>
79 <pluginManagement>
80 <plugins>
Lusheng Jic38ca2f2017-09-11 20:11:29 +000081 <!-- the following plugins are invoked from oparent, we do not need them -->
Andrew Gauldb34cbd02017-08-24 16:46:17 -040082 <plugin>
83 <groupId>org.sonatype.plugins</groupId>
84 <artifactId>nexus-staging-maven-plugin</artifactId>
85 <version>1.6.7</version>
86 <configuration>
87 <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
Lusheng Jic38ca2f2017-09-11 20:11:29 +000088 <skip>true</skip>
89 </configuration>
90 </plugin>
91 <plugin>
92 <groupId>org.apache.maven.plugins</groupId>
93 <artifactId>maven-deploy-plugin</artifactId>
94 <!-- This version supports the "deployAtEnd" parameter -->
95 <version>2.8</version>
96 <configuration>
97 <skip>true</skip>
98 </configuration>
99 </plugin>
100 <!-- first disable the default Java plugins at various stages -->
Jack Lucas5caf1652019-02-08 14:21:58 -0500101 <!-- maven-resources-plugin is called during "*resource" phases by default behavior. it prepares
Lusheng Jic38ca2f2017-09-11 20:11:29 +0000102 the resources dir. we do not need it -->
103 <plugin>
104 <groupId>org.apache.maven.plugins</groupId>
105 <artifactId>maven-resources-plugin</artifactId>
106 <version>2.6</version>
107 <configuration>
108 <skip>true</skip>
109 </configuration>
110 </plugin>
111 <!-- maven-compiler-plugin is called during "compile" phases by default behavior. we do not need it -->
112 <plugin>
113 <groupId>org.apache.maven.plugins</groupId>
114 <artifactId>maven-compiler-plugin</artifactId>
115 <version>3.1</version>
116 <configuration>
117 <skip>true</skip>
118 </configuration>
119 </plugin>
120 <!-- maven-jar-plugin is called during "compile" phase by default behavior. we do not need it -->
121 <plugin>
122 <groupId>org.apache.maven.plugins</groupId>
123 <artifactId>maven-jar-plugin</artifactId>
124 <version>2.4</version>
125 <executions>
126 <execution>
127 <id>default-jar</id>
128 <phase/>
129 </execution>
130 </executions>
131 </plugin>
Jack Lucas5caf1652019-02-08 14:21:58 -0500132 <!-- maven-install-plugin is called during "install" phase by default behavior. it tries to copy stuff under
Lusheng Jic38ca2f2017-09-11 20:11:29 +0000133 target dir to ~/.m2. we do not need it -->
134 <plugin>
135 <groupId>org.apache.maven.plugins</groupId>
136 <artifactId>maven-install-plugin</artifactId>
137 <version>2.4</version>
138 <configuration>
139 <skip>true</skip>
140 </configuration>
141 </plugin>
142 <!-- maven-surefire-plugin is called during "test" phase by default behavior. it triggers junit test.
143 we do not need it -->
144 <plugin>
145 <groupId>org.apache.maven.plugins</groupId>
146 <artifactId>maven-surefire-plugin</artifactId>
147 <version>2.12.4</version>
148 <configuration>
149 <skipTests>true</skipTests>
150 </configuration>
151 </plugin>
152 <plugin>
153 <groupId>org.codehaus.mojo</groupId>
154 <artifactId>exec-maven-plugin</artifactId>
155 <version>1.2.1</version>
156 <configuration>
157 <executable>${session.executionRootDirectory}/mvn-phase-script.sh</executable>
158 <environmentVariables>
159 <!-- make mvn properties as env for our script -->
Lusheng Jid92d4482017-09-21 05:42:28 +0000160 <MVN_PROJECT_GROUPID>${project.groupId}</MVN_PROJECT_GROUPID>
161 <MVN_PROJECT_ARTIFACTID>${project.artifactId}</MVN_PROJECT_ARTIFACTID>
162 <MVN_PROJECT_VERSION>${project.version}</MVN_PROJECT_VERSION>
Lusheng Jic38ca2f2017-09-11 20:11:29 +0000163 <MVN_NEXUSPROXY>${onap.nexus.url}</MVN_NEXUSPROXY>
164 <MVN_RAWREPO_BASEURL_UPLOAD>${onap.nexus.rawrepo.baseurl.upload}</MVN_RAWREPO_BASEURL_UPLOAD>
165 <MVN_RAWREPO_BASEURL_DOWNLOAD>${onap.nexus.rawrepo.baseurl.download}</MVN_RAWREPO_BASEURL_DOWNLOAD>
166 <MVN_RAWREPO_SERVERID>${onap.nexus.rawrepo.serverid}</MVN_RAWREPO_SERVERID>
Lusheng Jid92d4482017-09-21 05:42:28 +0000167 <MVN_DOCKERREGISTRY_SNAPSHOT>${onap.nexus.dockerregistry.snapshot}</MVN_DOCKERREGISTRY_SNAPSHOT>
Lusheng Jic38ca2f2017-09-11 20:11:29 +0000168 <MVN_DOCKERREGISTRY_RELEASE>${onap.nexus.dockerregistry.release}</MVN_DOCKERREGISTRY_RELEASE>
Lusheng Jid92d4482017-09-21 05:42:28 +0000169 <MVN_DOCKERREGISTRY_SNAPSHOT_SERVERID>${onap.nexus.dockerregistry.snapshot.serverid}</MVN_DOCKERREGISTRY_SNAPSHOT_SERVERID>
170 <MVN_DOCKERREGISTRY_RELEASE_SERVERID>${onap.nexus.dockerregistry.release.serverid}</MVN_DOCKERREGISTRY_RELEASE_SERVERID>
171 <MVN_PYPISERVER_BASEURL>${onap.nexus.pypiserver.baseurl}</MVN_PYPISERVER_BASEURL>
172 <MVN_PYPISERVER_SERVERID>${onap.nexus.pypiserver.serverid}</MVN_PYPISERVER_SERVERID>
Lusheng Jic38ca2f2017-09-11 20:11:29 +0000173 </environmentVariables>
Andrew Gauldb34cbd02017-08-24 16:46:17 -0400174 </configuration>
175 </plugin>
176 </plugins>
177 </pluginManagement>
Andrew Gauldb34cbd02017-08-24 16:46:17 -0400178 </build>
179</project>