blob: ce585bac5ed4b8b402479d8dfcced4685aba2ca4 [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>
Lusheng Jic38ca2f2017-09-11 20:11:29 +000047 </modules>
48
Andrew Gauldb34cbd02017-08-24 16:46:17 -040049 <properties>
50 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Lusheng Jic38ca2f2017-09-11 20:11:29 +000051 <sonar.skip>true</sonar.skip>
Andrew Gauldb34cbd02017-08-24 16:46:17 -040052 <sonar.sources>.</sonar.sources>
53 <!-- customize the SONARQUBE URL -->
Lusheng Jic38ca2f2017-09-11 20:11:29 +000054 <!-- sonar.host.url>http://localhost:9000</sonar.host.url -->
Andrew Gauldb34cbd02017-08-24 16:46:17 -040055 <!-- below are language dependent -->
56 <!-- for Python -->
57 <sonar.language>py</sonar.language>
58 <sonar.pluginName>Python</sonar.pluginName>
59 <sonar.inclusions>**/*.py</sonar.inclusions>
60 <!-- for JavaScaript -->
61 <!--
62 <sonar.language>js</sonar.language>
63 <sonar.pluginName>JS</sonar.pluginName>
64 <sonar.inclusions>**/*.js</sonar.inclusions>
65 -->
66 </properties>
Andrew Gauldb34cbd02017-08-24 16:46:17 -040067 <build>
68 <finalName>${project.artifactId}-${project.version}</finalName>
69 <pluginManagement>
70 <plugins>
Lusheng Jic38ca2f2017-09-11 20:11:29 +000071 <!-- the following plugins are invoked from oparent, we do not need them -->
Andrew Gauldb34cbd02017-08-24 16:46:17 -040072 <plugin>
73 <groupId>org.sonatype.plugins</groupId>
74 <artifactId>nexus-staging-maven-plugin</artifactId>
75 <version>1.6.7</version>
76 <configuration>
77 <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
Lusheng Jic38ca2f2017-09-11 20:11:29 +000078 <skip>true</skip>
79 </configuration>
80 </plugin>
81 <plugin>
82 <groupId>org.apache.maven.plugins</groupId>
83 <artifactId>maven-deploy-plugin</artifactId>
84 <!-- This version supports the "deployAtEnd" parameter -->
85 <version>2.8</version>
86 <configuration>
87 <skip>true</skip>
88 </configuration>
89 </plugin>
90 <!-- first disable the default Java plugins at various stages -->
91 <!-- maven-resources-plugin is called during "*resource" phases by default behavior. it prepares
92 the resources dir. we do not need it -->
93 <plugin>
94 <groupId>org.apache.maven.plugins</groupId>
95 <artifactId>maven-resources-plugin</artifactId>
96 <version>2.6</version>
97 <configuration>
98 <skip>true</skip>
99 </configuration>
100 </plugin>
101 <!-- maven-compiler-plugin is called during "compile" phases by default behavior. we do not need it -->
102 <plugin>
103 <groupId>org.apache.maven.plugins</groupId>
104 <artifactId>maven-compiler-plugin</artifactId>
105 <version>3.1</version>
106 <configuration>
107 <skip>true</skip>
108 </configuration>
109 </plugin>
110 <!-- maven-jar-plugin is called during "compile" phase by default behavior. we do not need it -->
111 <plugin>
112 <groupId>org.apache.maven.plugins</groupId>
113 <artifactId>maven-jar-plugin</artifactId>
114 <version>2.4</version>
115 <executions>
116 <execution>
117 <id>default-jar</id>
118 <phase/>
119 </execution>
120 </executions>
121 </plugin>
122 <!-- maven-install-plugin is called during "install" phase by default behavior. it tries to copy stuff under
123 target dir to ~/.m2. we do not need it -->
124 <plugin>
125 <groupId>org.apache.maven.plugins</groupId>
126 <artifactId>maven-install-plugin</artifactId>
127 <version>2.4</version>
128 <configuration>
129 <skip>true</skip>
130 </configuration>
131 </plugin>
132 <!-- maven-surefire-plugin is called during "test" phase by default behavior. it triggers junit test.
133 we do not need it -->
134 <plugin>
135 <groupId>org.apache.maven.plugins</groupId>
136 <artifactId>maven-surefire-plugin</artifactId>
137 <version>2.12.4</version>
138 <configuration>
139 <skipTests>true</skipTests>
140 </configuration>
141 </plugin>
142 <plugin>
143 <groupId>org.codehaus.mojo</groupId>
144 <artifactId>exec-maven-plugin</artifactId>
145 <version>1.2.1</version>
146 <configuration>
147 <executable>${session.executionRootDirectory}/mvn-phase-script.sh</executable>
148 <environmentVariables>
149 <!-- make mvn properties as env for our script -->
Lusheng Jid92d4482017-09-21 05:42:28 +0000150 <MVN_PROJECT_GROUPID>${project.groupId}</MVN_PROJECT_GROUPID>
151 <MVN_PROJECT_ARTIFACTID>${project.artifactId}</MVN_PROJECT_ARTIFACTID>
152 <MVN_PROJECT_VERSION>${project.version}</MVN_PROJECT_VERSION>
Lusheng Jic38ca2f2017-09-11 20:11:29 +0000153 <MVN_NEXUSPROXY>${onap.nexus.url}</MVN_NEXUSPROXY>
154 <MVN_RAWREPO_BASEURL_UPLOAD>${onap.nexus.rawrepo.baseurl.upload}</MVN_RAWREPO_BASEURL_UPLOAD>
155 <MVN_RAWREPO_BASEURL_DOWNLOAD>${onap.nexus.rawrepo.baseurl.download}</MVN_RAWREPO_BASEURL_DOWNLOAD>
156 <MVN_RAWREPO_SERVERID>${onap.nexus.rawrepo.serverid}</MVN_RAWREPO_SERVERID>
Lusheng Jid92d4482017-09-21 05:42:28 +0000157 <MVN_DOCKERREGISTRY_SNAPSHOT>${onap.nexus.dockerregistry.snapshot}</MVN_DOCKERREGISTRY_SNAPSHOT>
Lusheng Jic38ca2f2017-09-11 20:11:29 +0000158 <MVN_DOCKERREGISTRY_RELEASE>${onap.nexus.dockerregistry.release}</MVN_DOCKERREGISTRY_RELEASE>
Lusheng Jid92d4482017-09-21 05:42:28 +0000159 <MVN_DOCKERREGISTRY_SNAPSHOT_SERVERID>${onap.nexus.dockerregistry.snapshot.serverid}</MVN_DOCKERREGISTRY_SNAPSHOT_SERVERID>
160 <MVN_DOCKERREGISTRY_RELEASE_SERVERID>${onap.nexus.dockerregistry.release.serverid}</MVN_DOCKERREGISTRY_RELEASE_SERVERID>
161 <MVN_PYPISERVER_BASEURL>${onap.nexus.pypiserver.baseurl}</MVN_PYPISERVER_BASEURL>
162 <MVN_PYPISERVER_SERVERID>${onap.nexus.pypiserver.serverid}</MVN_PYPISERVER_SERVERID>
Lusheng Jic38ca2f2017-09-11 20:11:29 +0000163 </environmentVariables>
Andrew Gauldb34cbd02017-08-24 16:46:17 -0400164 </configuration>
165 </plugin>
166 </plugins>
167 </pluginManagement>
Andrew Gauldb34cbd02017-08-24 16:46:17 -0400168 </build>
169</project>