blob: 6c179a688cbbf68ed0feb12ed1ad2cb03b121ab4 [file] [log] [blame]
Lusheng Ji3edab162017-08-28 16:22:14 -04001<?xml version="1.0"?>
2<!--
3================================================================================
Vijay Venkatesh Kumarc5bfc892019-07-20 03:24:28 +00004Copyright (c) 2017-2019 AT&T Intellectual Property. All rights reserved.
Lusheng Ji3edab162017-08-28 16:22:14 -04005================================================================================
6Licensed under the Apache License, Version 2.0 (the "License");
7you may not use this file except in compliance with the License.
8You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12Unless required by applicable law or agreed to in writing, software
13distributed under the License is distributed on an "AS IS" BASIS,
14WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15See the License for the specific language governing permissions and
16limitations under the License.
17============LICENSE_END=========================================================
Lusheng Ji3edab162017-08-28 16:22:14 -040018-->
Lusheng Ji3edab162017-08-28 16:22:14 -040019<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>
vagrant533e7d72017-11-25 06:50:06 +000022 <groupId>org.onap</groupId>
23 <artifactId>dcaegen2</artifactId>
24 <version>1.2.0-SNAPSHOT</version>
Lusheng Ji3edab162017-08-28 16:22:14 -040025 </parent>
26 <!-- parent>
27 <groupId>org.onap.dcae.platform</groupId>
28 <artifactId>plugins</artifactId>
29 <version>1.0.0</version>
30 </parent -->
Lusheng Ji0e903b92017-09-21 04:19:47 +000031 <groupId>org.onap.dcaegen2.platform.cli</groupId>
Lusheng Ji3edab162017-08-28 16:22:14 -040032 <artifactId>cli</artifactId>
vagrant533e7d72017-11-25 06:50:06 +000033 <name>dcaegen2-platform-cli</name>
rajendrajaiswal686dc4e2019-06-14 14:35:34 +010034 <version>1.2.0-SNAPSHOT</version>
Lusheng Ji3edab162017-08-28 16:22:14 -040035 <url>http://maven.apache.org</url>
36 <packaging>pom</packaging>
37 <modules>
38 <module>dcae-cli</module>
ms236b386d0ad2019-05-08 14:11:37 -040039 <module>component-json-schemas</module>
Lusheng Ji3edab162017-08-28 16:22:14 -040040 </modules>
41
Lusheng Ji3b22c652017-09-11 23:43:56 +000042 <properties>
43 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Lusheng Jifbd0d3f2018-03-13 12:56:21 -040044 <sonar.exclusions>**/*.py</sonar.exclusions>
Lusheng Ji3b22c652017-09-11 23:43:56 +000045 </properties>
46 <build>
47 <finalName>${project.artifactId}-${project.version}</finalName>
48 <pluginManagement>
49 <plugins>
ms236b386d0ad2019-05-08 14:11:37 -040050 <plugin>
Vijay Venkatesh Kumarc5bfc892019-07-20 03:24:28 +000051 <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 Ji3b22c652017-09-11 23:43:56 +000059 <groupId>org.apache.maven.plugins</groupId>
60 <artifactId>maven-deploy-plugin</artifactId>
ms236b386d0ad2019-05-08 14:11:37 -040061 <!-- This version supports the "deployAtEnd" parameter -->
Lusheng Ji3b22c652017-09-11 23:43:56 +000062 <version>2.8</version>
63 <configuration>
64 <skip>true</skip>
65 </configuration>
ms236b386d0ad2019-05-08 14:11:37 -040066 </plugin>
Lusheng Ji3b22c652017-09-11 23:43:56 +000067 <!-- first disable the default Java plugins at various stages -->
rajendrajaiswal686dc4e2019-06-14 14:35:34 +010068 <!-- maven-resources-plugin is called during "*resource" phases by default behavior. it prepares
ms236b386d0ad2019-05-08 14:11:37 -040069 the resources dir. we do not need it -->
Lusheng Ji3b22c652017-09-11 23:43:56 +000070 <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>
ms236b386d0ad2019-05-08 14:11:37 -040077 </plugin>
78 <!-- maven-compiler-plugin is called during "compile" phases by default behavior. we do not need it -->
Lusheng Ji3b22c652017-09-11 23:43:56 +000079 <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>
ms236b386d0ad2019-05-08 14:11:37 -040086 </plugin>
Lusheng Ji3b22c652017-09-11 23:43:56 +000087 <!-- maven-jar-plugin is called during "compile" phase by default behavior. we do not need it -->
ms236b507a5b32019-03-04 15:51:35 -050088 <!-- <plugin>
Lusheng Ji3b22c652017-09-11 23:43:56 +000089 <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>
ms236b507a5b32019-03-04 15:51:35 -050098 </plugin> -->
rajendrajaiswal686dc4e2019-06-14 14:35:34 +010099 <!-- maven-install-plugin is called during "install" phase by default behavior. it tries to copy stuff under
ms236b386d0ad2019-05-08 14:11:37 -0400100 target dir to ~/.m2. we do not need it -->
Lusheng Ji3b22c652017-09-11 23:43:56 +0000101 <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>
ms236b386d0ad2019-05-08 14:11:37 -0400108 </plugin>
Lusheng Ji3b22c652017-09-11 23:43:56 +0000109 <!-- 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>
ms236b507a5b32019-03-04 15:51:35 -0500119 <plugin>
Lusheng Ji3b22c652017-09-11 23:43:56 +0000120 <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>
ms236b386d0ad2019-05-08 14:11:37 -0400125 <environmentVariables> -->
Lusheng Ji3b22c652017-09-11 23:43:56 +0000126 <!-- make mvn properties as env for our script -->
Lusheng Ji0e903b92017-09-21 04:19:47 +0000127 <!-- make mvn properties as env for our script -->
ms236b507a5b32019-03-04 15:51:35 -0500128 <MVN_PROJECT_GROUPID>${project.groupId}</MVN_PROJECT_GROUPID>
Lusheng Ji0e903b92017-09-21 04:19:47 +0000129 <MVN_PROJECT_ARTIFACTID>${project.artifactId}</MVN_PROJECT_ARTIFACTID>
130 <MVN_PROJECT_VERSION>${project.version}</MVN_PROJECT_VERSION>
Lusheng Ji3b22c652017-09-11 23:43:56 +0000131 <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 Ji0e903b92017-09-21 04:19:47 +0000135 <MVN_DOCKERREGISTRY_SNAPSHOT>${onap.nexus.dockerregistry.snapshot}</MVN_DOCKERREGISTRY_SNAPSHOT>
Lusheng Ji3b22c652017-09-11 23:43:56 +0000136 <MVN_DOCKERREGISTRY_RELEASE>${onap.nexus.dockerregistry.release}</MVN_DOCKERREGISTRY_RELEASE>
Lusheng Ji0e903b92017-09-21 04:19:47 +0000137 <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 Ji3b22c652017-09-11 23:43:56 +0000141 </environmentVariables>
142 </configuration>
rajendrajaiswal686dc4e2019-06-14 14:35:34 +0100143 </plugin>
Lusheng Ji3b22c652017-09-11 23:43:56 +0000144 </plugins>
145 </pluginManagement>
146 </build>
Lusheng Ji3edab162017-08-28 16:22:14 -0400147</project>