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.7.5-SNAPSHOT</version>
11 <groupId>org.opendaylight.neutron</groupId>
12 <artifactId>integration-test</artifactId>
13 <version>0.7.5-SNAPSHOT</version>
14 <packaging>jar</packaging>
17 <checkstyle.location>${project.parent.basedir}/src/main/resources</checkstyle.location>
18 <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
19 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
20 <sonar.sources>pom.xml,target/generated-sources/dependency</sonar.sources>
24 <groupId>org.opendaylight.neutron</groupId>
25 <artifactId>features-neutron</artifactId>
26 <version>${project.version}</version>
27 <classifier>features</classifier>
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 <groupId>org.jacoco</groupId>
52 <artifactId>jacoco-maven-plugin</artifactId>
53 <version>${jacoco.version}</version>
59 <groupId>org.apache.maven.plugins</groupId>
60 <artifactId>maven-dependency-plugin</artifactId>
63 <id>unpack-classes</id>
70 <groupId>${project.groupId}</groupId>
71 <artifactId>neutron-logger</artifactId>
72 <version>${project.version}</version>
75 <groupId>${project.groupId}</groupId>
76 <artifactId>neutron-spi</artifactId>
77 <version>${project.version}</version>
80 <groupId>${project.groupId}</groupId>
81 <artifactId>northbound-api</artifactId>
82 <version>${project.version}</version>
85 <groupId>${project.groupId}</groupId>
86 <artifactId>transcriber</artifactId>
87 <version>${project.version}</version>
90 <outputDirectory>target/classes</outputDirectory>
96 <groupId>org.ops4j.pax.exam</groupId>
97 <artifactId>maven-paxexam-plugin</artifactId>
100 <id>generate-config</id>
102 <goal>generate-depends-file</goal>
108 <artifactId>maven-failsafe-plugin</artifactId>
109 <version>${failsafe.version}</version>
112 <id>integration-tests</id>
113 <phase>integration-test</phase>
115 <goal>integration-test</goal>
119 <argLine>${failsafeArgLine}</argLine>
125 <artifactId>maven-antrun-plugin</artifactId>
128 <id>prep-jacoco-agent</id>
129 <phase>pre-integration-test</phase>
135 <copy file="${settings.localRepository}/org/jacoco/org.jacoco.agent/${jacoco.version}/org.jacoco.agent-${jacoco.version}-runtime.jar"
136 tofile="target/pax/jars/org.jacoco.agent.jar" />
137 <copy todir="target/generated-sources/dependency" overwrite="true">
138 <fileset dir="../../neutron-spi/src/main/java" casesensitive="yes" />
139 <fileset dir="../../northbound-api/src/main/java" casesensitive="yes" />
140 <fileset dir="../../transcriber/src/main/java" casesensitive="yes" />
146 <id>copyout-coverage-file</id>
147 <phase>post-integration-test</phase>
153 <copy todir="${project.basedir}/target" flatten="true" overwrite="true">
154 <fileset dir="target/pax" casesensitive="yes">
155 <include name="**/jacoco-it.exec" />
162 <id>remove-generated-sources</id>
163 <phase>verify</phase>
169 <delete includeEmptyDirs="true">
170 <fileset dir="target/generated-sources/dependency" includes="**/*" defaultexcludes="no"/>
178 <groupId>org.jacoco</groupId>
179 <artifactId>jacoco-maven-plugin</artifactId>
182 <id>post-integration-test</id>
183 <phase>post-integration-test</phase>
185 <goal>report-integration</goal>
188 <dataFile>${sonar.jacoco.itReportPath}</dataFile>
189 <outputDirectory>${project.basedir}/target/site/jacoco-it</outputDirectory>
197 <connection>scm:git:ssh://git.opendaylight.org:29418/neutron.git</connection>
198 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/neutron.git</developerConnection>
200 <url>https://wiki.opendaylight.org/view/NeutronNorthBound:Main</url>
204 Maven Site Configuration
206 The following configuration is necessary for maven-site-plugin to
207 correctly identify the correct deployment path for OpenDaylight Maven
210 <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
212 <distributionManagement>
214 <id>opendaylight-site</id>
215 <url>${nexus.site.url}/${project.artifactId}/</url>
217 </distributionManagement>