blob: 809e91fa25a0a23af9920976ddbd319b4fc12b56 [file] [log] [blame]
Andrew Gauldb34cbd02017-08-24 16:46:17 -04001<?xml version="1.0"?>
2<!--
3============LICENSE_START=======================================================
4org.onap.dcae
5================================================================================
6Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
7================================================================================
8Licensed under the Apache License, Version 2.0 (the "License");
9you may not use this file except in compliance with the License.
10You may obtain a copy of the License at
11
12 http://www.apache.org/licenses/LICENSE-2.0
13
14Unless required by applicable law or agreed to in writing, software
15distributed under the License is distributed on an "AS IS" BASIS,
16WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17See the License for the specific language governing permissions and
18limitations under the License.
19============LICENSE_END=========================================================
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">
22 <modelVersion>4.0.0</modelVersion>
23 <parent>
Lusheng Ji7fda9002017-10-15 19:39:30 -040024 <groupId>org.onap</groupId>
25 <artifactId>dcaegen2</artifactId>
26 <version>1.1.0</version>
Andrew Gauldb34cbd02017-08-24 16:46:17 -040027 </parent>
28
29 <!--- CHANGE THE FOLLOWING 3 OBJECTS for your own repo -->
Lusheng Jid92d4482017-09-21 05:42:28 +000030 <groupId>org.onap.dcaegen2.deployments</groupId>
Andrew Gauldb34cbd02017-08-24 16:46:17 -040031 <artifactId>deployments</artifactId>
Lusheng Ji5e111842017-09-11 23:01:37 +000032 <name>dcaegen2-deployments</name>
Andrew Gauldb34cbd02017-08-24 16:46:17 -040033
34 <version>1.0.0-SNAPSHOT</version>
35 <url>http://maven.apache.org</url>
Lusheng Jic38ca2f2017-09-11 20:11:29 +000036 <packaging>pom</packaging>
37
38 <modules>
39 <module>bootstrap</module>
40 <module>scripts</module>
41 </modules>
42
Andrew Gauldb34cbd02017-08-24 16:46:17 -040043 <properties>
44 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Lusheng Jic38ca2f2017-09-11 20:11:29 +000045 <sonar.skip>true</sonar.skip>
Andrew Gauldb34cbd02017-08-24 16:46:17 -040046 <sonar.sources>.</sonar.sources>
47 <!-- customize the SONARQUBE URL -->
Lusheng Jic38ca2f2017-09-11 20:11:29 +000048 <!-- sonar.host.url>http://localhost:9000</sonar.host.url -->
Andrew Gauldb34cbd02017-08-24 16:46:17 -040049 <!-- below are language dependent -->
50 <!-- for Python -->
51 <sonar.language>py</sonar.language>
52 <sonar.pluginName>Python</sonar.pluginName>
53 <sonar.inclusions>**/*.py</sonar.inclusions>
54 <!-- for JavaScaript -->
55 <!--
56 <sonar.language>js</sonar.language>
57 <sonar.pluginName>JS</sonar.pluginName>
58 <sonar.inclusions>**/*.js</sonar.inclusions>
59 -->
60 </properties>
Andrew Gauldb34cbd02017-08-24 16:46:17 -040061 <build>
62 <finalName>${project.artifactId}-${project.version}</finalName>
63 <pluginManagement>
64 <plugins>
Lusheng Jic38ca2f2017-09-11 20:11:29 +000065 <!-- the following plugins are invoked from oparent, we do not need them -->
Andrew Gauldb34cbd02017-08-24 16:46:17 -040066 <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>
Lusheng Jic38ca2f2017-09-11 20:11:29 +000072 <skip>true</skip>
73 </configuration>
74 </plugin>
75 <plugin>
76 <groupId>org.apache.maven.plugins</groupId>
77 <artifactId>maven-deploy-plugin</artifactId>
78 <!-- This version supports the "deployAtEnd" parameter -->
79 <version>2.8</version>
80 <configuration>
81 <skip>true</skip>
82 </configuration>
83 </plugin>
84 <!-- first disable the default Java plugins at various stages -->
85 <!-- maven-resources-plugin is called during "*resource" phases by default behavior. it prepares
86 the resources dir. we do not need it -->
87 <plugin>
88 <groupId>org.apache.maven.plugins</groupId>
89 <artifactId>maven-resources-plugin</artifactId>
90 <version>2.6</version>
91 <configuration>
92 <skip>true</skip>
93 </configuration>
94 </plugin>
95 <!-- maven-compiler-plugin is called during "compile" phases by default behavior. we do not need it -->
96 <plugin>
97 <groupId>org.apache.maven.plugins</groupId>
98 <artifactId>maven-compiler-plugin</artifactId>
99 <version>3.1</version>
100 <configuration>
101 <skip>true</skip>
102 </configuration>
103 </plugin>
104 <!-- maven-jar-plugin is called during "compile" phase by default behavior. we do not need it -->
105 <plugin>
106 <groupId>org.apache.maven.plugins</groupId>
107 <artifactId>maven-jar-plugin</artifactId>
108 <version>2.4</version>
109 <executions>
110 <execution>
111 <id>default-jar</id>
112 <phase/>
113 </execution>
114 </executions>
115 </plugin>
116 <!-- maven-install-plugin is called during "install" phase by default behavior. it tries to copy stuff under
117 target dir to ~/.m2. we do not need it -->
118 <plugin>
119 <groupId>org.apache.maven.plugins</groupId>
120 <artifactId>maven-install-plugin</artifactId>
121 <version>2.4</version>
122 <configuration>
123 <skip>true</skip>
124 </configuration>
125 </plugin>
126 <!-- maven-surefire-plugin is called during "test" phase by default behavior. it triggers junit test.
127 we do not need it -->
128 <plugin>
129 <groupId>org.apache.maven.plugins</groupId>
130 <artifactId>maven-surefire-plugin</artifactId>
131 <version>2.12.4</version>
132 <configuration>
133 <skipTests>true</skipTests>
134 </configuration>
135 </plugin>
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 -->
Lusheng Jid92d4482017-09-21 05:42:28 +0000144 <MVN_PROJECT_GROUPID>${project.groupId}</MVN_PROJECT_GROUPID>
145 <MVN_PROJECT_ARTIFACTID>${project.artifactId}</MVN_PROJECT_ARTIFACTID>
146 <MVN_PROJECT_VERSION>${project.version}</MVN_PROJECT_VERSION>
Lusheng Jic38ca2f2017-09-11 20:11:29 +0000147 <MVN_NEXUSPROXY>${onap.nexus.url}</MVN_NEXUSPROXY>
148 <MVN_RAWREPO_BASEURL_UPLOAD>${onap.nexus.rawrepo.baseurl.upload}</MVN_RAWREPO_BASEURL_UPLOAD>
149 <MVN_RAWREPO_BASEURL_DOWNLOAD>${onap.nexus.rawrepo.baseurl.download}</MVN_RAWREPO_BASEURL_DOWNLOAD>
150 <MVN_RAWREPO_SERVERID>${onap.nexus.rawrepo.serverid}</MVN_RAWREPO_SERVERID>
Lusheng Jid92d4482017-09-21 05:42:28 +0000151 <MVN_DOCKERREGISTRY_SNAPSHOT>${onap.nexus.dockerregistry.snapshot}</MVN_DOCKERREGISTRY_SNAPSHOT>
Lusheng Jic38ca2f2017-09-11 20:11:29 +0000152 <MVN_DOCKERREGISTRY_RELEASE>${onap.nexus.dockerregistry.release}</MVN_DOCKERREGISTRY_RELEASE>
Lusheng Jid92d4482017-09-21 05:42:28 +0000153 <MVN_DOCKERREGISTRY_SNAPSHOT_SERVERID>${onap.nexus.dockerregistry.snapshot.serverid}</MVN_DOCKERREGISTRY_SNAPSHOT_SERVERID>
154 <MVN_DOCKERREGISTRY_RELEASE_SERVERID>${onap.nexus.dockerregistry.release.serverid}</MVN_DOCKERREGISTRY_RELEASE_SERVERID>
155 <MVN_PYPISERVER_BASEURL>${onap.nexus.pypiserver.baseurl}</MVN_PYPISERVER_BASEURL>
156 <MVN_PYPISERVER_SERVERID>${onap.nexus.pypiserver.serverid}</MVN_PYPISERVER_SERVERID>
Lusheng Jic38ca2f2017-09-11 20:11:29 +0000157 </environmentVariables>
Andrew Gauldb34cbd02017-08-24 16:46:17 -0400158 </configuration>
159 </plugin>
160 </plugins>
161 </pluginManagement>
Andrew Gauldb34cbd02017-08-24 16:46:17 -0400162 </build>
163</project>