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.odlparent</groupId>
6 <artifactId>features-parent</artifactId>
7 <version>1.8.0-SNAPSHOT</version>
11 <groupId>org.opendaylight.neutron</groupId>
12 <artifactId>integration-test</artifactId>
13 <version>0.8.0-SNAPSHOT</version>
14 <packaging>jar</packaging>
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 <checkstyle.location>${project.parent.basedir}/src/main/resources</checkstyle.location>
20 <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
21 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
22 <sonar.sources>pom.xml,target/generated-sources/dependency</sonar.sources>
26 <groupId>org.opendaylight.neutron</groupId>
27 <artifactId>features-neutron</artifactId>
28 <version>${project.version}</version>
29 <classifier>features</classifier>
33 <groupId>org.opendaylight.neutron</groupId>
34 <artifactId>neutron-karaf</artifactId>
35 <version>${project.version}</version>
39 <groupId>org.jacoco</groupId>
40 <artifactId>org.jacoco.agent</artifactId>
41 <version>${jacoco.version}</version>
44 <groupId>com.google.code.gson</groupId>
45 <artifactId>gson</artifactId>
53 <artifactId>maven-checkstyle-plugin</artifactId>
55 <excludes>org/opendaylight/yang/gen/**,**/yang/**</excludes>
56 <consoleOutput>true</consoleOutput>
57 <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
64 <phase>process-sources</phase>
69 <groupId>org.jacoco</groupId>
70 <artifactId>jacoco-maven-plugin</artifactId>
71 <version>${jacoco.version}</version>
77 <groupId>org.apache.maven.plugins</groupId>
78 <artifactId>maven-dependency-plugin</artifactId>
81 <id>unpack-classes</id>
88 <groupId>${project.groupId}</groupId>
89 <artifactId>neutron-logger</artifactId>
90 <version>${project.version}</version>
93 <groupId>${project.groupId}</groupId>
94 <artifactId>neutron-spi</artifactId>
95 <version>${project.version}</version>
98 <groupId>${project.groupId}</groupId>
99 <artifactId>northbound-api</artifactId>
100 <version>${project.version}</version>
103 <groupId>${project.groupId}</groupId>
104 <artifactId>transcriber</artifactId>
105 <version>${project.version}</version>
108 <outputDirectory>target/classes</outputDirectory>
114 <groupId>org.ops4j.pax.exam</groupId>
115 <artifactId>maven-paxexam-plugin</artifactId>
118 <id>generate-config</id>
120 <goal>generate-depends-file</goal>
126 <artifactId>maven-failsafe-plugin</artifactId>
127 <version>${failsafe.version}</version>
130 <id>integration-tests</id>
131 <phase>integration-test</phase>
133 <goal>integration-test</goal>
137 <argLine>${failsafeArgLine}</argLine>
143 <artifactId>maven-antrun-plugin</artifactId>
146 <id>prep-jacoco-agent</id>
147 <phase>pre-integration-test</phase>
153 <copy file="${settings.localRepository}/org/jacoco/org.jacoco.agent/${jacoco.version}/org.jacoco.agent-${jacoco.version}-runtime.jar"
154 tofile="target/pax/jars/org.jacoco.agent.jar" />
155 <copy todir="target/generated-sources/dependency" overwrite="true">
156 <fileset dir="../../neutron-spi/src/main/java" casesensitive="yes" />
157 <fileset dir="../../northbound-api/src/main/java" casesensitive="yes" />
158 <fileset dir="../../transcriber/src/main/java" casesensitive="yes" />
164 <id>copyout-coverage-file</id>
165 <phase>post-integration-test</phase>
171 <copy todir="${project.basedir}/target" flatten="true" overwrite="true">
172 <fileset dir="target/pax" casesensitive="yes">
173 <include name="**/jacoco-it.exec" />
180 <id>remove-generated-sources</id>
181 <phase>verify</phase>
187 <delete includeEmptyDirs="true">
188 <fileset dir="target/generated-sources/dependency" includes="**/*" defaultexcludes="no"/>
196 <groupId>org.jacoco</groupId>
197 <artifactId>jacoco-maven-plugin</artifactId>
200 <id>post-integration-test</id>
201 <phase>post-integration-test</phase>
203 <goal>report-integration</goal>
206 <dataFile>${sonar.jacoco.itReportPath}</dataFile>
207 <outputDirectory>${project.basedir}/target/site/jacoco-it</outputDirectory>
215 <connection>scm:git:ssh://git.opendaylight.org:29418/neutron.git</connection>
216 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/neutron.git</developerConnection>
218 <url>https://wiki.opendaylight.org/view/NeutronNorthBound:Main</url>
222 Maven Site Configuration
224 The following configuration is necessary for maven-site-plugin to
225 correctly identify the correct deployment path for OpenDaylight Maven
228 <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
230 <distributionManagement>
232 <id>opendaylight-site</id>
233 <url>${nexus.site.url}/${project.artifactId}/</url>
235 </distributionManagement>