blob: 0c0bde927cd31335c806dcd5fc21b598c8dcd323 [file] [log] [blame]
Lusheng Ji3edab162017-08-28 16:22:14 -04001<?xml version="1.0"?>
2<!--
3================================================================================
4Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
5================================================================================
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=========================================================
18
19ECOMP 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>
25 <groupId>org.onap.oparent</groupId>
26 <artifactId>oparent</artifactId>
27 <version>1.0.0-SNAPSHOT</version>
28 </parent>
29 <!-- parent>
30 <groupId>org.onap.dcae.platform</groupId>
31 <artifactId>plugins</artifactId>
32 <version>1.0.0</version>
33 </parent -->
34 <groupId>org.onap.dcaegen2.platform</groupId>
35 <artifactId>cli</artifactId>
Jessica Wagantallf0f5d952017-09-08 11:43:08 -070036 <name>dcaegen2-platform-cli</name>
Lusheng Ji3edab162017-08-28 16:22:14 -040037 <version>1.0.0-SNAPSHOT</version>
38 <url>http://maven.apache.org</url>
39 <packaging>pom</packaging>
40 <modules>
41 <module>dcae-cli</module>
42 </modules>
43
Lusheng Ji3b22c652017-09-11 23:43:56 +000044 <properties>
45 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
46 <sonar.skip>true</sonar.skip>
47 <sonar.sources>.</sonar.sources>
48 <!-- customize the SONARQUBE URL -->
49 <!-- sonar.host.url>http://localhost:9000</sonar.host.url -->
50 <!-- below are language dependent -->
51 <!-- for Python -->
52 <sonar.language>py</sonar.language>
53 <sonar.pluginName>Python</sonar.pluginName>
54 <sonar.inclusions>**/*.py</sonar.inclusions>
55 <!-- for JavaScaript -->
56 <!--
57 <sonar.language>js</sonar.language>
58 <sonar.pluginName>JS</sonar.pluginName>
59 <sonar.inclusions>**/*.js</sonar.inclusions>
60 -->
61 </properties>
62 <build>
63 <finalName>${project.artifactId}-${project.version}</finalName>
64 <pluginManagement>
65 <plugins>
66 <!-- the following plugins are invoked from oparent, we do not need them -->
67 <plugin>
68 <groupId>org.sonatype.plugins</groupId>
69 <artifactId>nexus-staging-maven-plugin</artifactId>
70 <version>1.6.7</version>
71 <configuration>
72 <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
73 <skip>true</skip>
74 </configuration>
75 </plugin>
76 <plugin>
77 <groupId>org.apache.maven.plugins</groupId>
78 <artifactId>maven-deploy-plugin</artifactId>
79 <!-- This version supports the "deployAtEnd" parameter -->
80 <version>2.8</version>
81 <configuration>
82 <skip>true</skip>
83 </configuration>
84 </plugin>
85 <!-- first disable the default Java plugins at various stages -->
86 <!-- maven-resources-plugin is called during "*resource" phases by default behavior. it prepares
87 the resources dir. we do not need it -->
88 <plugin>
89 <groupId>org.apache.maven.plugins</groupId>
90 <artifactId>maven-resources-plugin</artifactId>
91 <version>2.6</version>
92 <configuration>
93 <skip>true</skip>
94 </configuration>
95 </plugin>
96 <!-- maven-compiler-plugin is called during "compile" phases by default behavior. we do not need it -->
97 <plugin>
98 <groupId>org.apache.maven.plugins</groupId>
99 <artifactId>maven-compiler-plugin</artifactId>
100 <version>3.1</version>
101 <configuration>
102 <skip>true</skip>
103 </configuration>
104 </plugin>
105 <!-- maven-jar-plugin is called during "compile" phase by default behavior. we do not need it -->
106 <plugin>
107 <groupId>org.apache.maven.plugins</groupId>
108 <artifactId>maven-jar-plugin</artifactId>
109 <version>2.4</version>
110 <executions>
111 <execution>
112 <id>default-jar</id>
113 <phase/>
114 </execution>
115 </executions>
116 </plugin>
117 <!-- maven-install-plugin is called during "install" phase by default behavior. it tries to copy stuff under
118 target dir to ~/.m2. we do not need it -->
119 <plugin>
120 <groupId>org.apache.maven.plugins</groupId>
121 <artifactId>maven-install-plugin</artifactId>
122 <version>2.4</version>
123 <configuration>
124 <skip>true</skip>
125 </configuration>
126 </plugin>
127 <!-- maven-surefire-plugin is called during "test" phase by default behavior. it triggers junit test.
128 we do not need it -->
129 <plugin>
130 <groupId>org.apache.maven.plugins</groupId>
131 <artifactId>maven-surefire-plugin</artifactId>
132 <version>2.12.4</version>
133 <configuration>
134 <skipTests>true</skipTests>
135 </configuration>
136 </plugin>
137 <plugin>
138 <groupId>org.codehaus.mojo</groupId>
139 <artifactId>exec-maven-plugin</artifactId>
140 <version>1.2.1</version>
141 <configuration>
142 <executable>${session.executionRootDirectory}/mvn-phase-script.sh</executable>
143 <environmentVariables>
144 <!-- make mvn properties as env for our script -->
145 <MVN_PROJECT_GROUPID>${parent.groupId}</MVN_PROJECT_GROUPID>
146 <MVN_PROJECT_ARTIFACTID>${parent.artifactId}</MVN_PROJECT_ARTIFACTID>
147 <MVN_PROJECT_VERSION>${parent.version}</MVN_PROJECT_VERSION>
148 <MVN_NEXUSPROXY>${onap.nexus.url}</MVN_NEXUSPROXY>
149 <MVN_RAWREPO_BASEURL_UPLOAD>${onap.nexus.rawrepo.baseurl.upload}</MVN_RAWREPO_BASEURL_UPLOAD>
150 <MVN_RAWREPO_BASEURL_DOWNLOAD>${onap.nexus.rawrepo.baseurl.download}</MVN_RAWREPO_BASEURL_DOWNLOAD>
151 <MVN_RAWREPO_SERVERID>${onap.nexus.rawrepo.serverid}</MVN_RAWREPO_SERVERID>
152 <MVN_DOCKERREGISTRY_DAILY>${onap.nexus.dockerregistry.daily}</MVN_DOCKERREGISTRY_DAILY>
153 <MVN_DOCKERREGISTRY_RELEASE>${onap.nexus.dockerregistry.release}</MVN_DOCKERREGISTRY_RELEASE>
154 </environmentVariables>
155 </configuration>
156 </plugin>
157 </plugins>
158 </pluginManagement>
159 </build>
Lusheng Ji3edab162017-08-28 16:22:14 -0400160</project>