blob: c837ed407ac707a282f6e7c8d7800d4767d3b2d7 [file] [log] [blame]
Andrew Gauldb34cbd02017-08-24 16:46:17 -04001<?xml version="1.0"?>
2<!--
3============LICENSE_START=======================================================
4org.onap.dcae
5================================================================================
Lusheng Ji6d381a52018-03-22 14:27:41 -04006Copyright (c) 2017-2018 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 Jic38ca2f2017-09-11 20:11:29 +000040 <module>scripts</module>
Lusheng Jiafe7fb02017-10-17 09:35:34 -040041 <module>cloud_init</module>
Lusheng Ji6c117932018-04-03 15:07:58 -040042 <module>bootstrap</module>
Lusheng Ji6d381a52018-03-22 14:27:41 -040043 <module>redis-cluster-container</module>
Jack Lucas16a554c2018-03-23 19:30:49 -040044 <module>cm-container</module>
Jack Lucas230ae892018-03-27 00:04:46 -040045 <module>k8s-bootstrap-container</module>
Lusheng Ji6c117932018-04-03 15:07:58 -040046 <module>tca-cdap-container</module>
Jack Lucas2832ba22018-04-20 13:22:05 +000047 <module>healthcheck-container</module>
Julien Barbotbfa1bbe2018-08-20 18:42:48 +020048 <module>pnda-mirror-container</module>
Julien Barbot4520a7e2018-08-31 16:57:41 +020049 <module>pnda-bootstrap-container</module>
Jack Lucas22b35852018-09-10 12:39:53 +000050 <module>tls-init-container</module>
Lusheng Jic38ca2f2017-09-11 20:11:29 +000051 </modules>
52
Andrew Gauldb34cbd02017-08-24 16:46:17 -040053 <properties>
54 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Lusheng Jic38ca2f2017-09-11 20:11:29 +000055 <sonar.skip>true</sonar.skip>
Andrew Gauldb34cbd02017-08-24 16:46:17 -040056 <sonar.sources>.</sonar.sources>
57 <!-- customize the SONARQUBE URL -->
Lusheng Jic38ca2f2017-09-11 20:11:29 +000058 <!-- sonar.host.url>http://localhost:9000</sonar.host.url -->
Andrew Gauldb34cbd02017-08-24 16:46:17 -040059 <!-- below are language dependent -->
60 <!-- for Python -->
61 <sonar.language>py</sonar.language>
62 <sonar.pluginName>Python</sonar.pluginName>
63 <sonar.inclusions>**/*.py</sonar.inclusions>
64 <!-- for JavaScaript -->
65 <!--
66 <sonar.language>js</sonar.language>
67 <sonar.pluginName>JS</sonar.pluginName>
68 <sonar.inclusions>**/*.js</sonar.inclusions>
69 -->
70 </properties>
Andrew Gauldb34cbd02017-08-24 16:46:17 -040071 <build>
72 <finalName>${project.artifactId}-${project.version}</finalName>
73 <pluginManagement>
74 <plugins>
Lusheng Jic38ca2f2017-09-11 20:11:29 +000075 <!-- the following plugins are invoked from oparent, we do not need them -->
Andrew Gauldb34cbd02017-08-24 16:46:17 -040076 <plugin>
77 <groupId>org.sonatype.plugins</groupId>
78 <artifactId>nexus-staging-maven-plugin</artifactId>
79 <version>1.6.7</version>
80 <configuration>
81 <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
Lusheng Jic38ca2f2017-09-11 20:11:29 +000082 <skip>true</skip>
83 </configuration>
84 </plugin>
85 <plugin>
86 <groupId>org.apache.maven.plugins</groupId>
87 <artifactId>maven-deploy-plugin</artifactId>
88 <!-- This version supports the "deployAtEnd" parameter -->
89 <version>2.8</version>
90 <configuration>
91 <skip>true</skip>
92 </configuration>
93 </plugin>
94 <!-- first disable the default Java plugins at various stages -->
95 <!-- maven-resources-plugin is called during "*resource" phases by default behavior. it prepares
96 the resources dir. we do not need it -->
97 <plugin>
98 <groupId>org.apache.maven.plugins</groupId>
99 <artifactId>maven-resources-plugin</artifactId>
100 <version>2.6</version>
101 <configuration>
102 <skip>true</skip>
103 </configuration>
104 </plugin>
105 <!-- maven-compiler-plugin is called during "compile" phases by default behavior. we do not need it -->
106 <plugin>
107 <groupId>org.apache.maven.plugins</groupId>
108 <artifactId>maven-compiler-plugin</artifactId>
109 <version>3.1</version>
110 <configuration>
111 <skip>true</skip>
112 </configuration>
113 </plugin>
114 <!-- maven-jar-plugin is called during "compile" phase by default behavior. we do not need it -->
115 <plugin>
116 <groupId>org.apache.maven.plugins</groupId>
117 <artifactId>maven-jar-plugin</artifactId>
118 <version>2.4</version>
119 <executions>
120 <execution>
121 <id>default-jar</id>
122 <phase/>
123 </execution>
124 </executions>
125 </plugin>
126 <!-- maven-install-plugin is called during "install" phase by default behavior. it tries to copy stuff under
127 target dir to ~/.m2. we do not need it -->
128 <plugin>
129 <groupId>org.apache.maven.plugins</groupId>
130 <artifactId>maven-install-plugin</artifactId>
131 <version>2.4</version>
132 <configuration>
133 <skip>true</skip>
134 </configuration>
135 </plugin>
136 <!-- maven-surefire-plugin is called during "test" phase by default behavior. it triggers junit test.
137 we do not need it -->
138 <plugin>
139 <groupId>org.apache.maven.plugins</groupId>
140 <artifactId>maven-surefire-plugin</artifactId>
141 <version>2.12.4</version>
142 <configuration>
143 <skipTests>true</skipTests>
144 </configuration>
145 </plugin>
146 <plugin>
147 <groupId>org.codehaus.mojo</groupId>
148 <artifactId>exec-maven-plugin</artifactId>
149 <version>1.2.1</version>
150 <configuration>
151 <executable>${session.executionRootDirectory}/mvn-phase-script.sh</executable>
152 <environmentVariables>
153 <!-- make mvn properties as env for our script -->
Lusheng Jid92d4482017-09-21 05:42:28 +0000154 <MVN_PROJECT_GROUPID>${project.groupId}</MVN_PROJECT_GROUPID>
155 <MVN_PROJECT_ARTIFACTID>${project.artifactId}</MVN_PROJECT_ARTIFACTID>
156 <MVN_PROJECT_VERSION>${project.version}</MVN_PROJECT_VERSION>
Lusheng Jic38ca2f2017-09-11 20:11:29 +0000157 <MVN_NEXUSPROXY>${onap.nexus.url}</MVN_NEXUSPROXY>
158 <MVN_RAWREPO_BASEURL_UPLOAD>${onap.nexus.rawrepo.baseurl.upload}</MVN_RAWREPO_BASEURL_UPLOAD>
159 <MVN_RAWREPO_BASEURL_DOWNLOAD>${onap.nexus.rawrepo.baseurl.download}</MVN_RAWREPO_BASEURL_DOWNLOAD>
160 <MVN_RAWREPO_SERVERID>${onap.nexus.rawrepo.serverid}</MVN_RAWREPO_SERVERID>
Lusheng Jid92d4482017-09-21 05:42:28 +0000161 <MVN_DOCKERREGISTRY_SNAPSHOT>${onap.nexus.dockerregistry.snapshot}</MVN_DOCKERREGISTRY_SNAPSHOT>
Lusheng Jic38ca2f2017-09-11 20:11:29 +0000162 <MVN_DOCKERREGISTRY_RELEASE>${onap.nexus.dockerregistry.release}</MVN_DOCKERREGISTRY_RELEASE>
Lusheng Jid92d4482017-09-21 05:42:28 +0000163 <MVN_DOCKERREGISTRY_SNAPSHOT_SERVERID>${onap.nexus.dockerregistry.snapshot.serverid}</MVN_DOCKERREGISTRY_SNAPSHOT_SERVERID>
164 <MVN_DOCKERREGISTRY_RELEASE_SERVERID>${onap.nexus.dockerregistry.release.serverid}</MVN_DOCKERREGISTRY_RELEASE_SERVERID>
165 <MVN_PYPISERVER_BASEURL>${onap.nexus.pypiserver.baseurl}</MVN_PYPISERVER_BASEURL>
166 <MVN_PYPISERVER_SERVERID>${onap.nexus.pypiserver.serverid}</MVN_PYPISERVER_SERVERID>
Lusheng Jic38ca2f2017-09-11 20:11:29 +0000167 </environmentVariables>
Andrew Gauldb34cbd02017-08-24 16:46:17 -0400168 </configuration>
169 </plugin>
170 </plugins>
171 </pluginManagement>
Andrew Gauldb34cbd02017-08-24 16:46:17 -0400172 </build>
173</project>