1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3 <modelVersion>4.0.0</modelVersion>
5 <groupId>org.opendaylight.controller</groupId>
6 <artifactId>mdsal-it-parent</artifactId>
7 <version>1.7.0-SNAPSHOT</version>
11 <groupId>org.opendaylight.neutron</groupId>
12 <artifactId>integration-test</artifactId>
13 <version>0.10.0-SNAPSHOT</version>
15 <!-- <name> formatting is used by autorelease to parse and notify projects on
16 build failure. Please do not modify this unless you have a good reason. -->
17 <name>ODL :: neutron :: ${project.artifactId}</name>
19 <skipITs>false</skipITs>
20 <karaf.distro.groupId>org.opendaylight.neutron</karaf.distro.groupId>
21 <karaf.distro.artifactId>neutron-karaf</karaf.distro.artifactId>
22 <karaf.distro.version>${project.version}</karaf.distro.version>
23 <karaf.distro.type>zip</karaf.distro.type>
24 <checkstyle.location>${project.parent.basedir}/src/main/resources</checkstyle.location>
25 <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
26 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
27 <sonar.sources>pom.xml,target/generated-sources/dependency</sonar.sources>
31 <groupId>org.opendaylight.neutron</groupId>
32 <artifactId>neutron-karaf</artifactId>
33 <version>${project.version}</version>
37 <groupId>org.jacoco</groupId>
38 <artifactId>org.jacoco.agent</artifactId>
39 <version>${jacoco.version}</version>
42 <groupId>com.google.code.gson</groupId>
43 <artifactId>gson</artifactId>
51 <artifactId>maven-checkstyle-plugin</artifactId>
53 <excludes>org/opendaylight/yang/gen/**,**/yang/**</excludes>
54 <consoleOutput>true</consoleOutput>
55 <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
62 <phase>process-sources</phase>
67 <groupId>org.jacoco</groupId>
68 <artifactId>jacoco-maven-plugin</artifactId>
69 <version>${jacoco.version}</version>
75 <groupId>org.ops4j.pax.exam</groupId>
76 <artifactId>maven-paxexam-plugin</artifactId>
79 <id>generate-config</id>
81 <goal>generate-depends-file</goal>
87 <artifactId>maven-antrun-plugin</artifactId>
90 <id>prep-jacoco-agent</id>
91 <phase>pre-integration-test</phase>
97 <copy file="${settings.localRepository}/org/jacoco/org.jacoco.agent/${jacoco.version}/org.jacoco.agent-${jacoco.version}-runtime.jar"
98 tofile="target/pax/jars/org.jacoco.agent.jar" />
99 <copy todir="target/generated-sources/dependency" overwrite="true">
100 <fileset dir="../../neutron-spi/src/main/java" casesensitive="yes" />
101 <fileset dir="../../northbound-api/src/main/java" casesensitive="yes" />
102 <fileset dir="../../transcriber/src/main/java" casesensitive="yes" />
103 <fileset dir="../../neutron-logger/src/main/java" casesensitive="yes" />
109 <id>copyout-coverage-file</id>
110 <phase>post-integration-test</phase>
116 <copy todir="${project.basedir}/target" flatten="true" overwrite="true">
117 <fileset dir="target/pax" casesensitive="yes">
118 <include name="**/jacoco-it.exec" />
125 <id>remove-generated-sources</id>
126 <phase>verify</phase>
132 <delete includeEmptyDirs="true">
133 <fileset dir="target/generated-sources/dependency" includes="**/*" defaultexcludes="no"/>
141 <groupId>org.jacoco</groupId>
142 <artifactId>jacoco-maven-plugin</artifactId>
145 <id>post-integration-test</id>
146 <phase>post-integration-test</phase>
148 <goal>report-integration</goal>
151 <dataFile>${sonar.jacoco.itReportPath}</dataFile>
152 <outputDirectory>${project.basedir}/target/site/jacoco-it</outputDirectory>
160 <connection>scm:git:ssh://git.opendaylight.org:29418/neutron.git</connection>
161 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/neutron.git</developerConnection>
163 <url>https://wiki.opendaylight.org/view/NeutronNorthBound:Main</url>
167 Maven Site Configuration
169 The following configuration is necessary for maven-site-plugin to
170 correctly identify the correct deployment path for OpenDaylight Maven
173 <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
175 <distributionManagement>
177 <id>opendaylight-site</id>
178 <url>${nexus.site.url}/${project.artifactId}/</url>
180 </distributionManagement>