Update DCAE Committer in INFO.yaml
[dcaegen2/platform/cli.git] / pom.xml
1 <?xml version="1.0"?>
2 <!--
3 ================================================================================
4 Copyright (c) 2017-2019 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 <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>
22     <groupId>org.onap</groupId>
23     <artifactId>dcaegen2</artifactId>
24     <version>1.2.0-SNAPSHOT</version>
25   </parent>
26   <!-- parent>
27     <groupId>org.onap.dcae.platform</groupId>
28     <artifactId>plugins</artifactId>
29     <version>1.0.0</version>
30   </parent -->
31   <groupId>org.onap.dcaegen2.platform.cli</groupId>
32   <artifactId>cli</artifactId>
33   <name>dcaegen2-platform-cli</name>
34   <version>1.2.0-SNAPSHOT</version>
35   <url>http://maven.apache.org</url>
36   <packaging>pom</packaging>
37   <modules>
38      <module>dcae-cli</module>
39      <module>component-json-schemas</module>
40   </modules>
41
42   <properties>
43     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
44     <sonar.exclusions>**/*.py</sonar.exclusions>
45   </properties>
46   <build>
47     <finalName>${project.artifactId}-${project.version}</finalName>
48     <pluginManagement>
49       <plugins>
50         <plugin>
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>
59           <groupId>org.apache.maven.plugins</groupId>
60           <artifactId>maven-deploy-plugin</artifactId>
61           <!-- This version supports the "deployAtEnd" parameter -->
62           <version>2.8</version>
63           <configuration>
64             <skip>true</skip>
65           </configuration>
66         </plugin>
67         <!-- first disable the default Java plugins at various stages -->
68         <!-- maven-resources-plugin is called during "*resource" phases by default behavior.  it prepares
69          the resources dir.  we do not need it -->
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>
77         </plugin>
78         <!-- maven-compiler-plugin is called during "compile" phases by default behavior.  we do not need it -->
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>
86         </plugin>
87         <!-- maven-jar-plugin is called during "compile" phase by default behavior.  we do not need it -->
88        <!-- <plugin>
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>
98         </plugin> -->
99         <!-- maven-install-plugin is called during "install" phase by default behavior.  it tries to copy stuff under
100          target dir to ~/.m2.  we do not need it -->
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>
108         </plugin>
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>
119        <plugin>
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>
125             <environmentVariables> -->
126               <!-- make mvn properties as env for our script -->
127               <!-- make mvn properties as env for our script -->
128              <MVN_PROJECT_GROUPID>${project.groupId}</MVN_PROJECT_GROUPID>
129               <MVN_PROJECT_ARTIFACTID>${project.artifactId}</MVN_PROJECT_ARTIFACTID>
130               <MVN_PROJECT_VERSION>${project.version}</MVN_PROJECT_VERSION>
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>
135               <MVN_DOCKERREGISTRY_SNAPSHOT>${onap.nexus.dockerregistry.snapshot}</MVN_DOCKERREGISTRY_SNAPSHOT>
136               <MVN_DOCKERREGISTRY_RELEASE>${onap.nexus.dockerregistry.release}</MVN_DOCKERREGISTRY_RELEASE>
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>
141             </environmentVariables>
142           </configuration>
143         </plugin>
144       </plugins>
145     </pluginManagement>
146   </build>
147 </project>