blob: c8ba29c0b62ea648a2337bb720b6b1b504da6751 [file] [log] [blame]
Lusheng Ji487c0cc2017-08-22 21:44:29 -07001<?xml version="1.0"?>
Lusheng Ji64472de2017-08-30 02:16:05 +00002<!--
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<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">
Lusheng Ji487c0cc2017-08-22 21:44:29 -070022 <modelVersion>4.0.0</modelVersion>
23 <parent>
24 <groupId>org.onap.oparent</groupId>
25 <artifactId>oparent</artifactId>
26 <version>1.0.0-SNAPSHOT</version>
27 </parent>
Lusheng Ji487c0cc2017-08-22 21:44:29 -070028 <!--- CHANGE THE FOLLOWING 3 OBJECTS for your own repo -->
29 <groupId>org.onap.dcaegen2</groupId>
30 <artifactId>dcaegen2</artifactId>
31 <name>dcaegen2</name>
Lusheng Ji64472de2017-08-30 02:16:05 +000032
Lusheng Ji487c0cc2017-08-22 21:44:29 -070033 <version>1.0.0-SNAPSHOT</version>
34 <url>http://maven.apache.org</url>
Lusheng Ji16948022017-09-11 23:38:09 +000035 <packaging>pom</packaging>
36 <modules>
37 <module>platformdoc</module>
38 </modules>
39
Lusheng Ji487c0cc2017-08-22 21:44:29 -070040 <properties>
41 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Lusheng Ji16948022017-09-11 23:38:09 +000042 <sonar.skip>true</sonar.skip>
Lusheng Ji487c0cc2017-08-22 21:44:29 -070043 <sonar.sources>.</sonar.sources>
44 <!-- customize the SONARQUBE URL -->
Lusheng Ji64472de2017-08-30 02:16:05 +000045 <!-- sonar.host.url>http://localhost:9000</sonar.host.url -->
Lusheng Ji487c0cc2017-08-22 21:44:29 -070046 <!-- below are language dependent -->
47 <!-- for Python -->
48 <sonar.language>py</sonar.language>
49 <sonar.pluginName>Python</sonar.pluginName>
50 <sonar.inclusions>**/*.py</sonar.inclusions>
51 <!-- for JavaScaript -->
52 <!--
53 <sonar.language>js</sonar.language>
54 <sonar.pluginName>JS</sonar.pluginName>
55 <sonar.inclusions>**/*.js</sonar.inclusions>
56 -->
57 </properties>
Lusheng Ji487c0cc2017-08-22 21:44:29 -070058 <build>
59 <finalName>${project.artifactId}-${project.version}</finalName>
60 <pluginManagement>
61 <plugins>
Lusheng Ji64472de2017-08-30 02:16:05 +000062 <!-- the following plugins are invoked from oparent, we do not need them -->
Lusheng Ji487c0cc2017-08-22 21:44:29 -070063 <plugin>
Lusheng Ji64472de2017-08-30 02:16:05 +000064 <groupId>org.sonatype.plugins</groupId>
65 <artifactId>nexus-staging-maven-plugin</artifactId>
66 <version>1.6.7</version>
67 <configuration>
68 <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
Lusheng Ji16948022017-09-11 23:38:09 +000069 <skip>true</skip>
Lusheng Ji64472de2017-08-30 02:16:05 +000070 </configuration>
71 </plugin>
72 <plugin>
73 <groupId>org.apache.maven.plugins</groupId>
74 <artifactId>maven-deploy-plugin</artifactId>
75 <!-- This version supports the "deployAtEnd" parameter -->
76 <version>2.8</version>
77 <configuration>
78 <skip>true</skip>
79 </configuration>
80 </plugin>
81 <!-- first disable the default Java plugins at various stages -->
Lusheng Ji16948022017-09-11 23:38:09 +000082 <!-- maven-resources-plugin is called during "*resource" phases by default behavior. it prepares
83 the resources dir. we do not need it -->
Lusheng Ji64472de2017-08-30 02:16:05 +000084 <plugin>
85 <groupId>org.apache.maven.plugins</groupId>
86 <artifactId>maven-resources-plugin</artifactId>
87 <version>2.6</version>
88 <configuration>
89 <skip>true</skip>
90 </configuration>
91 </plugin>
92 <!-- maven-compiler-plugin is called during "compile" phases by default behavior. we do not need it -->
93 <plugin>
94 <groupId>org.apache.maven.plugins</groupId>
95 <artifactId>maven-compiler-plugin</artifactId>
96 <version>3.1</version>
97 <configuration>
98 <skip>true</skip>
99 </configuration>
100 </plugin>
101 <!-- maven-jar-plugin is called during "compile" phase by default behavior. we do not need it -->
102 <plugin>
103 <groupId>org.apache.maven.plugins</groupId>
104 <artifactId>maven-jar-plugin</artifactId>
105 <version>2.4</version>
106 <executions>
107 <execution>
108 <id>default-jar</id>
109 <phase/>
110 </execution>
111 </executions>
112 </plugin>
113 <!-- maven-install-plugin is called during "install" phase by default behavior. it tries to copy stuff under
Lusheng Ji16948022017-09-11 23:38:09 +0000114 target dir to ~/.m2. we do not need it -->
Lusheng Ji64472de2017-08-30 02:16:05 +0000115 <plugin>
116 <groupId>org.apache.maven.plugins</groupId>
117 <artifactId>maven-install-plugin</artifactId>
118 <version>2.4</version>
119 <configuration>
120 <skip>true</skip>
121 </configuration>
122 </plugin>
123 <!-- maven-surefire-plugin is called during "test" phase by default behavior. it triggers junit test.
Lusheng Ji16948022017-09-11 23:38:09 +0000124 we do not need it -->
Lusheng Ji64472de2017-08-30 02:16:05 +0000125 <plugin>
126 <groupId>org.apache.maven.plugins</groupId>
127 <artifactId>maven-surefire-plugin</artifactId>
128 <version>2.12.4</version>
129 <configuration>
130 <skipTests>true</skipTests>
131 </configuration>
Lusheng Ji487c0cc2017-08-22 21:44:29 -0700132 </plugin>
Lusheng Ji16948022017-09-11 23:38:09 +0000133 <plugin>
134 <groupId>org.codehaus.mojo</groupId>
135 <artifactId>exec-maven-plugin</artifactId>
136 <version>1.2.1</version>
137 <configuration>
138 <executable>${session.executionRootDirectory}/mvn-phase-script.sh</executable>
139 <environmentVariables>
140 <!-- make mvn properties as env for our script -->
141 <MVN_PROJECT_GROUPID>${parent.groupId}</MVN_PROJECT_GROUPID>
142 <MVN_PROJECT_ARTIFACTID>${parent.artifactId}</MVN_PROJECT_ARTIFACTID>
143 <MVN_PROJECT_VERSION>${parent.version}</MVN_PROJECT_VERSION>
144 <MVN_NEXUSPROXY>${onap.nexus.url}</MVN_NEXUSPROXY>
145 <MVN_RAWREPO_BASEURL_UPLOAD>${onap.nexus.rawrepo.baseurl.upload}</MVN_RAWREPO_BASEURL_UPLOAD>
146 <MVN_RAWREPO_BASEURL_DOWNLOAD>${onap.nexus.rawrepo.baseurl.download}</MVN_RAWREPO_BASEURL_DOWNLOAD>
147 <MVN_RAWREPO_SERVERID>${onap.nexus.rawrepo.serverid}</MVN_RAWREPO_SERVERID>
148 <MVN_DOCKERREGISTRY_DAILY>${onap.nexus.dockerregistry.daily}</MVN_DOCKERREGISTRY_DAILY>
149 <MVN_DOCKERREGISTRY_RELEASE>${onap.nexus.dockerregistry.release}</MVN_DOCKERREGISTRY_RELEASE>
150 </environmentVariables>
151 </configuration>
152 </plugin>
Lusheng Ji487c0cc2017-08-22 21:44:29 -0700153 </plugins>
154 </pluginManagement>
Lusheng Ji487c0cc2017-08-22 21:44:29 -0700155 </build>
156</project>