1 <?xml version="1.0" encoding="UTF-8"?>
3 Copyright (c) 2018 Intel Corporation and others. All rights reserved.
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
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>
13 <groupId>org.opendaylight.mdsal</groupId>
14 <artifactId>binding-parent</artifactId>
15 <version>8.0.4</version>
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>
28 <sonar.jacoco.reportPath>target/jacoco.exec</sonar.jacoco.reportPath>
29 <sonar.jacoco.itReportPath>../target/jacoco-it.exec</sonar.jacoco.itReportPath>
32 <connection>scm:git:ssh://git.opendaylight.org:29418/neutron.git</connection>
33 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/neutron.git</developerConnection>
37 <dependencyManagement>
40 <groupId>org.opendaylight.infrautils</groupId>
41 <artifactId>infrautils-artifacts</artifactId>
42 <version>2.0.5</version>
47 <groupId>org.opendaylight.controller</groupId>
48 <artifactId>controller-artifacts</artifactId>
49 <version>4.0.2</version>
54 <groupId>org.opendaylight.aaa</groupId>
55 <artifactId>aaa-artifacts</artifactId>
56 <version>0.14.2</version>
61 <groupId>org.opendaylight.netconf</groupId>
62 <artifactId>netconf-artifacts</artifactId>
63 <version>2.0.3</version>
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).
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.
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.
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. -->
84 <groupId>org.eclipse.persistence</groupId>
85 <artifactId>org.eclipse.persistence.moxy</artifactId>
86 <version>2.7.8</version>
89 <groupId>javax.json</groupId>
90 <artifactId>javax.json-api</artifactId>
95 <groupId>org.glassfish</groupId>
96 <artifactId>javax.json</artifactId>
97 <!-- do not touch this version, see above -->
98 <version>1.0.4</version>
101 <groupId>javax.validation</groupId>
102 <artifactId>validation-api</artifactId>
103 <version>1.1.0.Final</version>
106 </dependencyManagement>
111 <artifactId>maven-checkstyle-plugin</artifactId>
113 <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
117 <groupId>com.github.spotbugs</groupId>
118 <artifactId>spotbugs-maven-plugin</artifactId>
120 <failOnError>true</failOnError>