Lusheng Ji | 487c0cc | 2017-08-22 21:44:29 -0700 | [diff] [blame] | 1 | <?xml version="1.0"?> |
Lusheng Ji | 64472de | 2017-08-30 02:16:05 +0000 | [diff] [blame] | 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 | <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"> |
Lusheng Ji | 487c0cc | 2017-08-22 21:44:29 -0700 | [diff] [blame] | 22 | <modelVersion>4.0.0</modelVersion> |
| 23 | <parent> |
| 24 | <groupId>org.onap.oparent</groupId> |
| 25 | <artifactId>oparent</artifactId> |
Lusheng Ji | eab1675 | 2017-09-19 18:39:04 +0000 | [diff] [blame] | 26 | <version>0.1.1</version> |
Lusheng Ji | 487c0cc | 2017-08-22 21:44:29 -0700 | [diff] [blame] | 27 | </parent> |
Lusheng Ji | 487c0cc | 2017-08-22 21:44:29 -0700 | [diff] [blame] | 28 | <!--- CHANGE THE FOLLOWING 3 OBJECTS for your own repo --> |
Lusheng Ji | c8d7ad7 | 2017-10-10 03:48:00 +0000 | [diff] [blame] | 29 | <groupId>org.onap</groupId> |
Lusheng Ji | cf33dde | 2017-09-26 09:51:09 +0200 | [diff] [blame] | 30 | <artifactId>dcaegen2</artifactId> |
Lusheng Ji | c8d7ad7 | 2017-10-10 03:48:00 +0000 | [diff] [blame] | 31 | <name>dcaegen2</name> |
Lusheng Ji | 64472de | 2017-08-30 02:16:05 +0000 | [diff] [blame] | 32 | |
Lusheng Ji | 487c0cc | 2017-08-22 21:44:29 -0700 | [diff] [blame] | 33 | <version>1.0.0-SNAPSHOT</version> |
| 34 | <url>http://maven.apache.org</url> |
Lusheng Ji | 1694802 | 2017-09-11 23:38:09 +0000 | [diff] [blame] | 35 | <packaging>pom</packaging> |
Michael Hwang | 20cb023 | 2017-11-03 14:32:05 -0400 | [diff] [blame^] | 36 | <!-- TODO: Revisit. Port platform docs to sphinx/rst first. |
Lusheng Ji | 1694802 | 2017-09-11 23:38:09 +0000 | [diff] [blame] | 37 | <modules> |
| 38 | <module>platformdoc</module> |
| 39 | </modules> |
Michael Hwang | 20cb023 | 2017-11-03 14:32:05 -0400 | [diff] [blame^] | 40 | --> |
Lusheng Ji | 1694802 | 2017-09-11 23:38:09 +0000 | [diff] [blame] | 41 | |
Lusheng Ji | 487c0cc | 2017-08-22 21:44:29 -0700 | [diff] [blame] | 42 | <properties> |
Lusheng Ji | eab1675 | 2017-09-19 18:39:04 +0000 | [diff] [blame] | 43 | <onap.nexus.url>https://nexus.onap.org</onap.nexus.url> |
| 44 | <!-- properties for Nexus raw repo --> |
| 45 | <onap.nexus.rawrepo.baseurl.upload>https://nexus.onap.org/content/sites/raw</onap.nexus.rawrepo.baseurl.upload> |
| 46 | <onap.nexus.rawrepo.baseurl.download>https://nexus.onap.org/service/local/repositories/raw/content</onap.nexus.rawrepo.baseurl.download> |
| 47 | <onap.nexus.rawrepo.serverid>ecomp-raw</onap.nexus.rawrepo.serverid> |
| 48 | <!-- properties for Nexus Docker registry --> |
| 49 | <onap.nexus.dockerregistry.snapshot>nexus3.onap.org:10003</onap.nexus.dockerregistry.snapshot> |
| 50 | <onap.nexus.dockerregistry.release>nexus3.onap.org:10002</onap.nexus.dockerregistry.release> |
| 51 | <onap.nexus.dockerregistry.snapshot.serverid>nexus3.onap.org:10003</onap.nexus.dockerregistry.snapshot.serverid> |
| 52 | <onap.nexus.dockerregistry.release.serverid>nexus3.onap.org:10002</onap.nexus.dockerregistry.release.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 | 487c0cc | 2017-08-22 21:44:29 -0700 | [diff] [blame] | 57 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
Lusheng Ji | 91a5b71 | 2017-09-21 06:02:11 +0000 | [diff] [blame] | 58 | <!-- |
Lusheng Ji | eab1675 | 2017-09-19 18:39:04 +0000 | [diff] [blame] | 59 | <sonar.skip>false</sonar.skip> |
Lusheng Ji | 487c0cc | 2017-08-22 21:44:29 -0700 | [diff] [blame] | 60 | <sonar.sources>.</sonar.sources> |
Lusheng Ji | 91a5b71 | 2017-09-21 06:02:11 +0000 | [diff] [blame] | 61 | --> |
Lusheng Ji | 487c0cc | 2017-08-22 21:44:29 -0700 | [diff] [blame] | 62 | <!-- customize the SONARQUBE URL --> |
Lusheng Ji | 64472de | 2017-08-30 02:16:05 +0000 | [diff] [blame] | 63 | <!-- sonar.host.url>http://localhost:9000</sonar.host.url --> |
Lusheng Ji | 487c0cc | 2017-08-22 21:44:29 -0700 | [diff] [blame] | 64 | <!-- below are language dependent --> |
| 65 | <!-- for Python --> |
Lusheng Ji | 91a5b71 | 2017-09-21 06:02:11 +0000 | [diff] [blame] | 66 | <!-- |
Lusheng Ji | 487c0cc | 2017-08-22 21:44:29 -0700 | [diff] [blame] | 67 | <sonar.language>py</sonar.language> |
| 68 | <sonar.pluginName>Python</sonar.pluginName> |
| 69 | <sonar.inclusions>**/*.py</sonar.inclusions> |
Lusheng Ji | 91a5b71 | 2017-09-21 06:02:11 +0000 | [diff] [blame] | 70 | --> |
Lusheng Ji | 487c0cc | 2017-08-22 21:44:29 -0700 | [diff] [blame] | 71 | <!-- for JavaScaript --> |
| 72 | <!-- |
| 73 | <sonar.language>js</sonar.language> |
| 74 | <sonar.pluginName>JS</sonar.pluginName> |
| 75 | <sonar.inclusions>**/*.js</sonar.inclusions> |
| 76 | --> |
| 77 | </properties> |
Lusheng Ji | 487c0cc | 2017-08-22 21:44:29 -0700 | [diff] [blame] | 78 | <build> |
| 79 | <finalName>${project.artifactId}-${project.version}</finalName> |
| 80 | <pluginManagement> |
| 81 | <plugins> |
Lusheng Ji | b276f38 | 2017-09-26 17:52:44 +0200 | [diff] [blame] | 82 | <!-- the following plugins are invoked from oparent, we do not need them --> |
Lusheng Ji | a29682d | 2017-10-09 21:31:11 +0000 | [diff] [blame] | 83 | <!--plugin> |
Lusheng Ji | b276f38 | 2017-09-26 17:52:44 +0200 | [diff] [blame] | 84 | <groupId>org.sonatype.plugins</groupId> |
| 85 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 86 | <version>1.6.7</version> |
| 87 | <configuration> |
| 88 | <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo> |
| 89 | </configuration> |
Lusheng Ji | a29682d | 2017-10-09 21:31:11 +0000 | [diff] [blame] | 90 | </plugin--> |
| 91 | <!--plugin> |
Lusheng Ji | b276f38 | 2017-09-26 17:52:44 +0200 | [diff] [blame] | 92 | <groupId>org.apache.maven.plugins</groupId> |
| 93 | <artifactId>maven-deploy-plugin</artifactId> |
Lusheng Ji | b276f38 | 2017-09-26 17:52:44 +0200 | [diff] [blame] | 94 | <version>2.8</version> |
| 95 | <configuration> |
| 96 | <skip>true</skip> |
| 97 | </configuration> |
Lusheng Ji | a29682d | 2017-10-09 21:31:11 +0000 | [diff] [blame] | 98 | </plugin--> |
Lusheng Ji | b276f38 | 2017-09-26 17:52:44 +0200 | [diff] [blame] | 99 | <!-- first disable the default Java plugins at various stages --> |
| 100 | <!-- maven-resources-plugin is called during "*resource" phases by default behavior. it prepares |
| 101 | the resources dir. we do not need it --> |
Lusheng Ji | 3741e6c | 2017-10-09 22:21:47 +0000 | [diff] [blame] | 102 | <!--plugin> |
Lusheng Ji | b276f38 | 2017-09-26 17:52:44 +0200 | [diff] [blame] | 103 | <groupId>org.apache.maven.plugins</groupId> |
| 104 | <artifactId>maven-resources-plugin</artifactId> |
| 105 | <version>2.6</version> |
| 106 | <configuration> |
| 107 | <skip>true</skip> |
| 108 | </configuration> |
Lusheng Ji | 3741e6c | 2017-10-09 22:21:47 +0000 | [diff] [blame] | 109 | </plugin--> |
Lusheng Ji | b276f38 | 2017-09-26 17:52:44 +0200 | [diff] [blame] | 110 | <!-- maven-compiler-plugin is called during "compile" phases by default behavior. we do not need it --> |
Lusheng Ji | 3741e6c | 2017-10-09 22:21:47 +0000 | [diff] [blame] | 111 | <!--plugin> |
Lusheng Ji | b276f38 | 2017-09-26 17:52:44 +0200 | [diff] [blame] | 112 | <groupId>org.apache.maven.plugins</groupId> |
| 113 | <artifactId>maven-compiler-plugin</artifactId> |
| 114 | <version>3.1</version> |
| 115 | <configuration> |
| 116 | <skip>true</skip> |
| 117 | </configuration> |
Lusheng Ji | 3741e6c | 2017-10-09 22:21:47 +0000 | [diff] [blame] | 118 | </plugin--> |
Lusheng Ji | b276f38 | 2017-09-26 17:52:44 +0200 | [diff] [blame] | 119 | <!-- maven-jar-plugin is called during "compile" phase by default behavior. we do not need it --> |
Lusheng Ji | 3741e6c | 2017-10-09 22:21:47 +0000 | [diff] [blame] | 120 | <!--plugin> |
Lusheng Ji | b276f38 | 2017-09-26 17:52:44 +0200 | [diff] [blame] | 121 | <groupId>org.apache.maven.plugins</groupId> |
| 122 | <artifactId>maven-jar-plugin</artifactId> |
| 123 | <version>2.4</version> |
| 124 | <executions> |
| 125 | <execution> |
| 126 | <id>default-jar</id> |
| 127 | <phase/> |
| 128 | </execution> |
| 129 | </executions> |
Lusheng Ji | 3741e6c | 2017-10-09 22:21:47 +0000 | [diff] [blame] | 130 | </plugin--> |
Lusheng Ji | b276f38 | 2017-09-26 17:52:44 +0200 | [diff] [blame] | 131 | <!-- maven-install-plugin is called during "install" phase by default behavior. it tries to copy stuff under |
| 132 | target dir to ~/.m2. we do not need it --> |
Lusheng Ji | 3741e6c | 2017-10-09 22:21:47 +0000 | [diff] [blame] | 133 | <!--plugin> |
Lusheng Ji | b276f38 | 2017-09-26 17:52:44 +0200 | [diff] [blame] | 134 | <groupId>org.apache.maven.plugins</groupId> |
| 135 | <artifactId>maven-install-plugin</artifactId> |
| 136 | <version>2.4</version> |
| 137 | <configuration> |
| 138 | <skip>true</skip> |
| 139 | </configuration> |
Lusheng Ji | 3741e6c | 2017-10-09 22:21:47 +0000 | [diff] [blame] | 140 | </plugin--> |
Lusheng Ji | b276f38 | 2017-09-26 17:52:44 +0200 | [diff] [blame] | 141 | <!-- maven-surefire-plugin is called during "test" phase by default behavior. it triggers junit test. |
| 142 | we do not need it --> |
Lusheng Ji | 3741e6c | 2017-10-09 22:21:47 +0000 | [diff] [blame] | 143 | <!--plugin> |
Lusheng Ji | b276f38 | 2017-09-26 17:52:44 +0200 | [diff] [blame] | 144 | <groupId>org.apache.maven.plugins</groupId> |
| 145 | <artifactId>maven-surefire-plugin</artifactId> |
| 146 | <version>2.12.4</version> |
| 147 | <configuration> |
| 148 | <skipTests>true</skipTests> |
| 149 | </configuration> |
Lusheng Ji | 3741e6c | 2017-10-09 22:21:47 +0000 | [diff] [blame] | 150 | </plugin--> |
Lusheng Ji | b276f38 | 2017-09-26 17:52:44 +0200 | [diff] [blame] | 151 | |
Lusheng Ji | 1694802 | 2017-09-11 23:38:09 +0000 | [diff] [blame] | 152 | <plugin> |
| 153 | <groupId>org.codehaus.mojo</groupId> |
| 154 | <artifactId>exec-maven-plugin</artifactId> |
| 155 | <version>1.2.1</version> |
| 156 | <configuration> |
| 157 | <executable>${session.executionRootDirectory}/mvn-phase-script.sh</executable> |
| 158 | <environmentVariables> |
| 159 | <!-- make mvn properties as env for our script --> |
Lusheng Ji | eab1675 | 2017-09-19 18:39:04 +0000 | [diff] [blame] | 160 | <!-- make mvn properties as env for our script --> |
| 161 | <MVN_PROJECT_GROUPID>${project.groupId}</MVN_PROJECT_GROUPID> |
| 162 | <MVN_PROJECT_ARTIFACTID>${project.artifactId}</MVN_PROJECT_ARTIFACTID> |
| 163 | <MVN_PROJECT_VERSION>${project.version}</MVN_PROJECT_VERSION> |
Lusheng Ji | 1694802 | 2017-09-11 23:38:09 +0000 | [diff] [blame] | 164 | <MVN_NEXUSPROXY>${onap.nexus.url}</MVN_NEXUSPROXY> |
| 165 | <MVN_RAWREPO_BASEURL_UPLOAD>${onap.nexus.rawrepo.baseurl.upload}</MVN_RAWREPO_BASEURL_UPLOAD> |
| 166 | <MVN_RAWREPO_BASEURL_DOWNLOAD>${onap.nexus.rawrepo.baseurl.download}</MVN_RAWREPO_BASEURL_DOWNLOAD> |
| 167 | <MVN_RAWREPO_SERVERID>${onap.nexus.rawrepo.serverid}</MVN_RAWREPO_SERVERID> |
Lusheng Ji | eab1675 | 2017-09-19 18:39:04 +0000 | [diff] [blame] | 168 | <MVN_DOCKERREGISTRY_SNAPSHOT>${onap.nexus.dockerregistry.snapshot}</MVN_DOCKERREGISTRY_SNAPSHOT> |
Lusheng Ji | 1694802 | 2017-09-11 23:38:09 +0000 | [diff] [blame] | 169 | <MVN_DOCKERREGISTRY_RELEASE>${onap.nexus.dockerregistry.release}</MVN_DOCKERREGISTRY_RELEASE> |
Lusheng Ji | eab1675 | 2017-09-19 18:39:04 +0000 | [diff] [blame] | 170 | <MVN_DOCKERREGISTRY_SNAPSHOT_SERVERID>${onap.nexus.dockerregistry.snapshot.serverid}</MVN_DOCKERREGISTRY_SNAPSHOT_SERVERID> |
| 171 | <MVN_DOCKERREGISTRY_RELEASE_SERVERID>${onap.nexus.dockerregistry.release.serverid}</MVN_DOCKERREGISTRY_RELEASE_SERVERID> |
| 172 | <MVN_PYPISERVER_BASEURL>${onap.nexus.pypiserver.baseurl}</MVN_PYPISERVER_BASEURL> |
| 173 | <MVN_PYPISERVER_SERVERID>${onap.nexus.pypiserver.serverid}</MVN_PYPISERVER_SERVERID> |
Lusheng Ji | 1694802 | 2017-09-11 23:38:09 +0000 | [diff] [blame] | 174 | </environmentVariables> |
| 175 | </configuration> |
| 176 | </plugin> |
Lusheng Ji | 487c0cc | 2017-08-22 21:44:29 -0700 | [diff] [blame] | 177 | </plugins> |
| 178 | </pluginManagement> |
Lusheng Ji | 487c0cc | 2017-08-22 21:44:29 -0700 | [diff] [blame] | 179 | </build> |
| 180 | </project> |