[DCAE] INFO.yaml update
[dcaegen2/platform/plugins.git] / pom.xml
1 <?xml version="1.0"?>
2 <!--
3 ================================================================================
4 Copyright (c) 2017-2020 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 -->
20 <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">
21   <modelVersion>4.0.0</modelVersion>
22   <parent>
23     <groupId>org.onap.oparent</groupId>
24     <artifactId>oparent</artifactId>
25     <version>1.2.0</version>
26   </parent>
27   <groupId>org.onap.dcaegen2.platform</groupId>
28   <artifactId>plugins</artifactId>
29   <name>dcaegen2-platform-plugins</name>
30   <version>1.2.0-SNAPSHOT</version>
31   <url>http://maven.apache.org</url>
32   <packaging>pom</packaging>
33   <modules>
34      <module>pgaas</module>
35      <module>clamp-policy</module>
36      <module>dcae-policy</module>
37      <module>dmaap</module>
38      <module>k8s</module>
39      <module>relationships</module>
40      <module>sshkeyshare</module>
41   </modules>
42   <properties>
43     <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
44     <!-- properties for Nexus raw repo -->
45     <onap.nexus.rawrepo.baseurl.upload>https://nexus.onap.org/content/sites/raw</onap.nexus.rawrepo.baseurl.upload>
46     <onap.nexus.rawrepo.baseurl.download>https://nexus.onap.org/service/local/repositories/raw/content</onap.nexus.rawrepo.baseurl.download>
47     <onap.nexus.rawrepo.serverid>ecomp-raw</onap.nexus.rawrepo.serverid>
48     <!-- properties for Nexus Docker registry -->
49     <onap.nexus.dockerregistry.snapshot>nexus3.onap.org:10003</onap.nexus.dockerregistry.snapshot>
50     <onap.nexus.dockerregistry.release>nexus3.onap.org:10003</onap.nexus.dockerregistry.release>
51     <onap.nexus.dockerregistry.public>nexus3.onap.org:10001</onap.nexus.dockerregistry.public>
52     <onap.nexus.dockerregistry.snapshot.serverid>nexus3.onap.org:10003</onap.nexus.dockerregistry.snapshot.serverid>
53     <onap.nexus.dockerregistry.release.serverid>nexus3.onap.org:10003</onap.nexus.dockerregistry.release.serverid>
54     <onap.nexus.dockerregistry.public.serverid>nexus3.onap.org:10001</onap.nexus.dockerregistry.public.serverid>
55     <!-- properties for Pypi server -->
56     <onap.nexus.pypiserver.baseurl>https://nexus3.onap.org/repository/PyPi</onap.nexus.pypiserver.baseurl>
57     <onap.nexus.pypiserver.serverid>onap-pypi</onap.nexus.pypiserver.serverid>
58     <!-- customize the SONARQUBE URL -->
59     <sonar.host.url>http://localhost:9000</sonar.host.url>
60     <!-- taken care of in the children -->
61     <sonar.exclusions>**/*.py</sonar.exclusions>
62   </properties>
63   <build>
64     <pluginManagement>
65       <plugins>
66         <plugin>
67           <groupId>org.sonatype.plugins</groupId>
68           <artifactId>nexus-staging-maven-plugin</artifactId>
69           <version>1.6.7</version>
70           <configuration>
71             <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
72           </configuration>
73         </plugin>
74         <plugin>
75           <groupId>org.apache.maven.plugins</groupId>
76           <artifactId>maven-deploy-plugin</artifactId>
77           <!-- This version supports the "deployAtEnd" parameter -->
78           <version>2.8</version>
79           <configuration>
80             <skip>true</skip>
81           </configuration>
82         </plugin>
83         <!-- first disable the default Java plugins at various stages -->
84         <!-- maven-resources-plugin is called during "*resource" phases by default behavior.  it prepares
85          the resources dir.  we do not need it -->
86         <plugin>
87           <groupId>org.apache.maven.plugins</groupId>
88           <artifactId>maven-resources-plugin</artifactId>
89           <version>2.6</version>
90           <configuration>
91             <skip>true</skip>
92           </configuration>
93         </plugin>
94         <!-- maven-compiler-plugin is called during "compile" phases by default behavior.  we do not need it -->
95         <plugin>
96           <groupId>org.apache.maven.plugins</groupId>
97           <artifactId>maven-compiler-plugin</artifactId>
98           <version>3.1</version>
99           <configuration>
100             <skip>true</skip>
101           </configuration>
102         </plugin>
103         <!-- maven-jar-plugin is called during "compile" phase by default behavior.  we do not need it -->
104         <plugin>
105           <groupId>org.apache.maven.plugins</groupId>
106           <artifactId>maven-jar-plugin</artifactId>
107           <version>2.4</version>
108           <executions>
109             <execution>
110               <id>default-jar</id>
111               <phase/>
112             </execution>
113           </executions>
114         </plugin>
115         <!-- maven-install-plugin is called during "install" phase by default behavior.  it tries to copy stuff under
116          target dir to ~/.m2.  we do not need it -->
117         <plugin>
118           <groupId>org.apache.maven.plugins</groupId>
119           <artifactId>maven-install-plugin</artifactId>
120           <version>2.4</version>
121           <configuration>
122             <skip>true</skip>
123           </configuration>
124         </plugin>
125         <!-- maven-surefire-plugin is called during "test" phase by default behavior.  it triggers junit test.
126          we do not need it -->
127         <plugin>
128           <groupId>org.apache.maven.plugins</groupId>
129           <artifactId>maven-surefire-plugin</artifactId>
130           <version>2.12.4</version>
131           <configuration>
132             <skipTests>true</skipTests>
133           </configuration>
134         </plugin>
135
136         <plugin>
137           <groupId>org.codehaus.mojo</groupId>
138           <artifactId>exec-maven-plugin</artifactId>
139           <version>1.2.1</version>
140           <configuration>
141             <executable>${session.executionRootDirectory}/mvn-phase-script.sh</executable>
142             <environmentVariables>
143               <!-- make mvn properties as env for our script -->
144               <!-- make mvn properties as env for our script -->
145               <MVN_PROJECT_GROUPID>${project.groupId}</MVN_PROJECT_GROUPID>
146               <MVN_PROJECT_ARTIFACTID>${project.artifactId}</MVN_PROJECT_ARTIFACTID>
147               <MVN_PROJECT_VERSION>${project.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_SNAPSHOT>${onap.nexus.dockerregistry.snapshot}</MVN_DOCKERREGISTRY_SNAPSHOT>
153               <MVN_DOCKERREGISTRY_RELEASE>${onap.nexus.dockerregistry.release}</MVN_DOCKERREGISTRY_RELEASE>
154               <MVN_DOCKERREGISTRY_PUBLIC>${onap.nexus.dockerregistry.public}</MVN_DOCKERREGISTRY_PUBLIC>
155               <MVN_DOCKERREGISTRY_SNAPSHOT_SERVERID>${onap.nexus.dockerregistry.snapshot.serverid}</MVN_DOCKERREGISTRY_SNAPSHOT_SERVERID>
156               <MVN_DOCKERREGISTRY_RELEASE_SERVERID>${onap.nexus.dockerregistry.release.serverid}</MVN_DOCKERREGISTRY_RELEASE_SERVERID>
157               <MVN_DOCKERREGISTRY_PUBLIC_SERVERID>${onap.nexus.dockerregistry.public.serverid}</MVN_DOCKERREGISTRY_PUBLIC_SERVERID>
158               <MVN_PYPISERVER_BASEURL>${onap.nexus.pypiserver.baseurl}</MVN_PYPISERVER_BASEURL>
159               <MVN_PYPISERVER_SERVERID>${onap.nexus.pypiserver.serverid}</MVN_PYPISERVER_SERVERID>
160             </environmentVariables>
161           </configuration>
162         </plugin>
163       </plugins>
164     </pluginManagement>
165   </build>
166 </project>