Lusheng Ji | c8bd891 | 2017-08-29 14:11:28 +0000 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | <!-- |
| 3 | ================================================================================ |
| 4 | Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. |
| 5 | ================================================================================ |
| 6 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | you may not use this file except in compliance with the License. |
| 8 | You may obtain a copy of the License at |
| 9 | |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 12 | Unless required by applicable law or agreed to in writing, software |
| 13 | distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | See the License for the specific language governing permissions and |
| 16 | limitations under the License. |
| 17 | ============LICENSE_END========================================================= |
| 18 | |
| 19 | ECOMP is a trademark and service mark of AT&T Intellectual Property. |
| 20 | --> |
| 21 | |
| 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> |
Lusheng Ji | ab7883e | 2017-10-10 14:22:53 +0000 | [diff] [blame] | 27 | <version>0.1.1</version> |
Lusheng Ji | c8bd891 | 2017-08-29 14:11:28 +0000 | [diff] [blame] | 28 | </parent> |
Lusheng Ji | ef7bb6c | 2017-09-07 12:04:39 +0000 | [diff] [blame] | 29 | <groupId>org.onap.dcaegen2.platform</groupId> |
Lusheng Ji | c8bd891 | 2017-08-29 14:11:28 +0000 | [diff] [blame] | 30 | <artifactId>blueprints</artifactId> |
Jessica Wagantall | 068d3fd | 2017-09-08 11:41:08 -0700 | [diff] [blame] | 31 | <name>dcaegen2-platform-blueprints</name> |
vagrant | 00a0cd1 | 2017-11-25 07:18:46 +0000 | [diff] [blame] | 32 | <version>1.2.0-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> |
| 35 | <modules> |
| 36 | <module>blueprints</module> |
Lusheng Ji | 1b2af34 | 2017-10-15 16:37:33 -0400 | [diff] [blame] | 37 | <module>input-templates</module> |
Lusheng Ji | c8bd891 | 2017-08-29 14:11:28 +0000 | [diff] [blame] | 38 | </modules> |
| 39 | |
Lusheng Ji | c6ce768 | 2017-09-09 00:28:53 +0000 | [diff] [blame] | 40 | <properties> |
Lusheng Ji | ab7883e | 2017-10-10 14:22:53 +0000 | [diff] [blame] | 41 | <onap.nexus.url>https://nexus.onap.org</onap.nexus.url> |
| 42 | <!-- properties for Nexus raw repo --> |
| 43 | <onap.nexus.rawrepo.baseurl.upload>https://nexus.onap.org/content/sites/raw</onap.nexus.rawrepo.baseurl.upload> |
| 44 | <onap.nexus.rawrepo.baseurl.download>https://nexus.onap.org/service/local/repositories/raw/content</onap.nexus.rawrepo.baseurl.download> |
| 45 | <onap.nexus.rawrepo.serverid>ecomp-raw</onap.nexus.rawrepo.serverid> |
| 46 | <!-- properties for Nexus Docker registry --> |
| 47 | <onap.nexus.dockerregistry.snapshot>nexus3.onap.org:10003</onap.nexus.dockerregistry.snapshot> |
| 48 | <onap.nexus.dockerregistry.release>nexus3.onap.org:10003</onap.nexus.dockerregistry.release> |
| 49 | <onap.nexus.dockerregistry.public>nexus3.onap.org:10001</onap.nexus.dockerregistry.public> |
| 50 | <onap.nexus.dockerregistry.snapshot.serverid>nexus3.onap.org:10003</onap.nexus.dockerregistry.snapshot.serverid> |
| 51 | <onap.nexus.dockerregistry.release.serverid>nexus3.onap.org:10003</onap.nexus.dockerregistry.release.serverid> |
| 52 | <onap.nexus.dockerregistry.public.serverid>nexus3.onap.org:10001</onap.nexus.dockerregistry.public.serverid> |
| 53 | <!-- properties for Pypi server --> |
| 54 | <onap.nexus.pypiserver.baseurl>https://nexus3.onap.org/repository/PyPi</onap.nexus.pypiserver.baseurl> |
| 55 | <onap.nexus.pypiserver.serverid>onap-pypi</onap.nexus.pypiserver.serverid> |
| 56 | |
Lusheng Ji | c6ce768 | 2017-09-09 00:28:53 +0000 | [diff] [blame] | 57 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 58 | <sonar.skip>true</sonar.skip> |
| 59 | <sonar.sources>.</sonar.sources> |
| 60 | <!-- customize the SONARQUBE URL --> |
| 61 | <!-- sonar.host.url>http://localhost:9000</sonar.host.url --> |
| 62 | <!-- below are language dependent --> |
| 63 | <!-- for Python --> |
| 64 | <sonar.language>py</sonar.language> |
| 65 | <sonar.pluginName>Python</sonar.pluginName> |
| 66 | <sonar.inclusions>**/*.py</sonar.inclusions> |
| 67 | <!-- for JavaScaript --> |
| 68 | <!-- |
| 69 | <sonar.language>js</sonar.language> |
| 70 | <sonar.pluginName>JS</sonar.pluginName> |
| 71 | <sonar.inclusions>**/*.js</sonar.inclusions> |
| 72 | --> |
| 73 | </properties> |
| 74 | <build> |
| 75 | <finalName>${project.artifactId}-${project.version}</finalName> |
| 76 | <pluginManagement> |
| 77 | <plugins> |
Lusheng Ji | c6ce768 | 2017-09-09 00:28:53 +0000 | [diff] [blame] | 78 | <plugin> |
| 79 | <groupId>org.sonatype.plugins</groupId> |
| 80 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 81 | <version>1.6.7</version> |
| 82 | <configuration> |
| 83 | <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo> |
Lusheng Ji | c6ce768 | 2017-09-09 00:28:53 +0000 | [diff] [blame] | 84 | </configuration> |
| 85 | </plugin> |
| 86 | <plugin> |
| 87 | <groupId>org.apache.maven.plugins</groupId> |
| 88 | <artifactId>maven-deploy-plugin</artifactId> |
| 89 | <!-- This version supports the "deployAtEnd" parameter --> |
| 90 | <version>2.8</version> |
| 91 | <configuration> |
| 92 | <skip>true</skip> |
| 93 | </configuration> |
| 94 | </plugin> |
| 95 | <!-- first disable the default Java plugins at various stages --> |
| 96 | <!-- maven-resources-plugin is called during "*resource" phases by default behavior. it prepares |
| 97 | the resources dir. we do not need it --> |
| 98 | <plugin> |
| 99 | <groupId>org.apache.maven.plugins</groupId> |
| 100 | <artifactId>maven-resources-plugin</artifactId> |
| 101 | <version>2.6</version> |
| 102 | <configuration> |
| 103 | <skip>true</skip> |
| 104 | </configuration> |
| 105 | </plugin> |
| 106 | <!-- maven-compiler-plugin is called during "compile" phases by default behavior. we do not need it --> |
| 107 | <plugin> |
| 108 | <groupId>org.apache.maven.plugins</groupId> |
| 109 | <artifactId>maven-compiler-plugin</artifactId> |
| 110 | <version>3.1</version> |
| 111 | <configuration> |
| 112 | <skip>true</skip> |
| 113 | </configuration> |
| 114 | </plugin> |
| 115 | <!-- maven-jar-plugin is called during "compile" phase by default behavior. we do not need it --> |
| 116 | <plugin> |
| 117 | <groupId>org.apache.maven.plugins</groupId> |
| 118 | <artifactId>maven-jar-plugin</artifactId> |
| 119 | <version>2.4</version> |
| 120 | <executions> |
| 121 | <execution> |
| 122 | <id>default-jar</id> |
| 123 | <phase/> |
| 124 | </execution> |
| 125 | </executions> |
| 126 | </plugin> |
| 127 | <!-- maven-install-plugin is called during "install" phase by default behavior. it tries to copy stuff under |
| 128 | target dir to ~/.m2. we do not need it --> |
| 129 | <plugin> |
| 130 | <groupId>org.apache.maven.plugins</groupId> |
| 131 | <artifactId>maven-install-plugin</artifactId> |
| 132 | <version>2.4</version> |
| 133 | <configuration> |
| 134 | <skip>true</skip> |
| 135 | </configuration> |
| 136 | </plugin> |
| 137 | <!-- maven-surefire-plugin is called during "test" phase by default behavior. it triggers junit test. |
| 138 | we do not need it --> |
| 139 | <plugin> |
| 140 | <groupId>org.apache.maven.plugins</groupId> |
| 141 | <artifactId>maven-surefire-plugin</artifactId> |
| 142 | <version>2.12.4</version> |
| 143 | <configuration> |
| 144 | <skipTests>true</skipTests> |
| 145 | </configuration> |
| 146 | </plugin> |
Lusheng Ji | ab7883e | 2017-10-10 14:22:53 +0000 | [diff] [blame] | 147 | |
Lusheng Ji | c6ce768 | 2017-09-09 00:28:53 +0000 | [diff] [blame] | 148 | <plugin> |
| 149 | <groupId>org.codehaus.mojo</groupId> |
| 150 | <artifactId>exec-maven-plugin</artifactId> |
| 151 | <version>1.2.1</version> |
| 152 | <configuration> |
| 153 | <executable>${session.executionRootDirectory}/mvn-phase-script.sh</executable> |
| 154 | <environmentVariables> |
| 155 | <!-- make mvn properties as env for our script --> |
Lusheng Ji | ab7883e | 2017-10-10 14:22:53 +0000 | [diff] [blame] | 156 | <!-- make mvn properties as env for our script --> |
| 157 | <MVN_PROJECT_GROUPID>${project.groupId}</MVN_PROJECT_GROUPID> |
| 158 | <MVN_PROJECT_ARTIFACTID>${project.artifactId}</MVN_PROJECT_ARTIFACTID> |
| 159 | <MVN_PROJECT_VERSION>${project.version}</MVN_PROJECT_VERSION> |
Lusheng Ji | c6ce768 | 2017-09-09 00:28:53 +0000 | [diff] [blame] | 160 | <MVN_NEXUSPROXY>${onap.nexus.url}</MVN_NEXUSPROXY> |
| 161 | <MVN_RAWREPO_BASEURL_UPLOAD>${onap.nexus.rawrepo.baseurl.upload}</MVN_RAWREPO_BASEURL_UPLOAD> |
| 162 | <MVN_RAWREPO_BASEURL_DOWNLOAD>${onap.nexus.rawrepo.baseurl.download}</MVN_RAWREPO_BASEURL_DOWNLOAD> |
| 163 | <MVN_RAWREPO_SERVERID>${onap.nexus.rawrepo.serverid}</MVN_RAWREPO_SERVERID> |
Lusheng Ji | ab7883e | 2017-10-10 14:22:53 +0000 | [diff] [blame] | 164 | <MVN_DOCKERREGISTRY_SNAPSHOT>${onap.nexus.dockerregistry.snapshot}</MVN_DOCKERREGISTRY_SNAPSHOT> |
Lusheng Ji | c6ce768 | 2017-09-09 00:28:53 +0000 | [diff] [blame] | 165 | <MVN_DOCKERREGISTRY_RELEASE>${onap.nexus.dockerregistry.release}</MVN_DOCKERREGISTRY_RELEASE> |
Lusheng Ji | ab7883e | 2017-10-10 14:22:53 +0000 | [diff] [blame] | 166 | <MVN_DOCKERREGISTRY_PUBLIC>${onap.nexus.dockerregistry.public}</MVN_DOCKERREGISTRY_PUBLIC> |
| 167 | <MVN_DOCKERREGISTRY_SNAPSHOT_SERVERID>${onap.nexus.dockerregistry.snapshot.serverid}</MVN_DOCKERREGISTRY_SNAPSHOT_SERVERID> |
| 168 | <MVN_DOCKERREGISTRY_RELEASE_SERVERID>${onap.nexus.dockerregistry.release.serverid}</MVN_DOCKERREGISTRY_RELEASE_SERVERID> |
| 169 | <MVN_DOCKERREGISTRY_PUBLIC_SERVERID>${onap.nexus.dockerregistry.public.serverid}</MVN_DOCKERREGISTRY_PUBLIC_SERVERID> |
| 170 | <MVN_PYPISERVER_BASEURL>${onap.nexus.pypiserver.baseurl}</MVN_PYPISERVER_BASEURL> |
| 171 | <MVN_PYPISERVER_SERVERID>${onap.nexus.pypiserver.serverid}</MVN_PYPISERVER_SERVERID> |
Lusheng Ji | c6ce768 | 2017-09-09 00:28:53 +0000 | [diff] [blame] | 172 | </environmentVariables> |
| 173 | </configuration> |
| 174 | </plugin> |
| 175 | </plugins> |
| 176 | </pluginManagement> |
| 177 | </build> |
Lusheng Ji | c8bd891 | 2017-08-29 14:11:28 +0000 | [diff] [blame] | 178 | </project> |