Add missing <name> fields for pom.xml files
[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.8.0-SNAPSHOT</version>
8     <relativePath/>
9   </parent>
10
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>
18   <properties>
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>
23   </properties>
24   <dependencies>
25     <dependency>
26       <groupId>org.opendaylight.neutron</groupId>
27       <artifactId>features-neutron</artifactId>
28       <version>${project.version}</version>
29       <classifier>features</classifier>
30       <type>xml</type>
31     </dependency>
32     <dependency>
33       <groupId>org.opendaylight.neutron</groupId>
34       <artifactId>neutron-karaf</artifactId>
35       <version>${project.version}</version>
36       <type>zip</type>
37     </dependency>
38     <dependency>
39       <groupId>org.jacoco</groupId>
40       <artifactId>org.jacoco.agent</artifactId>
41       <version>${jacoco.version}</version>
42     </dependency>
43     <dependency>
44       <groupId>com.google.code.gson</groupId>
45       <artifactId>gson</artifactId>
46     </dependency>
47   </dependencies>
48
49   <build>
50     <pluginManagement>
51       <plugins>
52          <plugin>
53           <artifactId>maven-checkstyle-plugin</artifactId>
54           <configuration>
55             <excludes>org/opendaylight/yang/gen/**,**/yang/**</excludes>
56             <consoleOutput>true</consoleOutput>
57              <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
58           </configuration>
59           <executions>
60             <execution>
61               <goals>
62                 <goal>check</goal>
63               </goals>
64               <phase>process-sources</phase>
65             </execution>
66           </executions>
67         </plugin>
68         <plugin>
69           <groupId>org.jacoco</groupId>
70           <artifactId>jacoco-maven-plugin</artifactId>
71           <version>${jacoco.version}</version>
72         </plugin>
73       </plugins>
74     </pluginManagement>
75     <plugins>
76       <plugin>
77         <groupId>org.apache.maven.plugins</groupId>
78         <artifactId>maven-dependency-plugin</artifactId>
79         <executions>
80           <execution>
81             <id>unpack-classes</id>
82             <goals>
83               <goal>unpack</goal>
84             </goals>
85             <configuration>
86               <artifactItems>
87                 <artifactItem>
88                   <groupId>${project.groupId}</groupId>
89                   <artifactId>neutron-logger</artifactId>
90                   <version>${project.version}</version>
91                 </artifactItem>
92                 <artifactItem>
93                   <groupId>${project.groupId}</groupId>
94                   <artifactId>neutron-spi</artifactId>
95                   <version>${project.version}</version>
96                 </artifactItem>
97                 <artifactItem>
98                   <groupId>${project.groupId}</groupId>
99                   <artifactId>northbound-api</artifactId>
100                   <version>${project.version}</version>
101                 </artifactItem>
102                 <artifactItem>
103                   <groupId>${project.groupId}</groupId>
104                   <artifactId>transcriber</artifactId>
105                   <version>${project.version}</version>
106                 </artifactItem>
107               </artifactItems>
108               <outputDirectory>target/classes</outputDirectory>
109             </configuration>
110           </execution>
111         </executions>
112       </plugin>
113       <plugin>
114         <groupId>org.ops4j.pax.exam</groupId>
115         <artifactId>maven-paxexam-plugin</artifactId>
116         <executions>
117           <execution>
118             <id>generate-config</id>
119             <goals>
120               <goal>generate-depends-file</goal>
121             </goals>
122           </execution>
123         </executions>
124       </plugin>
125       <plugin>
126         <artifactId>maven-failsafe-plugin</artifactId>
127         <version>${failsafe.version}</version>
128         <executions>
129           <execution>
130             <id>integration-tests</id>
131             <phase>integration-test</phase>
132             <goals>
133               <goal>integration-test</goal>
134               <goal>verify</goal>
135             </goals>
136             <configuration>
137               <argLine>${failsafeArgLine}</argLine>
138             </configuration>
139           </execution>
140         </executions>
141       </plugin>
142       <plugin>
143         <artifactId>maven-antrun-plugin</artifactId>
144         <executions>
145           <execution>
146             <id>prep-jacoco-agent</id>
147             <phase>pre-integration-test</phase>
148             <goals>
149               <goal>run</goal>
150             </goals>
151             <configuration>
152               <target>
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" />
159                 </copy>
160               </target>
161             </configuration>
162           </execution>
163           <execution>
164             <id>copyout-coverage-file</id>
165             <phase>post-integration-test</phase>
166             <goals>
167               <goal>run</goal>
168             </goals>
169             <configuration>
170               <target>
171                 <copy todir="${project.basedir}/target" flatten="true" overwrite="true">
172                   <fileset dir="target/pax" casesensitive="yes">
173                     <include name="**/jacoco-it.exec" />
174                   </fileset>
175                 </copy>
176               </target>
177             </configuration>
178           </execution>
179           <execution>
180             <id>remove-generated-sources</id>
181             <phase>verify</phase>
182             <goals>
183               <goal>run</goal>
184             </goals>
185             <configuration>
186               <target>
187                 <delete includeEmptyDirs="true">
188                   <fileset dir="target/generated-sources/dependency" includes="**/*" defaultexcludes="no"/>
189                 </delete>
190               </target>
191             </configuration>
192           </execution>
193         </executions>
194       </plugin>
195       <plugin>
196         <groupId>org.jacoco</groupId>
197         <artifactId>jacoco-maven-plugin</artifactId>
198         <executions>
199           <execution>
200             <id>post-integration-test</id>
201             <phase>post-integration-test</phase>
202             <goals>
203               <goal>report-integration</goal>
204             </goals>
205             <configuration>
206               <dataFile>${sonar.jacoco.itReportPath}</dataFile>
207               <outputDirectory>${project.basedir}/target/site/jacoco-it</outputDirectory>
208             </configuration>
209           </execution>
210         </executions>
211       </plugin>
212     </plugins>
213   </build>
214   <scm>
215     <connection>scm:git:ssh://git.opendaylight.org:29418/neutron.git</connection>
216     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/neutron.git</developerConnection>
217     <tag>HEAD</tag>
218     <url>https://wiki.opendaylight.org/view/NeutronNorthBound:Main</url>
219   </scm>
220
221   <!--
222       Maven Site Configuration
223
224       The following configuration is necessary for maven-site-plugin to
225       correctly identify the correct deployment path for OpenDaylight Maven
226       sites.
227   -->
228   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
229
230   <distributionManagement>
231     <site>
232       <id>opendaylight-site</id>
233       <url>${nexus.site.url}/${project.artifactId}/</url>
234     </site>
235   </distributionManagement>
236 </project>