Lusheng Ji | 3edab16 | 2017-08-28 16:22:14 -0400 | [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> |
vagrant | 533e7d7 | 2017-11-25 06:50:06 +0000 | [diff] [blame] | 25 | <groupId>org.onap</groupId> |
| 26 | <artifactId>dcaegen2</artifactId> |
| 27 | <version>1.2.0-SNAPSHOT</version> |
Lusheng Ji | 3edab16 | 2017-08-28 16:22:14 -0400 | [diff] [blame] | 28 | </parent> |
| 29 | <!-- parent> |
| 30 | <groupId>org.onap.dcae.platform</groupId> |
| 31 | <artifactId>plugins</artifactId> |
| 32 | <version>1.0.0</version> |
| 33 | </parent --> |
Lusheng Ji | 0e903b9 | 2017-09-21 04:19:47 +0000 | [diff] [blame] | 34 | <groupId>org.onap.dcaegen2.platform.cli</groupId> |
Lusheng Ji | 3edab16 | 2017-08-28 16:22:14 -0400 | [diff] [blame] | 35 | <artifactId>cli</artifactId> |
vagrant | 533e7d7 | 2017-11-25 06:50:06 +0000 | [diff] [blame] | 36 | <name>dcaegen2-platform-cli</name> |
| 37 | <version>1.1.0-SNAPSHOT</version> |
Lusheng Ji | 3edab16 | 2017-08-28 16:22:14 -0400 | [diff] [blame] | 38 | <url>http://maven.apache.org</url> |
| 39 | <packaging>pom</packaging> |
| 40 | <modules> |
| 41 | <module>dcae-cli</module> |
Lusheng Ji | 0e903b9 | 2017-09-21 04:19:47 +0000 | [diff] [blame] | 42 | <module>component-json-schemas</module> |
Lusheng Ji | 3edab16 | 2017-08-28 16:22:14 -0400 | [diff] [blame] | 43 | </modules> |
| 44 | |
Lusheng Ji | 3b22c65 | 2017-09-11 23:43:56 +0000 | [diff] [blame] | 45 | <properties> |
| 46 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
Lusheng Ji | fbd0d3f | 2018-03-13 12:56:21 -0400 | [diff] [blame^] | 47 | <sonar.exclusions>**/*.py</sonar.exclusions> |
Lusheng Ji | 3b22c65 | 2017-09-11 23:43:56 +0000 | [diff] [blame] | 48 | </properties> |
| 49 | <build> |
| 50 | <finalName>${project.artifactId}-${project.version}</finalName> |
| 51 | <pluginManagement> |
| 52 | <plugins> |
| 53 | <!-- the following plugins are invoked from oparent, we do not need them --> |
| 54 | <plugin> |
| 55 | <groupId>org.sonatype.plugins</groupId> |
| 56 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 57 | <version>1.6.7</version> |
| 58 | <configuration> |
| 59 | <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo> |
| 60 | <skip>true</skip> |
| 61 | </configuration> |
| 62 | </plugin> |
| 63 | <plugin> |
| 64 | <groupId>org.apache.maven.plugins</groupId> |
| 65 | <artifactId>maven-deploy-plugin</artifactId> |
| 66 | <!-- This version supports the "deployAtEnd" parameter --> |
| 67 | <version>2.8</version> |
| 68 | <configuration> |
| 69 | <skip>true</skip> |
| 70 | </configuration> |
| 71 | </plugin> |
| 72 | <!-- first disable the default Java plugins at various stages --> |
| 73 | <!-- maven-resources-plugin is called during "*resource" phases by default behavior. it prepares |
| 74 | the resources dir. we do not need it --> |
| 75 | <plugin> |
| 76 | <groupId>org.apache.maven.plugins</groupId> |
| 77 | <artifactId>maven-resources-plugin</artifactId> |
| 78 | <version>2.6</version> |
| 79 | <configuration> |
| 80 | <skip>true</skip> |
| 81 | </configuration> |
| 82 | </plugin> |
| 83 | <!-- maven-compiler-plugin is called during "compile" phases by default behavior. we do not need it --> |
| 84 | <plugin> |
| 85 | <groupId>org.apache.maven.plugins</groupId> |
| 86 | <artifactId>maven-compiler-plugin</artifactId> |
| 87 | <version>3.1</version> |
| 88 | <configuration> |
| 89 | <skip>true</skip> |
| 90 | </configuration> |
| 91 | </plugin> |
| 92 | <!-- maven-jar-plugin is called during "compile" phase by default behavior. we do not need it --> |
| 93 | <plugin> |
| 94 | <groupId>org.apache.maven.plugins</groupId> |
| 95 | <artifactId>maven-jar-plugin</artifactId> |
| 96 | <version>2.4</version> |
| 97 | <executions> |
| 98 | <execution> |
| 99 | <id>default-jar</id> |
| 100 | <phase/> |
| 101 | </execution> |
| 102 | </executions> |
| 103 | </plugin> |
| 104 | <!-- maven-install-plugin is called during "install" phase by default behavior. it tries to copy stuff under |
| 105 | target dir to ~/.m2. we do not need it --> |
| 106 | <plugin> |
| 107 | <groupId>org.apache.maven.plugins</groupId> |
| 108 | <artifactId>maven-install-plugin</artifactId> |
| 109 | <version>2.4</version> |
| 110 | <configuration> |
| 111 | <skip>true</skip> |
| 112 | </configuration> |
| 113 | </plugin> |
| 114 | <!-- maven-surefire-plugin is called during "test" phase by default behavior. it triggers junit test. |
| 115 | we do not need it --> |
| 116 | <plugin> |
| 117 | <groupId>org.apache.maven.plugins</groupId> |
| 118 | <artifactId>maven-surefire-plugin</artifactId> |
| 119 | <version>2.12.4</version> |
| 120 | <configuration> |
| 121 | <skipTests>true</skipTests> |
| 122 | </configuration> |
| 123 | </plugin> |
| 124 | <plugin> |
| 125 | <groupId>org.codehaus.mojo</groupId> |
| 126 | <artifactId>exec-maven-plugin</artifactId> |
| 127 | <version>1.2.1</version> |
| 128 | <configuration> |
| 129 | <executable>${session.executionRootDirectory}/mvn-phase-script.sh</executable> |
| 130 | <environmentVariables> |
| 131 | <!-- make mvn properties as env for our script --> |
Lusheng Ji | 0e903b9 | 2017-09-21 04:19:47 +0000 | [diff] [blame] | 132 | <!-- make mvn properties as env for our script --> |
| 133 | <MVN_PROJECT_GROUPID>${project.groupId}</MVN_PROJECT_GROUPID> |
| 134 | <MVN_PROJECT_ARTIFACTID>${project.artifactId}</MVN_PROJECT_ARTIFACTID> |
| 135 | <MVN_PROJECT_VERSION>${project.version}</MVN_PROJECT_VERSION> |
Lusheng Ji | 3b22c65 | 2017-09-11 23:43:56 +0000 | [diff] [blame] | 136 | <MVN_NEXUSPROXY>${onap.nexus.url}</MVN_NEXUSPROXY> |
| 137 | <MVN_RAWREPO_BASEURL_UPLOAD>${onap.nexus.rawrepo.baseurl.upload}</MVN_RAWREPO_BASEURL_UPLOAD> |
| 138 | <MVN_RAWREPO_BASEURL_DOWNLOAD>${onap.nexus.rawrepo.baseurl.download}</MVN_RAWREPO_BASEURL_DOWNLOAD> |
| 139 | <MVN_RAWREPO_SERVERID>${onap.nexus.rawrepo.serverid}</MVN_RAWREPO_SERVERID> |
Lusheng Ji | 0e903b9 | 2017-09-21 04:19:47 +0000 | [diff] [blame] | 140 | <MVN_DOCKERREGISTRY_SNAPSHOT>${onap.nexus.dockerregistry.snapshot}</MVN_DOCKERREGISTRY_SNAPSHOT> |
Lusheng Ji | 3b22c65 | 2017-09-11 23:43:56 +0000 | [diff] [blame] | 141 | <MVN_DOCKERREGISTRY_RELEASE>${onap.nexus.dockerregistry.release}</MVN_DOCKERREGISTRY_RELEASE> |
Lusheng Ji | 0e903b9 | 2017-09-21 04:19:47 +0000 | [diff] [blame] | 142 | <MVN_DOCKERREGISTRY_SNAPSHOT_SERVERID>${onap.nexus.dockerregistry.snapshot.serverid}</MVN_DOCKERREGISTRY_SNAPSHOT_SERVERID> |
| 143 | <MVN_DOCKERREGISTRY_RELEASE_SERVERID>${onap.nexus.dockerregistry.release.serverid}</MVN_DOCKERREGISTRY_RELEASE_SERVERID> |
| 144 | <MVN_PYPISERVER_BASEURL>${onap.nexus.pypiserver.baseurl}</MVN_PYPISERVER_BASEURL> |
| 145 | <MVN_PYPISERVER_SERVERID>${onap.nexus.pypiserver.serverid}</MVN_PYPISERVER_SERVERID> |
Lusheng Ji | 3b22c65 | 2017-09-11 23:43:56 +0000 | [diff] [blame] | 146 | </environmentVariables> |
| 147 | </configuration> |
| 148 | </plugin> |
| 149 | </plugins> |
| 150 | </pluginManagement> |
| 151 | </build> |
Lusheng Ji | 3edab16 | 2017-08-28 16:22:14 -0400 | [diff] [blame] | 152 | </project> |