clean up some sphinx warnings
[dcaegen2.git] / pom.xml
1 <?xml version="1.0"?>
2 <!--
3 ===========LICENSE_START========================================================
4 ================================================================================
5 Copyright (c) 2017,2023 AT&T Intellectual Property. All rights reserved.
6 ================================================================================
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
10
11      http://www.apache.org/licenses/LICENSE-2.0
12
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
18 ============LICENSE_END=========================================================
19
20 ECOMP is a trademark and service mark of AT&T Intellectual Property.
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.2.0</version>
28   </parent>
29   <!--- CHANGE THE FOLLOWING 3 OBJECTS for your own repo -->
30   <groupId>org.onap</groupId>
31   <artifactId>dcaegen2</artifactId>
32   <name>dcaegen2</name>
33
34   <version>1.2.1-SNAPSHOT</version>
35   <url>http://maven.apache.org</url>
36   <packaging>pom</packaging>
37   <!-- TODO: Revisit. Port platform docs to sphinx/rst first.
38   <modules>
39      <module>platformdoc</module>
40   </modules>
41   -->
42
43   <properties>
44     <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
45     <!-- properties for Nexus raw repo -->
46     <onap.nexus.rawrepo.baseurl.upload>https://nexus.onap.org/content/sites/raw</onap.nexus.rawrepo.baseurl.upload>
47     <onap.nexus.rawrepo.baseurl.download>https://nexus.onap.org/service/local/repositories/raw/content</onap.nexus.rawrepo.baseurl.download>
48     <onap.nexus.rawrepo.serverid>ecomp-raw</onap.nexus.rawrepo.serverid>
49     <!-- properties for Nexus Docker registry -->
50     <onap.nexus.dockerregistry.snapshot>nexus3.onap.org:10003</onap.nexus.dockerregistry.snapshot>
51     <onap.nexus.dockerregistry.release>nexus3.onap.org:10002</onap.nexus.dockerregistry.release>
52     <onap.nexus.dockerregistry.snapshot.serverid>nexus3.onap.org:10003</onap.nexus.dockerregistry.snapshot.serverid>
53     <onap.nexus.dockerregistry.release.serverid>nexus3.onap.org:10002</onap.nexus.dockerregistry.release.serverid>
54     <!-- properties for Pypi server -->
55     <onap.nexus.pypiserver.baseurl>https://nexus3.onap.org/repository/PyPi</onap.nexus.pypiserver.baseurl>
56     <onap.nexus.pypiserver.serverid>onap-pypi</onap.nexus.pypiserver.serverid>
57
58     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
59     <sonar.skip>false</sonar.skip>
60     <sonar.sources>.</sonar.sources>
61     <!-- customize the SONARQUBE URL -->
62     <!-- sonar.host.url>http://localhost:9000</sonar.host.url -->
63     <!-- below are language dependent -->
64     <!-- for Python -->
65     <sonar.language>py</sonar.language>
66     <sonar.pluginName>Python</sonar.pluginName>
67     <sonar.inclusions>**/*.py</sonar.inclusions>
68     <!-- for JavaScaript -->
69     <!--
70     <sonar.language>js</sonar.language>
71     <sonar.pluginName>JS</sonar.pluginName>
72     <sonar.inclusions>**/*.js</sonar.inclusions>
73     -->
74     <onap-gerrit-review>
75         -changelog-missing
76         -missing-setup-py
77         -changelog-or-release-file-missing
78         -copyright-year-not-found-in-file
79         -text-before-copyright
80         -copyright-not-found-in-file
81         -capitalized-extension
82       </onap-gerrit-review>
83   </properties>
84   <build>
85     <finalName>${project.artifactId}-${project.version}</finalName>
86     <pluginManagement>
87       <plugins>
88         <!-- the following plugins are invoked from oparent, we do not need them -->
89         <!--plugin>
90           <groupId>org.sonatype.plugins</groupId>
91           <artifactId>nexus-staging-maven-plugin</artifactId>
92           <version>1.6.7</version>
93           <configuration>
94             <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
95           </configuration>
96         </plugin-->
97         <!--plugin>
98           <groupId>org.apache.maven.plugins</groupId>
99           <artifactId>maven-deploy-plugin</artifactId>
100           <version>2.8</version>
101           <configuration>
102             <skip>true</skip>
103           </configuration>
104         </plugin-->
105         <!-- first disable the default Java plugins at various stages -->
106         <!-- maven-resources-plugin is called during "*resource" phases by default behavior.  it prepares 
107          the resources dir.  we do not need it -->
108         <!--plugin>
109           <groupId>org.apache.maven.plugins</groupId>
110           <artifactId>maven-resources-plugin</artifactId>
111           <version>2.6</version>
112           <configuration>
113             <skip>true</skip>
114           </configuration>
115         </plugin-->
116         <!-- maven-compiler-plugin is called during "compile" phases by default behavior.  we do not need it -->
117         <!--plugin>
118           <groupId>org.apache.maven.plugins</groupId>
119           <artifactId>maven-compiler-plugin</artifactId>
120           <version>3.1</version>
121           <configuration>
122             <skip>true</skip>
123           </configuration>
124         </plugin-->
125         <!-- maven-jar-plugin is called during "compile" phase by default behavior.  we do not need it -->
126         <!--plugin>
127           <groupId>org.apache.maven.plugins</groupId>
128           <artifactId>maven-jar-plugin</artifactId>
129           <version>2.4</version>
130           <executions>
131             <execution>
132               <id>default-jar</id>
133               <phase/>
134             </execution>
135           </executions>
136         </plugin-->
137         <!-- maven-install-plugin is called during "install" phase by default behavior.  it tries to copy stuff under 
138          target dir to ~/.m2.  we do not need it -->
139         <!--plugin>
140           <groupId>org.apache.maven.plugins</groupId>
141           <artifactId>maven-install-plugin</artifactId>
142           <version>2.4</version>
143           <configuration>
144             <skip>true</skip>
145           </configuration>
146         </plugin-->
147         <!-- maven-surefire-plugin is called during "test" phase by default behavior.  it triggers junit test.
148          we do not need it -->
149         <!--plugin>
150           <groupId>org.apache.maven.plugins</groupId>
151           <artifactId>maven-surefire-plugin</artifactId>
152           <version>2.12.4</version>
153           <configuration>
154             <skipTests>true</skipTests>
155           </configuration>
156         </plugin-->
157
158         <plugin>
159           <groupId>org.codehaus.mojo</groupId>
160           <artifactId>exec-maven-plugin</artifactId>
161           <version>1.2.1</version>
162           <configuration>
163             <executable>${session.executionRootDirectory}/mvn-phase-script.sh</executable>
164             <environmentVariables>
165               <!-- make mvn properties as env for our script -->
166               <!-- make mvn properties as env for our script -->
167               <MVN_PROJECT_GROUPID>${project.groupId}</MVN_PROJECT_GROUPID>
168               <MVN_PROJECT_ARTIFACTID>${project.artifactId}</MVN_PROJECT_ARTIFACTID>
169               <MVN_PROJECT_VERSION>${project.version}</MVN_PROJECT_VERSION>
170               <MVN_NEXUSPROXY>${onap.nexus.url}</MVN_NEXUSPROXY>
171               <MVN_RAWREPO_BASEURL_UPLOAD>${onap.nexus.rawrepo.baseurl.upload}</MVN_RAWREPO_BASEURL_UPLOAD>
172               <MVN_RAWREPO_BASEURL_DOWNLOAD>${onap.nexus.rawrepo.baseurl.download}</MVN_RAWREPO_BASEURL_DOWNLOAD>
173               <MVN_RAWREPO_SERVERID>${onap.nexus.rawrepo.serverid}</MVN_RAWREPO_SERVERID>
174               <MVN_DOCKERREGISTRY_SNAPSHOT>${onap.nexus.dockerregistry.snapshot}</MVN_DOCKERREGISTRY_SNAPSHOT>
175               <MVN_DOCKERREGISTRY_RELEASE>${onap.nexus.dockerregistry.release}</MVN_DOCKERREGISTRY_RELEASE>
176               <MVN_DOCKERREGISTRY_SNAPSHOT_SERVERID>${onap.nexus.dockerregistry.snapshot.serverid}</MVN_DOCKERREGISTRY_SNAPSHOT_SERVERID>
177               <MVN_DOCKERREGISTRY_RELEASE_SERVERID>${onap.nexus.dockerregistry.release.serverid}</MVN_DOCKERREGISTRY_RELEASE_SERVERID>
178               <MVN_PYPISERVER_BASEURL>${onap.nexus.pypiserver.baseurl}</MVN_PYPISERVER_BASEURL>
179               <MVN_PYPISERVER_SERVERID>${onap.nexus.pypiserver.serverid}</MVN_PYPISERVER_SERVERID>
180             </environmentVariables>
181           </configuration>
182         </plugin>
183       </plugins>
184     </pluginManagement>
185   </build>
186 </project>