Bump versions by 0.1.0 for next dev cycle
[neutron.git] / integration / test / pom.xml
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>
4   <parent>
5     <groupId>org.opendaylight.odlparent</groupId>
6     <artifactId>features-parent</artifactId>
7     <version>1.7.0-SNAPSHOT</version>
8     <relativePath/>
9   </parent>
10
11   <groupId>org.opendaylight.neutron</groupId>
12   <artifactId>integration-test</artifactId>
13   <version>0.7.0-SNAPSHOT</version>
14   <packaging>jar</packaging>
15
16   <properties>
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>
21   </properties>
22   <dependencies>
23     <dependency>
24       <groupId>org.opendaylight.neutron</groupId>
25       <artifactId>features-neutron</artifactId>
26       <version>${project.version}</version>
27       <classifier>features</classifier>
28       <type>xml</type>
29     </dependency>
30     <dependency>
31       <groupId>${project.groupId}</groupId>
32       <artifactId>dummyprovider</artifactId>
33       <version>${project.version}</version>
34     </dependency>
35     <dependency>
36       <groupId>org.opendaylight.neutron</groupId>
37       <artifactId>neutron-karaf</artifactId>
38       <version>${project.version}</version>
39       <type>zip</type>
40     </dependency>
41     <dependency>
42       <groupId>org.jacoco</groupId>
43       <artifactId>org.jacoco.agent</artifactId>
44       <version>${jacoco.version}</version>
45     </dependency>
46   </dependencies>
47
48   <build>
49     <pluginManagement>
50       <plugins>
51         <plugin>
52           <groupId>org.jacoco</groupId>
53           <artifactId>jacoco-maven-plugin</artifactId>
54           <version>${jacoco.version}</version>
55         </plugin>
56       </plugins>
57     </pluginManagement>
58     <plugins>
59       <plugin>
60         <groupId>org.apache.maven.plugins</groupId>
61         <artifactId>maven-dependency-plugin</artifactId>
62         <executions>
63           <execution>
64             <id>unpack-classes</id>
65             <goals>
66               <goal>unpack</goal>
67             </goals>
68             <configuration>
69               <artifactItems>
70                 <artifactItem>
71                   <groupId>${project.groupId}</groupId>
72                   <artifactId>neutron-spi</artifactId>
73                   <version>${project.version}</version>
74                 </artifactItem>
75                 <artifactItem>
76                   <groupId>${project.groupId}</groupId>
77                   <artifactId>northbound-api</artifactId>
78                   <version>${project.version}</version>
79                 </artifactItem>
80                 <artifactItem>
81                   <groupId>${project.groupId}</groupId>
82                   <artifactId>transcriber</artifactId>
83                   <version>${project.version}</version>
84                 </artifactItem>
85               </artifactItems>
86               <outputDirectory>target/classes</outputDirectory>
87             </configuration>
88           </execution>
89         </executions>
90       </plugin>
91       <plugin>
92         <groupId>org.ops4j.pax.exam</groupId>
93         <artifactId>maven-paxexam-plugin</artifactId>
94         <executions>
95           <execution>
96             <id>generate-config</id>
97             <goals>
98               <goal>generate-depends-file</goal>
99             </goals>
100           </execution>
101         </executions>
102       </plugin>
103       <plugin>
104         <artifactId>maven-failsafe-plugin</artifactId>
105         <version>${failsafe.version}</version>
106         <executions>
107           <execution>
108             <id>integration-tests</id>
109             <phase>integration-test</phase>
110             <goals>
111               <goal>integration-test</goal>
112               <goal>verify</goal>
113             </goals>
114             <configuration>
115               <argLine>${failsafeArgLine}</argLine>
116             </configuration>
117           </execution>
118         </executions>
119       </plugin>
120       <plugin>
121         <artifactId>maven-antrun-plugin</artifactId>
122         <executions>
123           <execution>
124             <id>prep-jacoco-agent</id>
125             <phase>pre-integration-test</phase>
126             <goals>
127               <goal>run</goal>
128             </goals>
129             <configuration>
130               <target>
131                 <copy file="${settings.localRepository}/org/jacoco/org.jacoco.agent/${jacoco.version}/org.jacoco.agent-${jacoco.version}-runtime.jar"
132                       tofile="target/pax/jars/org.jacoco.agent.jar" />
133                 <copy todir="target/generated-sources/dependency" overwrite="true">
134                   <fileset dir="../../neutron-spi/src/main/java" casesensitive="yes" />
135                   <fileset dir="../../northbound-api/src/main/java" casesensitive="yes" />
136                   <fileset dir="../../transcriber/src/main/java" casesensitive="yes" />
137                 </copy>
138               </target>
139             </configuration>
140           </execution>
141           <execution>
142             <id>copyout-coverage-file</id>
143             <phase>post-integration-test</phase>
144             <goals>
145               <goal>run</goal>
146             </goals>
147             <configuration>
148               <target>
149                 <copy todir="${project.basedir}/target" flatten="true" overwrite="true">
150                   <fileset dir="target/pax" casesensitive="yes">
151                     <include name="**/jacoco-it.exec" />
152                   </fileset>
153                 </copy>
154               </target>
155             </configuration>
156           </execution>
157           <execution>
158             <id>remove-generated-sources</id>
159             <phase>verify</phase>
160             <goals>
161               <goal>run</goal>
162             </goals>
163             <configuration>
164               <target>
165                 <delete includeEmptyDirs="true">
166                   <fileset dir="target/generated-sources/dependency" includes="**/*" defaultexcludes="no"/>
167                 </delete>
168               </target>
169             </configuration>
170           </execution>
171         </executions>
172       </plugin>
173       <plugin>
174         <groupId>org.jacoco</groupId>
175         <artifactId>jacoco-maven-plugin</artifactId>
176         <executions>
177           <execution>
178             <id>post-integration-test</id>
179             <phase>post-integration-test</phase>
180             <goals>
181               <goal>report-integration</goal>
182             </goals>
183             <configuration>
184               <dataFile>${sonar.jacoco.itReportPath}</dataFile>
185               <outputDirectory>${project.basedir}/target/site/jacoco-it</outputDirectory>
186             </configuration>
187           </execution>
188         </executions>
189       </plugin>
190     </plugins>
191   </build>
192   <scm>
193     <connection>scm:git:ssh://git.opendaylight.org:29418/neutron.git</connection>
194     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/neutron.git</developerConnection>
195     <tag>HEAD</tag>
196     <url>https://wiki.opendaylight.org/view/NeutronNorthBound:Main</url>
197   </scm>
198 </project>