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-Carbon</version>
11 <groupId>org.opendaylight.neutron</groupId>
12 <artifactId>integration-test</artifactId>
13 <version>0.9.0-SNAPSHOT</version>
14 <packaging>jar</packaging>
17 <!--<module>features4-odl-neutron-test</module>-->
20 <!--TODO:to run integration test with karaf4: odlparent/features4-test is missing or can we just use odlparent/features-test?-->
22 <!-- <name> formatting is used by autorelease to parse and notify projects on
23 build failure. Please do not modify this unless you have a good reason. -->
24 <name>ODL :: neutron :: ${project.artifactId}</name>
26 <checkstyle.location>${project.parent.basedir}/src/main/resources</checkstyle.location>
27 <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
28 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
29 <sonar.sources>pom.xml,target/generated-sources/dependency</sonar.sources>
33 <groupId>org.opendaylight.neutron</groupId>
34 <artifactId>features-neutron</artifactId>
35 <version>${project.version}</version>
36 <classifier>features</classifier>
40 <groupId>org.opendaylight.neutron</groupId>
41 <artifactId>neutron-logger</artifactId>
42 <version>${project.version}</version>
45 <groupId>org.opendaylight.neutron</groupId>
46 <artifactId>odl-neutron-service</artifactId>
47 <version>${project.version}</version>
48 <classifier>features</classifier>
52 <groupId>org.opendaylight.neutron</groupId>
53 <artifactId>odl-neutron-logger</artifactId>
54 <version>${project.version}</version>
55 <classifier>features</classifier>
59 <groupId>org.opendaylight.neutron</groupId>
60 <artifactId>neutron-karaf</artifactId>
61 <version>${project.version}</version>
65 <groupId>org.jacoco</groupId>
66 <artifactId>org.jacoco.agent</artifactId>
67 <version>${jacoco.version}</version>
70 <groupId>com.google.code.gson</groupId>
71 <artifactId>gson</artifactId>
79 <artifactId>maven-checkstyle-plugin</artifactId>
81 <excludes>org/opendaylight/yang/gen/**,**/yang/**</excludes>
82 <consoleOutput>true</consoleOutput>
83 <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
90 <phase>process-sources</phase>
95 <groupId>org.jacoco</groupId>
96 <artifactId>jacoco-maven-plugin</artifactId>
97 <version>${jacoco.version}</version>
103 <groupId>org.apache.maven.plugins</groupId>
104 <artifactId>maven-dependency-plugin</artifactId>
107 <id>unpack-classes</id>
114 <groupId>${project.groupId}</groupId>
115 <artifactId>neutron-logger</artifactId>
116 <version>${project.version}</version>
119 <groupId>${project.groupId}</groupId>
120 <artifactId>neutron-spi</artifactId>
121 <version>${project.version}</version>
124 <groupId>${project.groupId}</groupId>
125 <artifactId>northbound-api</artifactId>
126 <version>${project.version}</version>
129 <groupId>${project.groupId}</groupId>
130 <artifactId>transcriber</artifactId>
131 <version>${project.version}</version>
134 <outputDirectory>target/classes</outputDirectory>
140 <groupId>org.ops4j.pax.exam</groupId>
141 <artifactId>maven-paxexam-plugin</artifactId>
144 <id>generate-config</id>
146 <goal>generate-depends-file</goal>
152 <artifactId>maven-failsafe-plugin</artifactId>
153 <version>${failsafe.version}</version>
156 <id>integration-tests</id>
157 <phase>integration-test</phase>
159 <goal>integration-test</goal>
163 <argLine>${failsafeArgLine}</argLine>
169 <artifactId>maven-antrun-plugin</artifactId>
172 <id>prep-jacoco-agent</id>
173 <phase>pre-integration-test</phase>
179 <copy file="${settings.localRepository}/org/jacoco/org.jacoco.agent/${jacoco.version}/org.jacoco.agent-${jacoco.version}-runtime.jar"
180 tofile="target/pax/jars/org.jacoco.agent.jar" />
181 <copy todir="target/generated-sources/dependency" overwrite="true">
182 <fileset dir="../../neutron-spi/src/main/java" casesensitive="yes" />
183 <fileset dir="../../northbound-api/src/main/java" casesensitive="yes" />
184 <fileset dir="../../transcriber/src/main/java" casesensitive="yes" />
190 <id>copyout-coverage-file</id>
191 <phase>post-integration-test</phase>
197 <copy todir="${project.basedir}/target" flatten="true" overwrite="true">
198 <fileset dir="target/pax" casesensitive="yes">
199 <include name="**/jacoco-it.exec" />
206 <id>remove-generated-sources</id>
207 <phase>verify</phase>
213 <delete includeEmptyDirs="true">
214 <fileset dir="target/generated-sources/dependency" includes="**/*" defaultexcludes="no"/>
222 <groupId>org.jacoco</groupId>
223 <artifactId>jacoco-maven-plugin</artifactId>
226 <id>post-integration-test</id>
227 <phase>post-integration-test</phase>
229 <goal>report-integration</goal>
232 <dataFile>${sonar.jacoco.itReportPath}</dataFile>
233 <outputDirectory>${project.basedir}/target/site/jacoco-it</outputDirectory>
241 <connection>scm:git:ssh://git.opendaylight.org:29418/neutron.git</connection>
242 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/neutron.git</developerConnection>
244 <url>https://wiki.opendaylight.org/view/NeutronNorthBound:Main</url>
248 Maven Site Configuration
250 The following configuration is necessary for maven-site-plugin to
251 correctly identify the correct deployment path for OpenDaylight Maven
254 <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
256 <distributionManagement>
258 <id>opendaylight-site</id>
259 <url>${nexus.site.url}/${project.artifactId}/</url>
261 </distributionManagement>