Upgrade jetty to 9.4.20.v20190813
[oparent.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3    Copyright (c) 2016-2018 Huawei Technologies Co., Ltd.
4    Modifications copyright (C) 2017 AT&T Intellectual Property
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>
20   <name>oparent</name>
21   <groupId>org.onap.oparent</groupId>
22   <artifactId>version</artifactId>
23   <version>2.1.0-SNAPSHOT</version>
24   <packaging>pom</packaging>
25   <modules>
26     <!-- oparent tools -->
27     <module>checkstyle</module>
28     <module>license</module>
29     <module>oparent</module>
30     <module>oparent-python</module>
31     <module>dependencies</module>
32     <module>dependencies-clm</module>
33   </modules>
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     <!-- sitePath may be overridden in the inheriting POM if desired -->
40     <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
41
42     <!--
43         The following properties should be defined in your own ~/.m2/settings.xml based on your own build infastructure setup.
44         See the settings.xml in this directory for default settings based on the Linux Foundation ONAP infrastructure.
45
46     <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
47     <onap.nexus.rawrepo.baseurl.upload>https://nexus.onap.org/content/sites/raw</onap.nexus.rawrepo.baseurl.upload>
48     <onap.nexus.rawrepo.baseurl.download>https://nexus.onap.org/service/local/repositories/raw/content</onap.nexus.rawrepo.baseurl.download>
49     <onap.nexus.rawrepo.serverid>ecomp-raw</onap.nexus.rawrepo.serverid>
50     <onap.nexus.dockerregistry.daily>nexus3.onap.org:10003</onap.nexus.dockerregistry.daily>
51     <onap.nexus.dockerregistry.release>nexus3.onap.org:10002</onap.nexus.dockerregistry.release>
52     <docker.pull.registry>nexus3.onap.org:10001</docker.pull.registry>
53     <docker.push.registry>nexus3.onap.org:10003</docker.push.registry>
54     -->
55   </properties>
56   <distributionManagement>
57     <repository>
58       <id>ecomp-releases</id>
59       <url>${onap.nexus.url}/content/repositories/releases</url>
60     </repository>
61     <snapshotRepository>
62       <id>ecomp-snapshots</id>
63       <url>${onap.nexus.url}/content/repositories/snapshots</url>
64     </snapshotRepository>
65   </distributionManagement>
66   <build>
67     <pluginManagement>
68       <plugins>
69         <plugin>
70           <groupId>org.apache.maven.plugins</groupId>
71           <artifactId>maven-deploy-plugin</artifactId>
72           <!-- This version supports the "deployAtEnd" parameter -->
73           <version>2.8</version>
74           <configuration>
75             <skip/>
76           </configuration>
77         </plugin>
78         <plugin>
79           <groupId>org.apache.maven.plugins</groupId>
80           <artifactId>maven-site-plugin</artifactId>
81           <version>3.6</version>
82           <dependencies>
83             <dependency>
84               <groupId>org.apache.maven.wagon</groupId>
85               <artifactId>wagon-webdav-jackrabbit</artifactId>
86               <version>2.10</version>
87             </dependency>
88           </dependencies>
89         </plugin>
90         <plugin>
91           <groupId>org.apache.maven.plugins</groupId>
92           <artifactId>maven-enforcer-plugin</artifactId>
93           <version>3.0.0-M2</version>
94           <executions>
95             <execution>
96               <id>enforce-property</id>
97               <goals>
98                 <goal>enforce</goal>
99               </goals>
100               <configuration>
101                 <rules>
102                   <requireProperty>
103                     <property>onap.nexus.url</property>
104                     <message>You must set a onap.nexus.url property in your ~/.m2/settings.xml.  See oparent/settings.xml for an example.</message>
105                   </requireProperty>
106                 </rules>
107                 <fail>true</fail>
108               </configuration>
109             </execution>
110             <execution>
111               <id>enforce-no-snapshots</id>
112               <goals>
113                 <goal>enforce</goal>
114               </goals>
115               <configuration>
116                 <rules>
117                   <requireReleaseDeps>
118                     <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
119                     <onlyWhenRelease>true</onlyWhenRelease>
120                     <level>ERROR</level>
121                   </requireReleaseDeps>
122                 </rules>
123               </configuration>
124             </execution>
125           </executions>
126         </plugin>
127         <!-- https://mvnrepository.com/artifact/org.sonarsource.scanner.maven/sonar-maven-plugin -->
128         <plugin>
129           <groupId>org.sonarsource.scanner.maven</groupId>
130           <artifactId>sonar-maven-plugin</artifactId>
131           <version>3.2</version>
132         </plugin>
133       </plugins>
134     </pluginManagement>
135     <plugins>
136       <plugin>
137         <groupId>org.apache.maven.plugins</groupId>
138         <artifactId>maven-deploy-plugin</artifactId>
139       </plugin>
140       <plugin>
141         <groupId>org.apache.maven.plugins</groupId>
142         <artifactId>maven-site-plugin</artifactId>
143       </plugin>
144       <plugin>
145         <groupId>org.apache.maven.plugins</groupId>
146         <artifactId>maven-enforcer-plugin</artifactId>
147       </plugin>
148     </plugins>
149
150   </build>
151 </project>