blob: 2a5f94163727b305e8c7c1a00a5870276e1869e7 [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>
39 <module>bootstrap</module>
40 <module>scripts</module>
Lusheng Jiafe7fb02017-10-17 09:35:34 -040041 <module>cloud_init</module>
Lusheng Ji6d381a52018-03-22 14:27:41 -040042 <module>redis-cluster-container</module>
Lusheng Jid6d409f2018-03-22 23:25:45 -040043 <module>tca-cdap-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 Jic38ca2f2017-09-11 20:11:29 +000046 </modules>
47
Andrew Gauldb34cbd02017-08-24 16:46:17 -040048 <properties>
49 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Lusheng Jic38ca2f2017-09-11 20:11:29 +000050 <sonar.skip>true</sonar.skip>
Andrew Gauldb34cbd02017-08-24 16:46:17 -040051 <sonar.sources>.</sonar.sources>
52 <!-- customize the SONARQUBE URL -->
Lusheng Jic38ca2f2017-09-11 20:11:29 +000053 <!-- sonar.host.url>http://localhost:9000</sonar.host.url -->
Andrew Gauldb34cbd02017-08-24 16:46:17 -040054 <!-- below are language dependent -->
55 <!-- for Python -->
56 <sonar.language>py</sonar.language>
57 <sonar.pluginName>Python</sonar.pluginName>
58 <sonar.inclusions>**/*.py</sonar.inclusions>
59 <!-- for JavaScaript -->
60 <!--
61 <sonar.language>js</sonar.language>
62 <sonar.pluginName>JS</sonar.pluginName>
63 <sonar.inclusions>**/*.js</sonar.inclusions>
64 -->
65 </properties>
Andrew Gauldb34cbd02017-08-24 16:46:17 -040066 <build>
67 <finalName>${project.artifactId}-${project.version}</finalName>
68 <pluginManagement>
69 <plugins>
Lusheng Jic38ca2f2017-09-11 20:11:29 +000070 <!-- the following plugins are invoked from oparent, we do not need them -->
Andrew Gauldb34cbd02017-08-24 16:46:17 -040071 <plugin>
72 <groupId>org.sonatype.plugins</groupId>
73 <artifactId>nexus-staging-maven-plugin</artifactId>
74 <version>1.6.7</version>
75 <configuration>
76 <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
Lusheng Jic38ca2f2017-09-11 20:11:29 +000077 <skip>true</skip>
78 </configuration>
79 </plugin>
80 <plugin>
81 <groupId>org.apache.maven.plugins</groupId>
82 <artifactId>maven-deploy-plugin</artifactId>
83 <!-- This version supports the "deployAtEnd" parameter -->
84 <version>2.8</version>
85 <configuration>
86 <skip>true</skip>
87 </configuration>
88 </plugin>
89 <!-- first disable the default Java plugins at various stages -->
90 <!-- maven-resources-plugin is called during "*resource" phases by default behavior. it prepares
91 the resources dir. we do not need it -->
92 <plugin>
93 <groupId>org.apache.maven.plugins</groupId>
94 <artifactId>maven-resources-plugin</artifactId>
95 <version>2.6</version>
96 <configuration>
97 <skip>true</skip>
98 </configuration>
99 </plugin>
100 <!-- maven-compiler-plugin is called during "compile" phases by default behavior. we do not need it -->
101 <plugin>
102 <groupId>org.apache.maven.plugins</groupId>
103 <artifactId>maven-compiler-plugin</artifactId>
104 <version>3.1</version>
105 <configuration>
106 <skip>true</skip>
107 </configuration>
108 </plugin>
109 <!-- maven-jar-plugin is called during "compile" phase by default behavior. we do not need it -->
110 <plugin>
111 <groupId>org.apache.maven.plugins</groupId>
112 <artifactId>maven-jar-plugin</artifactId>
113 <version>2.4</version>
114 <executions>
115 <execution>
116 <id>default-jar</id>
117 <phase/>
118 </execution>
119 </executions>
120 </plugin>
121 <!-- maven-install-plugin is called during "install" phase by default behavior. it tries to copy stuff under
122 target dir to ~/.m2. we do not need it -->
123 <plugin>
124 <groupId>org.apache.maven.plugins</groupId>
125 <artifactId>maven-install-plugin</artifactId>
126 <version>2.4</version>
127 <configuration>
128 <skip>true</skip>
129 </configuration>
130 </plugin>
131 <!-- maven-surefire-plugin is called during "test" phase by default behavior. it triggers junit test.
132 we do not need it -->
133 <plugin>
134 <groupId>org.apache.maven.plugins</groupId>
135 <artifactId>maven-surefire-plugin</artifactId>
136 <version>2.12.4</version>
137 <configuration>
138 <skipTests>true</skipTests>
139 </configuration>
140 </plugin>
141 <plugin>
142 <groupId>org.codehaus.mojo</groupId>
143 <artifactId>exec-maven-plugin</artifactId>
144 <version>1.2.1</version>
145 <configuration>
146 <executable>${session.executionRootDirectory}/mvn-phase-script.sh</executable>
147 <environmentVariables>
148 <!-- make mvn properties as env for our script -->
Lusheng Jid92d4482017-09-21 05:42:28 +0000149 <MVN_PROJECT_GROUPID>${project.groupId}</MVN_PROJECT_GROUPID>
150 <MVN_PROJECT_ARTIFACTID>${project.artifactId}</MVN_PROJECT_ARTIFACTID>
151 <MVN_PROJECT_VERSION>${project.version}</MVN_PROJECT_VERSION>
Lusheng Jic38ca2f2017-09-11 20:11:29 +0000152 <MVN_NEXUSPROXY>${onap.nexus.url}</MVN_NEXUSPROXY>
153 <MVN_RAWREPO_BASEURL_UPLOAD>${onap.nexus.rawrepo.baseurl.upload}</MVN_RAWREPO_BASEURL_UPLOAD>
154 <MVN_RAWREPO_BASEURL_DOWNLOAD>${onap.nexus.rawrepo.baseurl.download}</MVN_RAWREPO_BASEURL_DOWNLOAD>
155 <MVN_RAWREPO_SERVERID>${onap.nexus.rawrepo.serverid}</MVN_RAWREPO_SERVERID>
Lusheng Jid92d4482017-09-21 05:42:28 +0000156 <MVN_DOCKERREGISTRY_SNAPSHOT>${onap.nexus.dockerregistry.snapshot}</MVN_DOCKERREGISTRY_SNAPSHOT>
Lusheng Jic38ca2f2017-09-11 20:11:29 +0000157 <MVN_DOCKERREGISTRY_RELEASE>${onap.nexus.dockerregistry.release}</MVN_DOCKERREGISTRY_RELEASE>
Lusheng Jid92d4482017-09-21 05:42:28 +0000158 <MVN_DOCKERREGISTRY_SNAPSHOT_SERVERID>${onap.nexus.dockerregistry.snapshot.serverid}</MVN_DOCKERREGISTRY_SNAPSHOT_SERVERID>
159 <MVN_DOCKERREGISTRY_RELEASE_SERVERID>${onap.nexus.dockerregistry.release.serverid}</MVN_DOCKERREGISTRY_RELEASE_SERVERID>
160 <MVN_PYPISERVER_BASEURL>${onap.nexus.pypiserver.baseurl}</MVN_PYPISERVER_BASEURL>
161 <MVN_PYPISERVER_SERVERID>${onap.nexus.pypiserver.serverid}</MVN_PYPISERVER_SERVERID>
Lusheng Jic38ca2f2017-09-11 20:11:29 +0000162 </environmentVariables>
Andrew Gauldb34cbd02017-08-24 16:46:17 -0400163 </configuration>
164 </plugin>
165 </plugins>
166 </pluginManagement>
Andrew Gauldb34cbd02017-08-24 16:46:17 -0400167 </build>
168</project>