Andrew Gauld | b34cbd0 | 2017-08-24 16:46:17 -0400 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | <!-- |
| 3 | ============LICENSE_START======================================================= |
| 4 | org.onap.dcae |
| 5 | ================================================================================ |
Lusheng Ji | 6d381a5 | 2018-03-22 14:27:41 -0400 | [diff] [blame^] | 6 | Copyright (c) 2017-2018 AT&T Intellectual Property. All rights reserved. |
Andrew Gauld | b34cbd0 | 2017-08-24 16:46:17 -0400 | [diff] [blame] | 7 | ================================================================================ |
| 8 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 9 | you may not use this file except in compliance with the License. |
| 10 | You may obtain a copy of the License at |
| 11 | |
| 12 | http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | |
| 14 | Unless required by applicable law or agreed to in writing, software |
| 15 | distributed under the License is distributed on an "AS IS" BASIS, |
| 16 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 17 | See the License for the specific language governing permissions and |
| 18 | limitations 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 Ji | 7fda900 | 2017-10-15 19:39:30 -0400 | [diff] [blame] | 24 | <groupId>org.onap</groupId> |
| 25 | <artifactId>dcaegen2</artifactId> |
| 26 | <version>1.1.0</version> |
Andrew Gauld | b34cbd0 | 2017-08-24 16:46:17 -0400 | [diff] [blame] | 27 | </parent> |
| 28 | |
| 29 | <!--- CHANGE THE FOLLOWING 3 OBJECTS for your own repo --> |
Lusheng Ji | d92d448 | 2017-09-21 05:42:28 +0000 | [diff] [blame] | 30 | <groupId>org.onap.dcaegen2.deployments</groupId> |
Andrew Gauld | b34cbd0 | 2017-08-24 16:46:17 -0400 | [diff] [blame] | 31 | <artifactId>deployments</artifactId> |
Lusheng Ji | 5e11184 | 2017-09-11 23:01:37 +0000 | [diff] [blame] | 32 | <name>dcaegen2-deployments</name> |
Andrew Gauld | b34cbd0 | 2017-08-24 16:46:17 -0400 | [diff] [blame] | 33 | |
vagrant | 379c4f5 | 2017-11-25 07:08:34 +0000 | [diff] [blame] | 34 | <version>1.2.0-SNAPSHOT</version> |
Andrew Gauld | b34cbd0 | 2017-08-24 16:46:17 -0400 | [diff] [blame] | 35 | <url>http://maven.apache.org</url> |
Lusheng Ji | c38ca2f | 2017-09-11 20:11:29 +0000 | [diff] [blame] | 36 | <packaging>pom</packaging> |
| 37 | |
| 38 | <modules> |
| 39 | <module>bootstrap</module> |
| 40 | <module>scripts</module> |
Lusheng Ji | afe7fb0 | 2017-10-17 09:35:34 -0400 | [diff] [blame] | 41 | <module>cloud_init</module> |
Lusheng Ji | 6d381a5 | 2018-03-22 14:27:41 -0400 | [diff] [blame^] | 42 | <module>redis-cluster-container</module> |
Lusheng Ji | c38ca2f | 2017-09-11 20:11:29 +0000 | [diff] [blame] | 43 | </modules> |
| 44 | |
Andrew Gauld | b34cbd0 | 2017-08-24 16:46:17 -0400 | [diff] [blame] | 45 | <properties> |
| 46 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
Lusheng Ji | c38ca2f | 2017-09-11 20:11:29 +0000 | [diff] [blame] | 47 | <sonar.skip>true</sonar.skip> |
Andrew Gauld | b34cbd0 | 2017-08-24 16:46:17 -0400 | [diff] [blame] | 48 | <sonar.sources>.</sonar.sources> |
| 49 | <!-- customize the SONARQUBE URL --> |
Lusheng Ji | c38ca2f | 2017-09-11 20:11:29 +0000 | [diff] [blame] | 50 | <!-- sonar.host.url>http://localhost:9000</sonar.host.url --> |
Andrew Gauld | b34cbd0 | 2017-08-24 16:46:17 -0400 | [diff] [blame] | 51 | <!-- below are language dependent --> |
| 52 | <!-- for Python --> |
| 53 | <sonar.language>py</sonar.language> |
| 54 | <sonar.pluginName>Python</sonar.pluginName> |
| 55 | <sonar.inclusions>**/*.py</sonar.inclusions> |
| 56 | <!-- for JavaScaript --> |
| 57 | <!-- |
| 58 | <sonar.language>js</sonar.language> |
| 59 | <sonar.pluginName>JS</sonar.pluginName> |
| 60 | <sonar.inclusions>**/*.js</sonar.inclusions> |
| 61 | --> |
| 62 | </properties> |
Andrew Gauld | b34cbd0 | 2017-08-24 16:46:17 -0400 | [diff] [blame] | 63 | <build> |
| 64 | <finalName>${project.artifactId}-${project.version}</finalName> |
| 65 | <pluginManagement> |
| 66 | <plugins> |
Lusheng Ji | c38ca2f | 2017-09-11 20:11:29 +0000 | [diff] [blame] | 67 | <!-- the following plugins are invoked from oparent, we do not need them --> |
Andrew Gauld | b34cbd0 | 2017-08-24 16:46:17 -0400 | [diff] [blame] | 68 | <plugin> |
| 69 | <groupId>org.sonatype.plugins</groupId> |
| 70 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 71 | <version>1.6.7</version> |
| 72 | <configuration> |
| 73 | <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo> |
Lusheng Ji | c38ca2f | 2017-09-11 20:11:29 +0000 | [diff] [blame] | 74 | <skip>true</skip> |
| 75 | </configuration> |
| 76 | </plugin> |
| 77 | <plugin> |
| 78 | <groupId>org.apache.maven.plugins</groupId> |
| 79 | <artifactId>maven-deploy-plugin</artifactId> |
| 80 | <!-- This version supports the "deployAtEnd" parameter --> |
| 81 | <version>2.8</version> |
| 82 | <configuration> |
| 83 | <skip>true</skip> |
| 84 | </configuration> |
| 85 | </plugin> |
| 86 | <!-- first disable the default Java plugins at various stages --> |
| 87 | <!-- maven-resources-plugin is called during "*resource" phases by default behavior. it prepares |
| 88 | the resources dir. we do not need it --> |
| 89 | <plugin> |
| 90 | <groupId>org.apache.maven.plugins</groupId> |
| 91 | <artifactId>maven-resources-plugin</artifactId> |
| 92 | <version>2.6</version> |
| 93 | <configuration> |
| 94 | <skip>true</skip> |
| 95 | </configuration> |
| 96 | </plugin> |
| 97 | <!-- maven-compiler-plugin is called during "compile" phases by default behavior. we do not need it --> |
| 98 | <plugin> |
| 99 | <groupId>org.apache.maven.plugins</groupId> |
| 100 | <artifactId>maven-compiler-plugin</artifactId> |
| 101 | <version>3.1</version> |
| 102 | <configuration> |
| 103 | <skip>true</skip> |
| 104 | </configuration> |
| 105 | </plugin> |
| 106 | <!-- maven-jar-plugin is called during "compile" phase by default behavior. we do not need it --> |
| 107 | <plugin> |
| 108 | <groupId>org.apache.maven.plugins</groupId> |
| 109 | <artifactId>maven-jar-plugin</artifactId> |
| 110 | <version>2.4</version> |
| 111 | <executions> |
| 112 | <execution> |
| 113 | <id>default-jar</id> |
| 114 | <phase/> |
| 115 | </execution> |
| 116 | </executions> |
| 117 | </plugin> |
| 118 | <!-- maven-install-plugin is called during "install" phase by default behavior. it tries to copy stuff under |
| 119 | target dir to ~/.m2. we do not need it --> |
| 120 | <plugin> |
| 121 | <groupId>org.apache.maven.plugins</groupId> |
| 122 | <artifactId>maven-install-plugin</artifactId> |
| 123 | <version>2.4</version> |
| 124 | <configuration> |
| 125 | <skip>true</skip> |
| 126 | </configuration> |
| 127 | </plugin> |
| 128 | <!-- maven-surefire-plugin is called during "test" phase by default behavior. it triggers junit test. |
| 129 | we do not need it --> |
| 130 | <plugin> |
| 131 | <groupId>org.apache.maven.plugins</groupId> |
| 132 | <artifactId>maven-surefire-plugin</artifactId> |
| 133 | <version>2.12.4</version> |
| 134 | <configuration> |
| 135 | <skipTests>true</skipTests> |
| 136 | </configuration> |
| 137 | </plugin> |
| 138 | <plugin> |
| 139 | <groupId>org.codehaus.mojo</groupId> |
| 140 | <artifactId>exec-maven-plugin</artifactId> |
| 141 | <version>1.2.1</version> |
| 142 | <configuration> |
| 143 | <executable>${session.executionRootDirectory}/mvn-phase-script.sh</executable> |
| 144 | <environmentVariables> |
| 145 | <!-- make mvn properties as env for our script --> |
Lusheng Ji | d92d448 | 2017-09-21 05:42:28 +0000 | [diff] [blame] | 146 | <MVN_PROJECT_GROUPID>${project.groupId}</MVN_PROJECT_GROUPID> |
| 147 | <MVN_PROJECT_ARTIFACTID>${project.artifactId}</MVN_PROJECT_ARTIFACTID> |
| 148 | <MVN_PROJECT_VERSION>${project.version}</MVN_PROJECT_VERSION> |
Lusheng Ji | c38ca2f | 2017-09-11 20:11:29 +0000 | [diff] [blame] | 149 | <MVN_NEXUSPROXY>${onap.nexus.url}</MVN_NEXUSPROXY> |
| 150 | <MVN_RAWREPO_BASEURL_UPLOAD>${onap.nexus.rawrepo.baseurl.upload}</MVN_RAWREPO_BASEURL_UPLOAD> |
| 151 | <MVN_RAWREPO_BASEURL_DOWNLOAD>${onap.nexus.rawrepo.baseurl.download}</MVN_RAWREPO_BASEURL_DOWNLOAD> |
| 152 | <MVN_RAWREPO_SERVERID>${onap.nexus.rawrepo.serverid}</MVN_RAWREPO_SERVERID> |
Lusheng Ji | d92d448 | 2017-09-21 05:42:28 +0000 | [diff] [blame] | 153 | <MVN_DOCKERREGISTRY_SNAPSHOT>${onap.nexus.dockerregistry.snapshot}</MVN_DOCKERREGISTRY_SNAPSHOT> |
Lusheng Ji | c38ca2f | 2017-09-11 20:11:29 +0000 | [diff] [blame] | 154 | <MVN_DOCKERREGISTRY_RELEASE>${onap.nexus.dockerregistry.release}</MVN_DOCKERREGISTRY_RELEASE> |
Lusheng Ji | d92d448 | 2017-09-21 05:42:28 +0000 | [diff] [blame] | 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_PYPISERVER_BASEURL>${onap.nexus.pypiserver.baseurl}</MVN_PYPISERVER_BASEURL> |
| 158 | <MVN_PYPISERVER_SERVERID>${onap.nexus.pypiserver.serverid}</MVN_PYPISERVER_SERVERID> |
Lusheng Ji | c38ca2f | 2017-09-11 20:11:29 +0000 | [diff] [blame] | 159 | </environmentVariables> |
Andrew Gauld | b34cbd0 | 2017-08-24 16:46:17 -0400 | [diff] [blame] | 160 | </configuration> |
| 161 | </plugin> |
| 162 | </plugins> |
| 163 | </pluginManagement> |
Andrew Gauld | b34cbd0 | 2017-08-24 16:46:17 -0400 | [diff] [blame] | 164 | </build> |
| 165 | </project> |