Lusheng Ji | c8bd891 | 2017-08-29 14:11:28 +0000 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | <!-- |
| 3 | ================================================================================ |
vv770d | 803fa37 | 2021-05-04 20:34:21 +0000 | [diff] [blame] | 4 | Copyright (c) 2017-2021 AT&T Intellectual Property. All rights reserved. |
Grzegorz-Lis | 361de21 | 2020-08-31 14:56:18 +0200 | [diff] [blame] | 5 | Copyright (c) 2020 Nokia. All rights reserved. |
Lusheng Ji | c8bd891 | 2017-08-29 14:11:28 +0000 | [diff] [blame] | 6 | ================================================================================ |
| 7 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | you may not use this file except in compliance with the License. |
| 9 | You may obtain a copy of the License at |
| 10 | |
| 11 | http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | |
| 13 | Unless required by applicable law or agreed to in writing, software |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | See the License for the specific language governing permissions and |
| 17 | limitations under the License. |
| 18 | ============LICENSE_END========================================================= |
| 19 | |
| 20 | ECOMP is a trademark and service mark of AT&T Intellectual Property. |
| 21 | --> |
Lusheng Ji | c8bd891 | 2017-08-29 14:11:28 +0000 | [diff] [blame] | 22 | <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"> |
| 23 | <modelVersion>4.0.0</modelVersion> |
| 24 | <parent> |
| 25 | <groupId>org.onap.oparent</groupId> |
| 26 | <artifactId>oparent</artifactId> |
Gary Wu | d0ab8a3 | 2018-08-24 15:21:05 -0700 | [diff] [blame] | 27 | <version>1.2.0</version> |
Lusheng Ji | c8bd891 | 2017-08-29 14:11:28 +0000 | [diff] [blame] | 28 | </parent> |
Jack Lucas | bad7720 | 2020-02-03 18:21:29 -0500 | [diff] [blame] | 29 | <groupId>org.onap.dcaegen2.deployments</groupId> |
| 30 | <artifactId>k8s-bootstrap-container</artifactId> |
| 31 | <name>dcaegen2-deployments-k8s-bootstrap-container</name> |
vv770d | 753da48 | 2021-07-27 19:59:56 +0000 | [diff] [blame^] | 32 | <version>3.3.1-SNAPSHOT</version> |
Lusheng Ji | c8bd891 | 2017-08-29 14:11:28 +0000 | [diff] [blame] | 33 | <url>http://maven.apache.org</url> |
| 34 | <packaging>pom</packaging> |
Lusheng Ji | c8bd891 | 2017-08-29 14:11:28 +0000 | [diff] [blame] | 35 | |
Lusheng Ji | c6ce768 | 2017-09-09 00:28:53 +0000 | [diff] [blame] | 36 | <properties> |
Lusheng Ji | ab7883e | 2017-10-10 14:22:53 +0000 | [diff] [blame] | 37 | <onap.nexus.url>https://nexus.onap.org</onap.nexus.url> |
| 38 | <!-- properties for Nexus raw repo --> |
| 39 | <onap.nexus.rawrepo.baseurl.upload>https://nexus.onap.org/content/sites/raw</onap.nexus.rawrepo.baseurl.upload> |
| 40 | <onap.nexus.rawrepo.baseurl.download>https://nexus.onap.org/service/local/repositories/raw/content</onap.nexus.rawrepo.baseurl.download> |
| 41 | <onap.nexus.rawrepo.serverid>ecomp-raw</onap.nexus.rawrepo.serverid> |
| 42 | <!-- properties for Nexus Docker registry --> |
| 43 | <onap.nexus.dockerregistry.snapshot>nexus3.onap.org:10003</onap.nexus.dockerregistry.snapshot> |
| 44 | <onap.nexus.dockerregistry.release>nexus3.onap.org:10003</onap.nexus.dockerregistry.release> |
| 45 | <onap.nexus.dockerregistry.public>nexus3.onap.org:10001</onap.nexus.dockerregistry.public> |
| 46 | <onap.nexus.dockerregistry.snapshot.serverid>nexus3.onap.org:10003</onap.nexus.dockerregistry.snapshot.serverid> |
| 47 | <onap.nexus.dockerregistry.release.serverid>nexus3.onap.org:10003</onap.nexus.dockerregistry.release.serverid> |
| 48 | <onap.nexus.dockerregistry.public.serverid>nexus3.onap.org:10001</onap.nexus.dockerregistry.public.serverid> |
| 49 | <!-- properties for Pypi server --> |
| 50 | <onap.nexus.pypiserver.baseurl>https://nexus3.onap.org/repository/PyPi</onap.nexus.pypiserver.baseurl> |
| 51 | <onap.nexus.pypiserver.serverid>onap-pypi</onap.nexus.pypiserver.serverid> |
| 52 | |
Lusheng Ji | c6ce768 | 2017-09-09 00:28:53 +0000 | [diff] [blame] | 53 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 54 | <sonar.skip>true</sonar.skip> |
| 55 | <sonar.sources>.</sonar.sources> |
| 56 | <!-- customize the SONARQUBE URL --> |
| 57 | <!-- sonar.host.url>http://localhost:9000</sonar.host.url --> |
| 58 | <!-- below are language dependent --> |
| 59 | <!-- for Python --> |
| 60 | <sonar.language>py</sonar.language> |
| 61 | <sonar.pluginName>Python</sonar.pluginName> |
| 62 | <sonar.inclusions>**/*.py</sonar.inclusions> |
| 63 | <!-- for JavaScaript --> |
| 64 | <!-- |
| 65 | <sonar.language>js</sonar.language> |
| 66 | <sonar.pluginName>JS</sonar.pluginName> |
| 67 | <sonar.inclusions>**/*.js</sonar.inclusions> |
| 68 | --> |
| 69 | </properties> |
| 70 | <build> |
| 71 | <finalName>${project.artifactId}-${project.version}</finalName> |
| 72 | <pluginManagement> |
| 73 | <plugins> |
Lusheng Ji | c6ce768 | 2017-09-09 00:28:53 +0000 | [diff] [blame] | 74 | <plugin> |
| 75 | <groupId>org.sonatype.plugins</groupId> |
| 76 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 77 | <version>1.6.7</version> |
| 78 | <configuration> |
| 79 | <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo> |
Lusheng Ji | c6ce768 | 2017-09-09 00:28:53 +0000 | [diff] [blame] | 80 | </configuration> |
| 81 | </plugin> |
| 82 | <plugin> |
| 83 | <groupId>org.apache.maven.plugins</groupId> |
| 84 | <artifactId>maven-deploy-plugin</artifactId> |
| 85 | <!-- This version supports the "deployAtEnd" parameter --> |
| 86 | <version>2.8</version> |
| 87 | <configuration> |
| 88 | <skip>true</skip> |
| 89 | </configuration> |
| 90 | </plugin> |
| 91 | <!-- first disable the default Java plugins at various stages --> |
Jack Lucas | bad7720 | 2020-02-03 18:21:29 -0500 | [diff] [blame] | 92 | <!-- maven-resources-plugin is called during "*resource" phases by default behavior. it prepares |
Lusheng Ji | c6ce768 | 2017-09-09 00:28:53 +0000 | [diff] [blame] | 93 | the resources dir. we do not need it --> |
| 94 | <plugin> |
| 95 | <groupId>org.apache.maven.plugins</groupId> |
| 96 | <artifactId>maven-resources-plugin</artifactId> |
| 97 | <version>2.6</version> |
| 98 | <configuration> |
| 99 | <skip>true</skip> |
| 100 | </configuration> |
| 101 | </plugin> |
| 102 | <!-- maven-compiler-plugin is called during "compile" phases by default behavior. we do not need it --> |
| 103 | <plugin> |
| 104 | <groupId>org.apache.maven.plugins</groupId> |
| 105 | <artifactId>maven-compiler-plugin</artifactId> |
| 106 | <version>3.1</version> |
| 107 | <configuration> |
| 108 | <skip>true</skip> |
| 109 | </configuration> |
| 110 | </plugin> |
| 111 | <!-- maven-jar-plugin is called during "compile" phase by default behavior. we do not need it --> |
| 112 | <plugin> |
| 113 | <groupId>org.apache.maven.plugins</groupId> |
| 114 | <artifactId>maven-jar-plugin</artifactId> |
| 115 | <version>2.4</version> |
| 116 | <executions> |
| 117 | <execution> |
| 118 | <id>default-jar</id> |
| 119 | <phase/> |
| 120 | </execution> |
| 121 | </executions> |
| 122 | </plugin> |
Jack Lucas | bad7720 | 2020-02-03 18:21:29 -0500 | [diff] [blame] | 123 | <!-- maven-install-plugin is called during "install" phase by default behavior. it tries to copy stuff under |
Lusheng Ji | c6ce768 | 2017-09-09 00:28:53 +0000 | [diff] [blame] | 124 | target dir to ~/.m2. we do not need it --> |
| 125 | <plugin> |
| 126 | <groupId>org.apache.maven.plugins</groupId> |
| 127 | <artifactId>maven-install-plugin</artifactId> |
| 128 | <version>2.4</version> |
| 129 | <configuration> |
| 130 | <skip>true</skip> |
| 131 | </configuration> |
| 132 | </plugin> |
| 133 | <!-- maven-surefire-plugin is called during "test" phase by default behavior. it triggers junit test. |
| 134 | we do not need it --> |
| 135 | <plugin> |
| 136 | <groupId>org.apache.maven.plugins</groupId> |
| 137 | <artifactId>maven-surefire-plugin</artifactId> |
| 138 | <version>2.12.4</version> |
| 139 | <configuration> |
| 140 | <skipTests>true</skipTests> |
| 141 | </configuration> |
| 142 | </plugin> |
Lusheng Ji | ab7883e | 2017-10-10 14:22:53 +0000 | [diff] [blame] | 143 | |
Lusheng Ji | c6ce768 | 2017-09-09 00:28:53 +0000 | [diff] [blame] | 144 | <plugin> |
| 145 | <groupId>org.codehaus.mojo</groupId> |
| 146 | <artifactId>exec-maven-plugin</artifactId> |
| 147 | <version>1.2.1</version> |
| 148 | <configuration> |
| 149 | <executable>${session.executionRootDirectory}/mvn-phase-script.sh</executable> |
| 150 | <environmentVariables> |
| 151 | <!-- make mvn properties as env for our script --> |
Lusheng Ji | ab7883e | 2017-10-10 14:22:53 +0000 | [diff] [blame] | 152 | <!-- make mvn properties as env for our script --> |
| 153 | <MVN_PROJECT_GROUPID>${project.groupId}</MVN_PROJECT_GROUPID> |
| 154 | <MVN_PROJECT_ARTIFACTID>${project.artifactId}</MVN_PROJECT_ARTIFACTID> |
| 155 | <MVN_PROJECT_VERSION>${project.version}</MVN_PROJECT_VERSION> |
Lusheng Ji | c6ce768 | 2017-09-09 00:28:53 +0000 | [diff] [blame] | 156 | <MVN_NEXUSPROXY>${onap.nexus.url}</MVN_NEXUSPROXY> |
| 157 | <MVN_RAWREPO_BASEURL_UPLOAD>${onap.nexus.rawrepo.baseurl.upload}</MVN_RAWREPO_BASEURL_UPLOAD> |
| 158 | <MVN_RAWREPO_BASEURL_DOWNLOAD>${onap.nexus.rawrepo.baseurl.download}</MVN_RAWREPO_BASEURL_DOWNLOAD> |
| 159 | <MVN_RAWREPO_SERVERID>${onap.nexus.rawrepo.serverid}</MVN_RAWREPO_SERVERID> |
Lusheng Ji | ab7883e | 2017-10-10 14:22:53 +0000 | [diff] [blame] | 160 | <MVN_DOCKERREGISTRY_SNAPSHOT>${onap.nexus.dockerregistry.snapshot}</MVN_DOCKERREGISTRY_SNAPSHOT> |
Lusheng Ji | c6ce768 | 2017-09-09 00:28:53 +0000 | [diff] [blame] | 161 | <MVN_DOCKERREGISTRY_RELEASE>${onap.nexus.dockerregistry.release}</MVN_DOCKERREGISTRY_RELEASE> |
Lusheng Ji | ab7883e | 2017-10-10 14:22:53 +0000 | [diff] [blame] | 162 | <MVN_DOCKERREGISTRY_PUBLIC>${onap.nexus.dockerregistry.public}</MVN_DOCKERREGISTRY_PUBLIC> |
| 163 | <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_DOCKERREGISTRY_PUBLIC_SERVERID>${onap.nexus.dockerregistry.public.serverid}</MVN_DOCKERREGISTRY_PUBLIC_SERVERID> |
| 166 | <MVN_PYPISERVER_BASEURL>${onap.nexus.pypiserver.baseurl}</MVN_PYPISERVER_BASEURL> |
| 167 | <MVN_PYPISERVER_SERVERID>${onap.nexus.pypiserver.serverid}</MVN_PYPISERVER_SERVERID> |
Lusheng Ji | c6ce768 | 2017-09-09 00:28:53 +0000 | [diff] [blame] | 168 | </environmentVariables> |
| 169 | </configuration> |
| 170 | </plugin> |
| 171 | </plugins> |
| 172 | </pluginManagement> |
Jack Lucas | bad7720 | 2020-02-03 18:21:29 -0500 | [diff] [blame] | 173 | <plugins> |
| 174 | <!-- now we configure custom action (calling a script) at various lifecycle phases --> |
| 175 | <plugin> |
| 176 | <groupId>org.codehaus.mojo</groupId> |
| 177 | <artifactId>exec-maven-plugin</artifactId> |
| 178 | <version>1.2.1</version> |
| 179 | <executions> |
| 180 | <execution> |
| 181 | <id>clean phase script</id> |
| 182 | <phase>clean</phase> |
| 183 | <goals> |
| 184 | <goal>exec</goal> |
| 185 | </goals> |
| 186 | <configuration> |
| 187 | <arguments> |
| 188 | <argument>${project.artifactId}</argument> |
| 189 | <argument>clean</argument> |
| 190 | </arguments> |
| 191 | </configuration> |
| 192 | </execution> |
| 193 | <execution> |
| 194 | <id>generate-sources script</id> |
| 195 | <phase>generate-sources</phase> |
| 196 | <goals> |
| 197 | <goal>exec</goal> |
| 198 | </goals> |
| 199 | <configuration> |
| 200 | <arguments> |
| 201 | <argument>${project.artifactId}</argument> |
| 202 | <argument>generate-sources</argument> |
| 203 | </arguments> |
| 204 | </configuration> |
| 205 | </execution> |
| 206 | <execution> |
| 207 | <id>compile script</id> |
| 208 | <phase>compile</phase> |
| 209 | <goals> |
| 210 | <goal>exec</goal> |
| 211 | </goals> |
| 212 | <configuration> |
| 213 | <arguments> |
| 214 | <argument>${project.artifactId}</argument> |
| 215 | <argument>compile</argument> |
| 216 | </arguments> |
| 217 | </configuration> |
| 218 | </execution> |
| 219 | <execution> |
| 220 | <id>package script</id> |
| 221 | <phase>package</phase> |
| 222 | <goals> |
| 223 | <goal>exec</goal> |
| 224 | </goals> |
| 225 | <configuration> |
| 226 | <arguments> |
| 227 | <argument>${project.artifactId}</argument> |
| 228 | <argument>package</argument> |
| 229 | </arguments> |
| 230 | </configuration> |
| 231 | </execution> |
| 232 | <execution> |
| 233 | <id>test script</id> |
| 234 | <phase>test</phase> |
| 235 | <goals> |
| 236 | <goal>exec</goal> |
| 237 | </goals> |
| 238 | <configuration> |
| 239 | <arguments> |
| 240 | <argument>${project.artifactId}</argument> |
| 241 | <argument>test</argument> |
| 242 | </arguments> |
| 243 | </configuration> |
| 244 | </execution> |
| 245 | <execution> |
| 246 | <id>install script</id> |
| 247 | <phase>install</phase> |
| 248 | <goals> |
| 249 | <goal>exec</goal> |
| 250 | </goals> |
| 251 | <configuration> |
| 252 | <arguments> |
| 253 | <argument>${project.artifactId}</argument> |
| 254 | <argument>install</argument> |
| 255 | </arguments> |
| 256 | </configuration> |
| 257 | </execution> |
| 258 | <execution> |
| 259 | <id>deploy script</id> |
| 260 | <phase>deploy</phase> |
| 261 | <goals> |
| 262 | <goal>exec</goal> |
| 263 | </goals> |
| 264 | <configuration> |
| 265 | <arguments> |
| 266 | <argument>${project.artifactId}</argument> |
| 267 | <argument>deploy</argument> |
| 268 | </arguments> |
| 269 | </configuration> |
| 270 | </execution> |
| 271 | </executions> |
| 272 | </plugin> |
| 273 | </plugins> |
Lusheng Ji | c6ce768 | 2017-09-09 00:28:53 +0000 | [diff] [blame] | 274 | </build> |
Lusheng Ji | c8bd891 | 2017-08-29 14:11:28 +0000 | [diff] [blame] | 275 | </project> |