Gary Wu | 7f1c152 | 2017-06-21 15:03:17 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | Copyright (c) 2016-2017 Huawei Technologies Co., Ltd. |
Anaël Closson | 9ab3bc5 | 2017-08-28 15:35:58 +0200 | [diff] [blame] | 4 | Modifications copyright (C) 2017 AT&T Intellectual Property |
Gary Wu | 7f1c152 | 2017-06-21 15:03:17 -0700 | [diff] [blame] | 5 | |
| 6 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | you may not use this file except in compliance with the License. |
| 8 | You may obtain a copy of the License at |
| 9 | |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 12 | Unless required by applicable law or agreed to in writing, software |
| 13 | distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | See the License for the specific language governing permissions and |
| 16 | limitations under the License. |
| 17 | --> |
| 18 | <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"> |
| 19 | <modelVersion>4.0.0</modelVersion> |
Gary Wu | 7f1c152 | 2017-06-21 15:03:17 -0700 | [diff] [blame] | 20 | <name>oparent</name> |
Gary Wu | 2a78a37 | 2017-08-21 14:03:14 -0700 | [diff] [blame] | 21 | <groupId>org.onap.oparent</groupId> |
| 22 | <artifactId>version</artifactId> |
Jessica Wagantall | 1b58872 | 2017-11-18 18:32:09 -0800 | [diff] [blame] | 23 | <version>1.1.0-SNAPSHOT</version> |
Gary Wu | 7f1c152 | 2017-06-21 15:03:17 -0700 | [diff] [blame] | 24 | <packaging>pom</packaging> |
Gary Wu | 7f1c152 | 2017-06-21 15:03:17 -0700 | [diff] [blame] | 25 | <modules> |
| 26 | <!-- oparent tools --> |
Gary Wu | 7f1c152 | 2017-06-21 15:03:17 -0700 | [diff] [blame] | 27 | <module>checkstyle</module> |
| 28 | <module>license</module> |
Gary Wu | 2a78a37 | 2017-08-21 14:03:14 -0700 | [diff] [blame] | 29 | <module>oparent</module> |
DR695H | eb3dd60 | 2017-09-08 15:20:22 -0400 | [diff] [blame] | 30 | <module>oparent-python</module> |
Gary Wu | 7f1c152 | 2017-06-21 15:03:17 -0700 | [diff] [blame] | 31 | </modules> |
Gary Wu | 2a78a37 | 2017-08-21 14:03:14 -0700 | [diff] [blame] | 32 | <properties> |
| 33 | <maven.compiler.source>1.8</maven.compiler.source> |
| 34 | <maven.compiler.target>1.8</maven.compiler.target> |
| 35 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 36 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 37 | <onap.nexus.url>https://nexus.onap.org</onap.nexus.url> |
Gary Wu | ff1f342 | 2017-08-23 13:24:41 -0700 | [diff] [blame] | 38 | <!-- sitePath may be overridden in the inheriting POM if desired --> |
| 39 | <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath> |
Lusheng Ji | cbb9027 | 2017-09-01 17:43:02 +0000 | [diff] [blame] | 40 | <!-- properties for Nexus raw repo --> |
| 41 | <onap.nexus.rawrepo.baseurl.upload>https://nexus.onap.org/content/sites/raw</onap.nexus.rawrepo.baseurl.upload> |
| 42 | <onap.nexus.rawrepo.baseurl.download> |
| 43 | https://nexus.onap.org/service/local/repositories/raw/content |
| 44 | </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.daily>nexus3.onap.org:10003</onap.nexus.dockerregistry.daily> |
| 48 | <onap.nexus.dockerregistry.release>nexus3.onap.org:10002</onap.nexus.dockerregistry.release> |
Gary Wu | 7f1c152 | 2017-06-21 15:03:17 -0700 | [diff] [blame] | 49 | </properties> |
Gary Wu | 2a78a37 | 2017-08-21 14:03:14 -0700 | [diff] [blame] | 50 | <distributionManagement> |
| 51 | <repository> |
Gary Wu | dcfc344 | 2017-10-11 12:58:43 -0700 | [diff] [blame] | 52 | <id>ecomp-releases</id> |
Gary Wu | 2a78a37 | 2017-08-21 14:03:14 -0700 | [diff] [blame] | 53 | <url>${onap.nexus.url}/content/repositories/releases</url> |
| 54 | </repository> |
| 55 | <snapshotRepository> |
Gary Wu | dcfc344 | 2017-10-11 12:58:43 -0700 | [diff] [blame] | 56 | <id>ecomp-snapshots</id> |
Gary Wu | 2a78a37 | 2017-08-21 14:03:14 -0700 | [diff] [blame] | 57 | <url>${onap.nexus.url}/content/repositories/snapshots</url> |
| 58 | </snapshotRepository> |
| 59 | </distributionManagement> |
Gary Wu | 7f1c152 | 2017-06-21 15:03:17 -0700 | [diff] [blame] | 60 | <build> |
| 61 | <pluginManagement> |
| 62 | <plugins> |
| 63 | <plugin> |
Gary Wu | 2a78a37 | 2017-08-21 14:03:14 -0700 | [diff] [blame] | 64 | <groupId>org.sonatype.plugins</groupId> |
| 65 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 66 | <version>1.6.7</version> |
| 67 | <extensions>true</extensions> |
Gary Wu | 7f1c152 | 2017-06-21 15:03:17 -0700 | [diff] [blame] | 68 | <configuration> |
Gary Wu | 2a78a37 | 2017-08-21 14:03:14 -0700 | [diff] [blame] | 69 | <nexusUrl>${onap.nexus.url}</nexusUrl> |
| 70 | <stagingProfileId>176c31dfe190a</stagingProfileId> |
Gary Wu | dcfc344 | 2017-10-11 12:58:43 -0700 | [diff] [blame] | 71 | <serverId>ecomp-staging</serverId> |
Gary Wu | 7f1c152 | 2017-06-21 15:03:17 -0700 | [diff] [blame] | 72 | </configuration> |
Gary Wu | 07a40c8 | 2017-08-23 12:03:32 -0700 | [diff] [blame] | 73 | </plugin> |
| 74 | <plugin> |
Gary Wu | 7f1c152 | 2017-06-21 15:03:17 -0700 | [diff] [blame] | 75 | <groupId>org.apache.maven.plugins</groupId> |
Gary Wu | 2a78a37 | 2017-08-21 14:03:14 -0700 | [diff] [blame] | 76 | <artifactId>maven-deploy-plugin</artifactId> |
Gary Wu | 07a40c8 | 2017-08-23 12:03:32 -0700 | [diff] [blame] | 77 | <!-- This version supports the "deployAtEnd" parameter --> |
| 78 | <version>2.8</version> |
Gary Wu | 7f1c152 | 2017-06-21 15:03:17 -0700 | [diff] [blame] | 79 | <configuration> |
Gary Wu | 07a40c8 | 2017-08-23 12:03:32 -0700 | [diff] [blame] | 80 | <skip/> |
Gary Wu | 7f1c152 | 2017-06-21 15:03:17 -0700 | [diff] [blame] | 81 | </configuration> |
Gary Wu | 07a40c8 | 2017-08-23 12:03:32 -0700 | [diff] [blame] | 82 | </plugin> |
| 83 | <plugin> |
| 84 | <groupId>org.apache.maven.plugins</groupId> |
| 85 | <artifactId>maven-site-plugin</artifactId> |
| 86 | <version>3.6</version> |
| 87 | <dependencies> |
| 88 | <dependency> |
| 89 | <groupId>org.apache.maven.wagon</groupId> |
| 90 | <artifactId>wagon-webdav-jackrabbit</artifactId> |
| 91 | <version>2.10</version> |
| 92 | </dependency> |
| 93 | </dependencies> |
| 94 | </plugin> |
Anaël Closson | 9ab3bc5 | 2017-08-28 15:35:58 +0200 | [diff] [blame] | 95 | <plugin> |
Anaël Closson | d25cc10 | 2017-08-28 15:43:22 +0200 | [diff] [blame] | 96 | <groupId>org.apache.maven.plugins</groupId> |
| 97 | <artifactId>maven-enforcer-plugin</artifactId> |
| 98 | <version>3.0.0-M1</version> |
| 99 | <executions> |
| 100 | <execution> |
| 101 | <id>enforce-no-snapshots</id> |
| 102 | <goals> |
| 103 | <goal>enforce</goal> |
| 104 | </goals> |
| 105 | <configuration> |
| 106 | <rules> |
| 107 | <requireReleaseDeps> |
| 108 | <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot> |
| 109 | <onlyWhenRelease>true</onlyWhenRelease> |
Gary Wu | 926c756 | 2017-10-27 10:53:27 -0700 | [diff] [blame] | 110 | <level>ERROR</level> |
Anaël Closson | d25cc10 | 2017-08-28 15:43:22 +0200 | [diff] [blame] | 111 | </requireReleaseDeps> |
| 112 | </rules> |
| 113 | </configuration> |
| 114 | </execution> |
| 115 | </executions> |
| 116 | </plugin> |
Gary Wu | e3c423d | 2018-02-02 11:10:57 -0800 | [diff] [blame^] | 117 | <!-- https://mvnrepository.com/artifact/org.sonarsource.scanner.maven/sonar-maven-plugin --> |
| 118 | <plugin> |
| 119 | <groupId>org.sonarsource.scanner.maven</groupId> |
| 120 | <artifactId>sonar-maven-plugin</artifactId> |
| 121 | <version>3.3.0.603</version> |
| 122 | </plugin> |
Gary Wu | 7f1c152 | 2017-06-21 15:03:17 -0700 | [diff] [blame] | 123 | </plugins> |
| 124 | </pluginManagement> |
Gary Wu | 07a40c8 | 2017-08-23 12:03:32 -0700 | [diff] [blame] | 125 | <plugins> |
| 126 | <plugin> |
| 127 | <groupId>org.sonatype.plugins</groupId> |
| 128 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 129 | </plugin> |
| 130 | <plugin> |
| 131 | <groupId>org.apache.maven.plugins</groupId> |
| 132 | <artifactId>maven-deploy-plugin</artifactId> |
| 133 | </plugin> |
| 134 | <plugin> |
| 135 | <groupId>org.apache.maven.plugins</groupId> |
| 136 | <artifactId>maven-site-plugin</artifactId> |
| 137 | </plugin> |
Anaël Closson | 9ab3bc5 | 2017-08-28 15:35:58 +0200 | [diff] [blame] | 138 | <plugin> |
Anaël Closson | d25cc10 | 2017-08-28 15:43:22 +0200 | [diff] [blame] | 139 | <groupId>org.apache.maven.plugins</groupId> |
| 140 | <artifactId>maven-enforcer-plugin</artifactId> |
| 141 | </plugin> |
Gary Wu | 07a40c8 | 2017-08-23 12:03:32 -0700 | [diff] [blame] | 142 | </plugins> |
Gary Wu | 7f1c152 | 2017-06-21 15:03:17 -0700 | [diff] [blame] | 143 | </build> |
| 144 | </project> |