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 | ================================================================================ |
| 6 | Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. |
| 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> |
| 24 | <groupId>org.onap.oparent</groupId> |
| 25 | <artifactId>oparent</artifactId> |
| 26 | <version>1.0.0-SNAPSHOT</version> |
| 27 | </parent> |
| 28 | |
| 29 | <!--- CHANGE THE FOLLOWING 3 OBJECTS for your own repo --> |
| 30 | <groupId>org.onap.dcaegen2</groupId> |
| 31 | <artifactId>deployments</artifactId> |
Lusheng Ji | c38ca2f | 2017-09-11 20:11:29 +0000 | [diff] [blame^] | 32 | <name>deployments</name> |
Andrew Gauld | b34cbd0 | 2017-08-24 16:46:17 -0400 | [diff] [blame] | 33 | |
| 34 | <version>1.0.0-SNAPSHOT</version> |
| 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> |
| 41 | </modules> |
| 42 | |
Andrew Gauld | b34cbd0 | 2017-08-24 16:46:17 -0400 | [diff] [blame] | 43 | <properties> |
| 44 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
Lusheng Ji | c38ca2f | 2017-09-11 20:11:29 +0000 | [diff] [blame^] | 45 | <sonar.skip>true</sonar.skip> |
Andrew Gauld | b34cbd0 | 2017-08-24 16:46:17 -0400 | [diff] [blame] | 46 | <sonar.sources>.</sonar.sources> |
| 47 | <!-- customize the SONARQUBE URL --> |
Lusheng Ji | c38ca2f | 2017-09-11 20:11:29 +0000 | [diff] [blame^] | 48 | <!-- sonar.host.url>http://localhost:9000</sonar.host.url --> |
Andrew Gauld | b34cbd0 | 2017-08-24 16:46:17 -0400 | [diff] [blame] | 49 | <!-- 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 Gauld | b34cbd0 | 2017-08-24 16:46:17 -0400 | [diff] [blame] | 61 | <build> |
| 62 | <finalName>${project.artifactId}-${project.version}</finalName> |
| 63 | <pluginManagement> |
| 64 | <plugins> |
Lusheng Ji | c38ca2f | 2017-09-11 20:11:29 +0000 | [diff] [blame^] | 65 | <!-- the following plugins are invoked from oparent, we do not need them --> |
Andrew Gauld | b34cbd0 | 2017-08-24 16:46:17 -0400 | [diff] [blame] | 66 | <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 Ji | c38ca2f | 2017-09-11 20:11:29 +0000 | [diff] [blame^] | 72 | <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 --> |
| 144 | <MVN_PROJECT_GROUPID>${project.parent.groupId}</MVN_PROJECT_GROUPID> |
| 145 | <MVN_PROJECT_ARTIFACTID>${project.parent.artifactId}</MVN_PROJECT_ARTIFACTID> |
| 146 | <MVN_PROJECT_VERSION>${project.parent.version}</MVN_PROJECT_VERSION> |
| 147 | <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> |
| 151 | <MVN_DOCKERREGISTRY_DAILY>${onap.nexus.dockerregistry.daily}</MVN_DOCKERREGISTRY_DAILY> |
| 152 | <MVN_DOCKERREGISTRY_RELEASE>${onap.nexus.dockerregistry.release}</MVN_DOCKERREGISTRY_RELEASE> |
| 153 | </environmentVariables> |
Andrew Gauld | b34cbd0 | 2017-08-24 16:46:17 -0400 | [diff] [blame] | 154 | </configuration> |
| 155 | </plugin> |
| 156 | </plugins> |
| 157 | </pluginManagement> |
Andrew Gauld | b34cbd0 | 2017-08-24 16:46:17 -0400 | [diff] [blame] | 158 | </build> |
| 159 | </project> |