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> |
Gary Wu | 5f029a3 | 2018-08-24 13:22:08 -0700 | [diff] [blame^] | 23 | <version>1.2.1-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> |
Pamela Dragosh | 3d0fef4 | 2018-08-23 13:38:15 -0400 | [diff] [blame] | 31 | <module>dependencies</module> |
| 32 | <module>dependencies-clm</module> |
Gary Wu | 7f1c152 | 2017-06-21 15:03:17 -0700 | [diff] [blame] | 33 | </modules> |
Gary Wu | 2a78a37 | 2017-08-21 14:03:14 -0700 | [diff] [blame] | 34 | <properties> |
| 35 | <maven.compiler.source>1.8</maven.compiler.source> |
| 36 | <maven.compiler.target>1.8</maven.compiler.target> |
| 37 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 38 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 39 | <onap.nexus.url>https://nexus.onap.org</onap.nexus.url> |
Gary Wu | ff1f342 | 2017-08-23 13:24:41 -0700 | [diff] [blame] | 40 | <!-- sitePath may be overridden in the inheriting POM if desired --> |
| 41 | <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath> |
Lusheng Ji | cbb9027 | 2017-09-01 17:43:02 +0000 | [diff] [blame] | 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> |
| 45 | https://nexus.onap.org/service/local/repositories/raw/content |
| 46 | </onap.nexus.rawrepo.baseurl.download> |
| 47 | <onap.nexus.rawrepo.serverid>ecomp-raw</onap.nexus.rawrepo.serverid> |
| 48 | <!-- properties for Nexus Docker registry --> |
| 49 | <onap.nexus.dockerregistry.daily>nexus3.onap.org:10003</onap.nexus.dockerregistry.daily> |
| 50 | <onap.nexus.dockerregistry.release>nexus3.onap.org:10002</onap.nexus.dockerregistry.release> |
Gary Wu | 7f1c152 | 2017-06-21 15:03:17 -0700 | [diff] [blame] | 51 | </properties> |
Gary Wu | 2a78a37 | 2017-08-21 14:03:14 -0700 | [diff] [blame] | 52 | <distributionManagement> |
| 53 | <repository> |
Gary Wu | dcfc344 | 2017-10-11 12:58:43 -0700 | [diff] [blame] | 54 | <id>ecomp-releases</id> |
Gary Wu | 2a78a37 | 2017-08-21 14:03:14 -0700 | [diff] [blame] | 55 | <url>${onap.nexus.url}/content/repositories/releases</url> |
| 56 | </repository> |
| 57 | <snapshotRepository> |
Gary Wu | dcfc344 | 2017-10-11 12:58:43 -0700 | [diff] [blame] | 58 | <id>ecomp-snapshots</id> |
Gary Wu | 2a78a37 | 2017-08-21 14:03:14 -0700 | [diff] [blame] | 59 | <url>${onap.nexus.url}/content/repositories/snapshots</url> |
| 60 | </snapshotRepository> |
| 61 | </distributionManagement> |
Gary Wu | 7f1c152 | 2017-06-21 15:03:17 -0700 | [diff] [blame] | 62 | <build> |
| 63 | <pluginManagement> |
| 64 | <plugins> |
| 65 | <plugin> |
Gary Wu | 2a78a37 | 2017-08-21 14:03:14 -0700 | [diff] [blame] | 66 | <groupId>org.sonatype.plugins</groupId> |
| 67 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 68 | <version>1.6.7</version> |
| 69 | <extensions>true</extensions> |
Gary Wu | 7f1c152 | 2017-06-21 15:03:17 -0700 | [diff] [blame] | 70 | <configuration> |
Gary Wu | 2a78a37 | 2017-08-21 14:03:14 -0700 | [diff] [blame] | 71 | <nexusUrl>${onap.nexus.url}</nexusUrl> |
| 72 | <stagingProfileId>176c31dfe190a</stagingProfileId> |
Gary Wu | dcfc344 | 2017-10-11 12:58:43 -0700 | [diff] [blame] | 73 | <serverId>ecomp-staging</serverId> |
Gary Wu | 7f1c152 | 2017-06-21 15:03:17 -0700 | [diff] [blame] | 74 | </configuration> |
Gary Wu | 07a40c8 | 2017-08-23 12:03:32 -0700 | [diff] [blame] | 75 | </plugin> |
| 76 | <plugin> |
Gary Wu | 7f1c152 | 2017-06-21 15:03:17 -0700 | [diff] [blame] | 77 | <groupId>org.apache.maven.plugins</groupId> |
Gary Wu | 2a78a37 | 2017-08-21 14:03:14 -0700 | [diff] [blame] | 78 | <artifactId>maven-deploy-plugin</artifactId> |
Gary Wu | 07a40c8 | 2017-08-23 12:03:32 -0700 | [diff] [blame] | 79 | <!-- This version supports the "deployAtEnd" parameter --> |
| 80 | <version>2.8</version> |
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 | <skip/> |
Gary Wu | 7f1c152 | 2017-06-21 15:03:17 -0700 | [diff] [blame] | 83 | </configuration> |
Gary Wu | 07a40c8 | 2017-08-23 12:03:32 -0700 | [diff] [blame] | 84 | </plugin> |
| 85 | <plugin> |
| 86 | <groupId>org.apache.maven.plugins</groupId> |
| 87 | <artifactId>maven-site-plugin</artifactId> |
| 88 | <version>3.6</version> |
| 89 | <dependencies> |
| 90 | <dependency> |
| 91 | <groupId>org.apache.maven.wagon</groupId> |
| 92 | <artifactId>wagon-webdav-jackrabbit</artifactId> |
| 93 | <version>2.10</version> |
| 94 | </dependency> |
| 95 | </dependencies> |
| 96 | </plugin> |
Anaël Closson | 9ab3bc5 | 2017-08-28 15:35:58 +0200 | [diff] [blame] | 97 | <plugin> |
Anaël Closson | d25cc10 | 2017-08-28 15:43:22 +0200 | [diff] [blame] | 98 | <groupId>org.apache.maven.plugins</groupId> |
| 99 | <artifactId>maven-enforcer-plugin</artifactId> |
| 100 | <version>3.0.0-M1</version> |
| 101 | <executions> |
| 102 | <execution> |
| 103 | <id>enforce-no-snapshots</id> |
| 104 | <goals> |
| 105 | <goal>enforce</goal> |
| 106 | </goals> |
| 107 | <configuration> |
| 108 | <rules> |
| 109 | <requireReleaseDeps> |
| 110 | <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot> |
| 111 | <onlyWhenRelease>true</onlyWhenRelease> |
Gary Wu | 926c756 | 2017-10-27 10:53:27 -0700 | [diff] [blame] | 112 | <level>ERROR</level> |
Anaël Closson | d25cc10 | 2017-08-28 15:43:22 +0200 | [diff] [blame] | 113 | </requireReleaseDeps> |
| 114 | </rules> |
| 115 | </configuration> |
| 116 | </execution> |
| 117 | </executions> |
| 118 | </plugin> |
Gary Wu | e3c423d | 2018-02-02 11:10:57 -0800 | [diff] [blame] | 119 | <!-- https://mvnrepository.com/artifact/org.sonarsource.scanner.maven/sonar-maven-plugin --> |
| 120 | <plugin> |
| 121 | <groupId>org.sonarsource.scanner.maven</groupId> |
| 122 | <artifactId>sonar-maven-plugin</artifactId> |
Jessica Wagantall | b8f094b | 2018-02-05 17:59:39 -0800 | [diff] [blame] | 123 | <version>3.2</version> |
Gary Wu | e3c423d | 2018-02-02 11:10:57 -0800 | [diff] [blame] | 124 | </plugin> |
Gary Wu | 7f1c152 | 2017-06-21 15:03:17 -0700 | [diff] [blame] | 125 | </plugins> |
| 126 | </pluginManagement> |
Gary Wu | 07a40c8 | 2017-08-23 12:03:32 -0700 | [diff] [blame] | 127 | <plugins> |
| 128 | <plugin> |
| 129 | <groupId>org.sonatype.plugins</groupId> |
| 130 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 131 | </plugin> |
| 132 | <plugin> |
| 133 | <groupId>org.apache.maven.plugins</groupId> |
| 134 | <artifactId>maven-deploy-plugin</artifactId> |
| 135 | </plugin> |
| 136 | <plugin> |
| 137 | <groupId>org.apache.maven.plugins</groupId> |
| 138 | <artifactId>maven-site-plugin</artifactId> |
| 139 | </plugin> |
Anaël Closson | 9ab3bc5 | 2017-08-28 15:35:58 +0200 | [diff] [blame] | 140 | <plugin> |
Anaël Closson | d25cc10 | 2017-08-28 15:43:22 +0200 | [diff] [blame] | 141 | <groupId>org.apache.maven.plugins</groupId> |
| 142 | <artifactId>maven-enforcer-plugin</artifactId> |
| 143 | </plugin> |
Gary Wu | 07a40c8 | 2017-08-23 12:03:32 -0700 | [diff] [blame] | 144 | </plugins> |
Gary Wu | 7f1c152 | 2017-06-21 15:03:17 -0700 | [diff] [blame] | 145 | </build> |
| 146 | </project> |