blob: 374da37f80175e36278526b60230fa4d674e3790 [file] [log] [blame]
Lusheng Jic8bd8912017-08-29 14:11:28 +00001<?xml version="1.0"?>
2<!--
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
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>
Lusheng Jiab7883e2017-10-10 14:22:53 +000027 <version>0.1.1</version>
Lusheng Jic8bd8912017-08-29 14:11:28 +000028 </parent>
Lusheng Jief7bb6c2017-09-07 12:04:39 +000029 <groupId>org.onap.dcaegen2.platform</groupId>
Lusheng Jic8bd8912017-08-29 14:11:28 +000030 <artifactId>blueprints</artifactId>
Jessica Wagantall068d3fd2017-09-08 11:41:08 -070031 <name>dcaegen2-platform-blueprints</name>
vagrant00a0cd12017-11-25 07:18:46 +000032 <version>1.2.0-SNAPSHOT</version>
Lusheng Jic8bd8912017-08-29 14:11:28 +000033 <url>http://maven.apache.org</url>
34 <packaging>pom</packaging>
35 <modules>
36 <module>blueprints</module>
Lusheng Ji1b2af342017-10-15 16:37:33 -040037 <module>input-templates</module>
Lusheng Jic8bd8912017-08-29 14:11:28 +000038 </modules>
39
Lusheng Jic6ce7682017-09-09 00:28:53 +000040 <properties>
Lusheng Jiab7883e2017-10-10 14:22:53 +000041 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
42 <!-- properties for Nexus raw repo -->
43 <onap.nexus.rawrepo.baseurl.upload>https://nexus.onap.org/content/sites/raw</onap.nexus.rawrepo.baseurl.upload>
44 <onap.nexus.rawrepo.baseurl.download>https://nexus.onap.org/service/local/repositories/raw/content</onap.nexus.rawrepo.baseurl.download>
45 <onap.nexus.rawrepo.serverid>ecomp-raw</onap.nexus.rawrepo.serverid>
46 <!-- properties for Nexus Docker registry -->
47 <onap.nexus.dockerregistry.snapshot>nexus3.onap.org:10003</onap.nexus.dockerregistry.snapshot>
48 <onap.nexus.dockerregistry.release>nexus3.onap.org:10003</onap.nexus.dockerregistry.release>
49 <onap.nexus.dockerregistry.public>nexus3.onap.org:10001</onap.nexus.dockerregistry.public>
50 <onap.nexus.dockerregistry.snapshot.serverid>nexus3.onap.org:10003</onap.nexus.dockerregistry.snapshot.serverid>
51 <onap.nexus.dockerregistry.release.serverid>nexus3.onap.org:10003</onap.nexus.dockerregistry.release.serverid>
52 <onap.nexus.dockerregistry.public.serverid>nexus3.onap.org:10001</onap.nexus.dockerregistry.public.serverid>
53 <!-- properties for Pypi server -->
54 <onap.nexus.pypiserver.baseurl>https://nexus3.onap.org/repository/PyPi</onap.nexus.pypiserver.baseurl>
55 <onap.nexus.pypiserver.serverid>onap-pypi</onap.nexus.pypiserver.serverid>
56
Lusheng Jic6ce7682017-09-09 00:28:53 +000057 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
58 <sonar.skip>true</sonar.skip>
59 <sonar.sources>.</sonar.sources>
60 <!-- customize the SONARQUBE URL -->
61 <!-- sonar.host.url>http://localhost:9000</sonar.host.url -->
62 <!-- below are language dependent -->
63 <!-- for Python -->
64 <sonar.language>py</sonar.language>
65 <sonar.pluginName>Python</sonar.pluginName>
66 <sonar.inclusions>**/*.py</sonar.inclusions>
67 <!-- for JavaScaript -->
68 <!--
69 <sonar.language>js</sonar.language>
70 <sonar.pluginName>JS</sonar.pluginName>
71 <sonar.inclusions>**/*.js</sonar.inclusions>
72 -->
73 </properties>
74 <build>
75 <finalName>${project.artifactId}-${project.version}</finalName>
76 <pluginManagement>
77 <plugins>
Lusheng Jic6ce7682017-09-09 00:28:53 +000078 <plugin>
79 <groupId>org.sonatype.plugins</groupId>
80 <artifactId>nexus-staging-maven-plugin</artifactId>
81 <version>1.6.7</version>
82 <configuration>
83 <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
Lusheng Jic6ce7682017-09-09 00:28:53 +000084 </configuration>
85 </plugin>
86 <plugin>
87 <groupId>org.apache.maven.plugins</groupId>
88 <artifactId>maven-deploy-plugin</artifactId>
89 <!-- This version supports the "deployAtEnd" parameter -->
90 <version>2.8</version>
91 <configuration>
92 <skip>true</skip>
93 </configuration>
94 </plugin>
95 <!-- first disable the default Java plugins at various stages -->
96 <!-- maven-resources-plugin is called during "*resource" phases by default behavior. it prepares
97 the resources dir. we do not need it -->
98 <plugin>
99 <groupId>org.apache.maven.plugins</groupId>
100 <artifactId>maven-resources-plugin</artifactId>
101 <version>2.6</version>
102 <configuration>
103 <skip>true</skip>
104 </configuration>
105 </plugin>
106 <!-- maven-compiler-plugin is called during "compile" phases by default behavior. we do not need it -->
107 <plugin>
108 <groupId>org.apache.maven.plugins</groupId>
109 <artifactId>maven-compiler-plugin</artifactId>
110 <version>3.1</version>
111 <configuration>
112 <skip>true</skip>
113 </configuration>
114 </plugin>
115 <!-- maven-jar-plugin is called during "compile" phase by default behavior. we do not need it -->
116 <plugin>
117 <groupId>org.apache.maven.plugins</groupId>
118 <artifactId>maven-jar-plugin</artifactId>
119 <version>2.4</version>
120 <executions>
121 <execution>
122 <id>default-jar</id>
123 <phase/>
124 </execution>
125 </executions>
126 </plugin>
127 <!-- maven-install-plugin is called during "install" phase by default behavior. it tries to copy stuff under
128 target dir to ~/.m2. we do not need it -->
129 <plugin>
130 <groupId>org.apache.maven.plugins</groupId>
131 <artifactId>maven-install-plugin</artifactId>
132 <version>2.4</version>
133 <configuration>
134 <skip>true</skip>
135 </configuration>
136 </plugin>
137 <!-- maven-surefire-plugin is called during "test" phase by default behavior. it triggers junit test.
138 we do not need it -->
139 <plugin>
140 <groupId>org.apache.maven.plugins</groupId>
141 <artifactId>maven-surefire-plugin</artifactId>
142 <version>2.12.4</version>
143 <configuration>
144 <skipTests>true</skipTests>
145 </configuration>
146 </plugin>
Lusheng Jiab7883e2017-10-10 14:22:53 +0000147
Lusheng Jic6ce7682017-09-09 00:28:53 +0000148 <plugin>
149 <groupId>org.codehaus.mojo</groupId>
150 <artifactId>exec-maven-plugin</artifactId>
151 <version>1.2.1</version>
152 <configuration>
153 <executable>${session.executionRootDirectory}/mvn-phase-script.sh</executable>
154 <environmentVariables>
155 <!-- make mvn properties as env for our script -->
Lusheng Jiab7883e2017-10-10 14:22:53 +0000156 <!-- make mvn properties as env for our script -->
157 <MVN_PROJECT_GROUPID>${project.groupId}</MVN_PROJECT_GROUPID>
158 <MVN_PROJECT_ARTIFACTID>${project.artifactId}</MVN_PROJECT_ARTIFACTID>
159 <MVN_PROJECT_VERSION>${project.version}</MVN_PROJECT_VERSION>
Lusheng Jic6ce7682017-09-09 00:28:53 +0000160 <MVN_NEXUSPROXY>${onap.nexus.url}</MVN_NEXUSPROXY>
161 <MVN_RAWREPO_BASEURL_UPLOAD>${onap.nexus.rawrepo.baseurl.upload}</MVN_RAWREPO_BASEURL_UPLOAD>
162 <MVN_RAWREPO_BASEURL_DOWNLOAD>${onap.nexus.rawrepo.baseurl.download}</MVN_RAWREPO_BASEURL_DOWNLOAD>
163 <MVN_RAWREPO_SERVERID>${onap.nexus.rawrepo.serverid}</MVN_RAWREPO_SERVERID>
Lusheng Jiab7883e2017-10-10 14:22:53 +0000164 <MVN_DOCKERREGISTRY_SNAPSHOT>${onap.nexus.dockerregistry.snapshot}</MVN_DOCKERREGISTRY_SNAPSHOT>
Lusheng Jic6ce7682017-09-09 00:28:53 +0000165 <MVN_DOCKERREGISTRY_RELEASE>${onap.nexus.dockerregistry.release}</MVN_DOCKERREGISTRY_RELEASE>
Lusheng Jiab7883e2017-10-10 14:22:53 +0000166 <MVN_DOCKERREGISTRY_PUBLIC>${onap.nexus.dockerregistry.public}</MVN_DOCKERREGISTRY_PUBLIC>
167 <MVN_DOCKERREGISTRY_SNAPSHOT_SERVERID>${onap.nexus.dockerregistry.snapshot.serverid}</MVN_DOCKERREGISTRY_SNAPSHOT_SERVERID>
168 <MVN_DOCKERREGISTRY_RELEASE_SERVERID>${onap.nexus.dockerregistry.release.serverid}</MVN_DOCKERREGISTRY_RELEASE_SERVERID>
169 <MVN_DOCKERREGISTRY_PUBLIC_SERVERID>${onap.nexus.dockerregistry.public.serverid}</MVN_DOCKERREGISTRY_PUBLIC_SERVERID>
170 <MVN_PYPISERVER_BASEURL>${onap.nexus.pypiserver.baseurl}</MVN_PYPISERVER_BASEURL>
171 <MVN_PYPISERVER_SERVERID>${onap.nexus.pypiserver.serverid}</MVN_PYPISERVER_SERVERID>
Lusheng Jic6ce7682017-09-09 00:28:53 +0000172 </environmentVariables>
173 </configuration>
174 </plugin>
175 </plugins>
176 </pluginManagement>
177 </build>
Lusheng Jic8bd8912017-08-29 14:11:28 +0000178</project>