Bump upstream versions
[neutron.git] / parent / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  Copyright (c) 2018 Intel Corporation and others. All rights reserved.
4
5  This program and the accompanying materials are made available under the
6  terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <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">
10   <modelVersion>4.0.0</modelVersion>
11
12   <parent>
13     <groupId>org.opendaylight.mdsal</groupId>
14     <artifactId>binding-parent</artifactId>
15     <version>8.0.4</version>
16     <relativePath/>
17   </parent>
18
19   <groupId>org.opendaylight.neutron</groupId>
20   <artifactId>project-neutron-parent</artifactId>
21   <version>0.17.0-SNAPSHOT</version>
22   <packaging>pom</packaging>
23   <!-- <name> formatting is used by autorelease to parse and notify projects on
24        build failure. Please do not modify this unless you have a good reason. -->
25   <name>ODL :: neutron :: ${project.artifactId}</name>
26
27   <properties>
28     <sonar.jacoco.reportPath>target/jacoco.exec</sonar.jacoco.reportPath>
29     <sonar.jacoco.itReportPath>../target/jacoco-it.exec</sonar.jacoco.itReportPath>
30   </properties>
31   <scm>
32     <connection>scm:git:ssh://git.opendaylight.org:29418/neutron.git</connection>
33     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/neutron.git</developerConnection>
34     <tag>HEAD</tag>
35   </scm>
36
37   <dependencyManagement>
38     <dependencies>
39       <dependency>
40         <groupId>org.opendaylight.infrautils</groupId>
41         <artifactId>infrautils-artifacts</artifactId>
42         <version>2.0.5</version>
43         <type>pom</type>
44         <scope>import</scope>
45       </dependency>
46       <dependency>
47         <groupId>org.opendaylight.controller</groupId>
48         <artifactId>controller-artifacts</artifactId>
49         <version>4.0.2</version>
50         <type>pom</type>
51         <scope>import</scope>
52       </dependency>
53       <dependency>
54         <groupId>org.opendaylight.aaa</groupId>
55         <artifactId>aaa-artifacts</artifactId>
56         <version>0.14.2</version>
57         <type>pom</type>
58         <scope>import</scope>
59       </dependency>
60       <dependency>
61         <groupId>org.opendaylight.netconf</groupId>
62         <artifactId>netconf-artifacts</artifactId>
63         <version>2.0.3</version>
64         <type>pom</type>
65         <scope>import</scope>
66       </dependency>
67
68       <!-- NEUTRON-197: We need to enforce usage of org.glassfish:javax.json v1.0.4,
69            that exact old version, because only that version includes both packages javax.json.*
70            as well as org.glassfish.json.* (AND THEREFORE THE Class.forName WORKS EVEN UNDER OSGi).
71
72            Newer releases of org.glassfish:javax.json (such as 1.1.2) have (only) the
73            org.glassfish.json packages, with a dep to the separate new javax.json:javax.json-api
74            which contains (only) the javax.json packages; this nicer API / Impl split packaging breaks under OSGi.
75
76            We must also prevent Moxy from dragging along javax.json:javax.json-api
77            to prevent confusing classpath duplicates on javax.json.  Moxy changed its policy from directly depending
78            on org.glassfish:javax.json 1.0.4 in its 2.7.1 to depending on javax.json:javax.json-api since 2.7.3.
79
80            The same block is copy/pasted in ../features/parent (that's the
81            neutron-single-feature-parent, not to be confused with this project-neutron-parent);
82            keep any changes made there, or here, in sync with each other. -->
83       <dependency>
84          <groupId>org.eclipse.persistence</groupId>
85          <artifactId>org.eclipse.persistence.moxy</artifactId>
86          <version>2.7.8</version>
87          <exclusions>
88            <exclusion>
89              <groupId>javax.json</groupId>
90              <artifactId>javax.json-api</artifactId>
91            </exclusion>
92          </exclusions>
93       </dependency>
94       <dependency>
95         <groupId>org.glassfish</groupId>
96         <artifactId>javax.json</artifactId>
97         <!-- do not touch this version, see above -->
98         <version>1.0.4</version>
99       </dependency>
100       <dependency>
101         <groupId>javax.validation</groupId>
102         <artifactId>validation-api</artifactId>
103         <version>1.1.0.Final</version>
104       </dependency>
105     </dependencies>
106   </dependencyManagement>
107
108   <build>
109     <plugins>
110       <plugin>
111         <artifactId>maven-checkstyle-plugin</artifactId>
112         <configuration>
113           <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
114         </configuration>
115       </plugin>
116       <plugin>
117         <groupId>com.github.spotbugs</groupId>
118         <artifactId>spotbugs-maven-plugin</artifactId>
119         <configuration>
120           <failOnError>true</failOnError>
121         </configuration>
122       </plugin>
123     </plugins>
124   </build>
125 </project>