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.controller</groupId>
14 <artifactId>mdsal-it-parent</artifactId>
15 <version>1.9.3-SNAPSHOT</version>
19 <groupId>org.opendaylight.neutron</groupId>
20 <artifactId>integration-test</artifactId>
21 <version>0.12.3-SNAPSHOT</version>
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>
27 <skipITs>false</skipITs>
28 <karaf.distro.groupId>org.opendaylight.neutron</karaf.distro.groupId>
29 <karaf.distro.artifactId>neutron-karaf</karaf.distro.artifactId>
30 <karaf.distro.version>${project.version}</karaf.distro.version>
31 <karaf.distro.type>zip</karaf.distro.type>
32 <checkstyle.location>${project.parent.basedir}/src/main/resources</checkstyle.location>
33 <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
34 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
35 <sonar.sources>pom.xml,target/generated-sources/dependency</sonar.sources>
39 <groupId>${project.groupId}</groupId>
40 <artifactId>integration-test-standalone</artifactId>
41 <version>${project.version}</version>
44 <groupId>${project.groupId}</groupId>
45 <artifactId>neutron-karaf</artifactId>
46 <version>${project.version}</version>
50 <groupId>org.jacoco</groupId>
51 <artifactId>org.jacoco.agent</artifactId>
52 <version>${jacoco.version}</version>
55 <groupId>com.google.code.gson</groupId>
56 <artifactId>gson</artifactId>
64 <artifactId>maven-checkstyle-plugin</artifactId>
66 <excludes>org/opendaylight/yang/gen/**,**/yang/**</excludes>
67 <consoleOutput>true</consoleOutput>
68 <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
75 <phase>process-sources</phase>
80 <groupId>org.jacoco</groupId>
81 <artifactId>jacoco-maven-plugin</artifactId>
82 <version>${jacoco.version}</version>
88 <groupId>org.ops4j.pax.exam</groupId>
89 <artifactId>maven-paxexam-plugin</artifactId>
92 <id>generate-config</id>
94 <goal>generate-depends-file</goal>
100 <artifactId>maven-antrun-plugin</artifactId>
103 <id>prep-jacoco-agent</id>
104 <phase>pre-integration-test</phase>
110 <copy file="${settings.localRepository}/org/jacoco/org.jacoco.agent/${jacoco.version}/org.jacoco.agent-${jacoco.version}-runtime.jar"
111 tofile="target/pax/jars/org.jacoco.agent.jar" />
112 <copy todir="target/generated-sources/dependency" overwrite="true">
113 <fileset dir="../../neutron-spi/src/main/java" casesensitive="yes" />
114 <fileset dir="../../northbound-api/src/main/java" casesensitive="yes" />
115 <fileset dir="../../transcriber/src/main/java" casesensitive="yes" />
116 <fileset dir="../../neutron-logger/src/main/java" casesensitive="yes" />
122 <id>copyout-coverage-file</id>
123 <phase>post-integration-test</phase>
129 <copy todir="${project.basedir}/target" flatten="true" overwrite="true">
130 <fileset dir="target/pax" casesensitive="yes">
131 <include name="**/jacoco-it.exec" />
138 <id>remove-generated-sources</id>
139 <phase>verify</phase>
145 <delete includeEmptyDirs="true">
146 <fileset dir="target/generated-sources/dependency" includes="**/*" defaultexcludes="no"/>
154 <groupId>org.jacoco</groupId>
155 <artifactId>jacoco-maven-plugin</artifactId>
158 <id>post-integration-test</id>
159 <phase>post-integration-test</phase>
161 <goal>report-integration</goal>
164 <dataFile>${sonar.jacoco.itReportPath}</dataFile>
165 <outputDirectory>${project.basedir}/target/site/jacoco-it</outputDirectory>
173 <connection>scm:git:ssh://git.opendaylight.org:29418/neutron.git</connection>
174 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/neutron.git</developerConnection>
176 <url>https://wiki.opendaylight.org/view/NeutronNorthBound:Main</url>