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> |
Gary Wu | 86a8d90 | 2018-08-24 15:19:54 -0700 | [diff] [blame^] | 26 | <version>1.2.0</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 | f9415f0 | 2018-05-09 12:05:01 -0400 | [diff] [blame] | 33 | <version>1.2.1-SNAPSHOT</version> |
Lusheng Ji | 487c0cc | 2017-08-22 21:44:29 -0700 | [diff] [blame] | 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 | eab1675 | 2017-09-19 18:39:04 +0000 | [diff] [blame] | 58 | <sonar.skip>false</sonar.skip> |
Lusheng Ji | 487c0cc | 2017-08-22 21:44:29 -0700 | [diff] [blame] | 59 | <sonar.sources>.</sonar.sources> |
| 60 | <!-- customize the SONARQUBE URL --> |
Lusheng Ji | 64472de | 2017-08-30 02:16:05 +0000 | [diff] [blame] | 61 | <!-- sonar.host.url>http://localhost:9000</sonar.host.url --> |
Lusheng Ji | 487c0cc | 2017-08-22 21:44:29 -0700 | [diff] [blame] | 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> |
Lusheng Ji | 487c0cc | 2017-08-22 21:44:29 -0700 | [diff] [blame] | 74 | <build> |
| 75 | <finalName>${project.artifactId}-${project.version}</finalName> |
| 76 | <pluginManagement> |
| 77 | <plugins> |
Lusheng Ji | b276f38 | 2017-09-26 17:52:44 +0200 | [diff] [blame] | 78 | <!-- the following plugins are invoked from oparent, we do not need them --> |
Lusheng Ji | a29682d | 2017-10-09 21:31:11 +0000 | [diff] [blame] | 79 | <!--plugin> |
Lusheng Ji | b276f38 | 2017-09-26 17:52:44 +0200 | [diff] [blame] | 80 | <groupId>org.sonatype.plugins</groupId> |
| 81 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 82 | <version>1.6.7</version> |
| 83 | <configuration> |
| 84 | <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo> |
| 85 | </configuration> |
Lusheng Ji | a29682d | 2017-10-09 21:31:11 +0000 | [diff] [blame] | 86 | </plugin--> |
| 87 | <!--plugin> |
Lusheng Ji | b276f38 | 2017-09-26 17:52:44 +0200 | [diff] [blame] | 88 | <groupId>org.apache.maven.plugins</groupId> |
| 89 | <artifactId>maven-deploy-plugin</artifactId> |
Lusheng Ji | b276f38 | 2017-09-26 17:52:44 +0200 | [diff] [blame] | 90 | <version>2.8</version> |
| 91 | <configuration> |
| 92 | <skip>true</skip> |
| 93 | </configuration> |
Lusheng Ji | a29682d | 2017-10-09 21:31:11 +0000 | [diff] [blame] | 94 | </plugin--> |
Lusheng Ji | b276f38 | 2017-09-26 17:52:44 +0200 | [diff] [blame] | 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 --> |
Lusheng Ji | 3741e6c | 2017-10-09 22:21:47 +0000 | [diff] [blame] | 98 | <!--plugin> |
Lusheng Ji | b276f38 | 2017-09-26 17:52:44 +0200 | [diff] [blame] | 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> |
Lusheng Ji | 3741e6c | 2017-10-09 22:21:47 +0000 | [diff] [blame] | 105 | </plugin--> |
Lusheng Ji | b276f38 | 2017-09-26 17:52:44 +0200 | [diff] [blame] | 106 | <!-- 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] | 107 | <!--plugin> |
Lusheng Ji | b276f38 | 2017-09-26 17:52:44 +0200 | [diff] [blame] | 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> |
Lusheng Ji | 3741e6c | 2017-10-09 22:21:47 +0000 | [diff] [blame] | 114 | </plugin--> |
Lusheng Ji | b276f38 | 2017-09-26 17:52:44 +0200 | [diff] [blame] | 115 | <!-- 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] | 116 | <!--plugin> |
Lusheng Ji | b276f38 | 2017-09-26 17:52:44 +0200 | [diff] [blame] | 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> |
Lusheng Ji | 3741e6c | 2017-10-09 22:21:47 +0000 | [diff] [blame] | 126 | </plugin--> |
Lusheng Ji | b276f38 | 2017-09-26 17:52:44 +0200 | [diff] [blame] | 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 --> |
Lusheng Ji | 3741e6c | 2017-10-09 22:21:47 +0000 | [diff] [blame] | 129 | <!--plugin> |
Lusheng Ji | b276f38 | 2017-09-26 17:52:44 +0200 | [diff] [blame] | 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> |
Lusheng Ji | 3741e6c | 2017-10-09 22:21:47 +0000 | [diff] [blame] | 136 | </plugin--> |
Lusheng Ji | b276f38 | 2017-09-26 17:52:44 +0200 | [diff] [blame] | 137 | <!-- maven-surefire-plugin is called during "test" phase by default behavior. it triggers junit test. |
| 138 | we do not need it --> |
Lusheng Ji | 3741e6c | 2017-10-09 22:21:47 +0000 | [diff] [blame] | 139 | <!--plugin> |
Lusheng Ji | b276f38 | 2017-09-26 17:52:44 +0200 | [diff] [blame] | 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> |
Lusheng Ji | 3741e6c | 2017-10-09 22:21:47 +0000 | [diff] [blame] | 146 | </plugin--> |
Lusheng Ji | b276f38 | 2017-09-26 17:52:44 +0200 | [diff] [blame] | 147 | |
Lusheng Ji | 1694802 | 2017-09-11 23:38:09 +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 | eab1675 | 2017-09-19 18:39:04 +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 | 1694802 | 2017-09-11 23:38:09 +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 | eab1675 | 2017-09-19 18:39:04 +0000 | [diff] [blame] | 164 | <MVN_DOCKERREGISTRY_SNAPSHOT>${onap.nexus.dockerregistry.snapshot}</MVN_DOCKERREGISTRY_SNAPSHOT> |
Lusheng Ji | 1694802 | 2017-09-11 23:38:09 +0000 | [diff] [blame] | 165 | <MVN_DOCKERREGISTRY_RELEASE>${onap.nexus.dockerregistry.release}</MVN_DOCKERREGISTRY_RELEASE> |
Lusheng Ji | eab1675 | 2017-09-19 18:39:04 +0000 | [diff] [blame] | 166 | <MVN_DOCKERREGISTRY_SNAPSHOT_SERVERID>${onap.nexus.dockerregistry.snapshot.serverid}</MVN_DOCKERREGISTRY_SNAPSHOT_SERVERID> |
| 167 | <MVN_DOCKERREGISTRY_RELEASE_SERVERID>${onap.nexus.dockerregistry.release.serverid}</MVN_DOCKERREGISTRY_RELEASE_SERVERID> |
| 168 | <MVN_PYPISERVER_BASEURL>${onap.nexus.pypiserver.baseurl}</MVN_PYPISERVER_BASEURL> |
| 169 | <MVN_PYPISERVER_SERVERID>${onap.nexus.pypiserver.serverid}</MVN_PYPISERVER_SERVERID> |
Lusheng Ji | 1694802 | 2017-09-11 23:38:09 +0000 | [diff] [blame] | 170 | </environmentVariables> |
| 171 | </configuration> |
| 172 | </plugin> |
Lusheng Ji | 487c0cc | 2017-08-22 21:44:29 -0700 | [diff] [blame] | 173 | </plugins> |
| 174 | </pluginManagement> |
Lusheng Ji | 487c0cc | 2017-08-22 21:44:29 -0700 | [diff] [blame] | 175 | </build> |
| 176 | </project> |