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