blob: 4af5ef2f03d5d070138db638ced87a79fee344e0 [file] [log] [blame]
Gary Wu7f1c1522017-06-21 15:03:17 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 Copyright (c) 2016-2017 Huawei Technologies Co., Ltd.
Anaël Closson9ab3bc52017-08-28 15:35:58 +02004 Modifications copyright (C) 2017 AT&T Intellectual Property
Gary Wu7f1c1522017-06-21 15:03:17 -07005
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 Wu7f1c1522017-06-21 15:03:17 -070020 <name>oparent</name>
Gary Wu2a78a372017-08-21 14:03:14 -070021 <groupId>org.onap.oparent</groupId>
22 <artifactId>version</artifactId>
Jessica Wagantall1b588722017-11-18 18:32:09 -080023 <version>1.1.0-SNAPSHOT</version>
Gary Wu7f1c1522017-06-21 15:03:17 -070024 <packaging>pom</packaging>
Gary Wu7f1c1522017-06-21 15:03:17 -070025 <modules>
26 <!-- oparent tools -->
Gary Wu7f1c1522017-06-21 15:03:17 -070027 <module>checkstyle</module>
28 <module>license</module>
Gary Wu2a78a372017-08-21 14:03:14 -070029 <module>oparent</module>
DR695Heb3dd602017-09-08 15:20:22 -040030 <module>oparent-python</module>
Gary Wu7f1c1522017-06-21 15:03:17 -070031 </modules>
Gary Wu2a78a372017-08-21 14:03:14 -070032 <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 Wuff1f3422017-08-23 13:24:41 -070038 <!-- sitePath may be overridden in the inheriting POM if desired -->
39 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
Lusheng Jicbb90272017-09-01 17:43:02 +000040 <!-- 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 Wu7f1c1522017-06-21 15:03:17 -070049 </properties>
Gary Wu2a78a372017-08-21 14:03:14 -070050 <distributionManagement>
51 <repository>
Gary Wudcfc3442017-10-11 12:58:43 -070052 <id>ecomp-releases</id>
Gary Wu2a78a372017-08-21 14:03:14 -070053 <url>${onap.nexus.url}/content/repositories/releases</url>
54 </repository>
55 <snapshotRepository>
Gary Wudcfc3442017-10-11 12:58:43 -070056 <id>ecomp-snapshots</id>
Gary Wu2a78a372017-08-21 14:03:14 -070057 <url>${onap.nexus.url}/content/repositories/snapshots</url>
58 </snapshotRepository>
59 </distributionManagement>
Gary Wu7f1c1522017-06-21 15:03:17 -070060 <build>
61 <pluginManagement>
62 <plugins>
63 <plugin>
Gary Wu2a78a372017-08-21 14:03:14 -070064 <groupId>org.sonatype.plugins</groupId>
65 <artifactId>nexus-staging-maven-plugin</artifactId>
66 <version>1.6.7</version>
67 <extensions>true</extensions>
Gary Wu7f1c1522017-06-21 15:03:17 -070068 <configuration>
Gary Wu2a78a372017-08-21 14:03:14 -070069 <nexusUrl>${onap.nexus.url}</nexusUrl>
70 <stagingProfileId>176c31dfe190a</stagingProfileId>
Gary Wudcfc3442017-10-11 12:58:43 -070071 <serverId>ecomp-staging</serverId>
Gary Wu7f1c1522017-06-21 15:03:17 -070072 </configuration>
Gary Wu07a40c82017-08-23 12:03:32 -070073 </plugin>
74 <plugin>
Gary Wu7f1c1522017-06-21 15:03:17 -070075 <groupId>org.apache.maven.plugins</groupId>
Gary Wu2a78a372017-08-21 14:03:14 -070076 <artifactId>maven-deploy-plugin</artifactId>
Gary Wu07a40c82017-08-23 12:03:32 -070077 <!-- This version supports the "deployAtEnd" parameter -->
78 <version>2.8</version>
Gary Wu7f1c1522017-06-21 15:03:17 -070079 <configuration>
Gary Wu07a40c82017-08-23 12:03:32 -070080 <skip/>
Gary Wu7f1c1522017-06-21 15:03:17 -070081 </configuration>
Gary Wu07a40c82017-08-23 12:03:32 -070082 </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 Closson9ab3bc52017-08-28 15:35:58 +020095 <plugin>
Anaël Clossond25cc102017-08-28 15:43:22 +020096 <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 Wu926c7562017-10-27 10:53:27 -0700110 <level>ERROR</level>
Anaël Clossond25cc102017-08-28 15:43:22 +0200111 </requireReleaseDeps>
112 </rules>
113 </configuration>
114 </execution>
115 </executions>
116 </plugin>
Gary Wue3c423d2018-02-02 11:10:57 -0800117 <!-- 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 Wu7f1c1522017-06-21 15:03:17 -0700123 </plugins>
124 </pluginManagement>
Gary Wu07a40c82017-08-23 12:03:32 -0700125 <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 Closson9ab3bc52017-08-28 15:35:58 +0200138 <plugin>
Anaël Clossond25cc102017-08-28 15:43:22 +0200139 <groupId>org.apache.maven.plugins</groupId>
140 <artifactId>maven-enforcer-plugin</artifactId>
141 </plugin>
Gary Wu07a40c82017-08-23 12:03:32 -0700142 </plugins>
Gary Wu7f1c1522017-06-21 15:03:17 -0700143 </build>
144</project>