ef2a15f46fb520b1f296faf472b89a3fe09a21f0
[ovsdb.git] / commons / it / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (C) 2015 Red Hat, Inc. and others. All rights reserved.
4
5 This program and the accompanying materials are made available under the
6 terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <project xmlns="http://maven.apache.org/POM/4.0.0"
10          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12   <modelVersion>4.0.0</modelVersion>
13
14   <parent>
15     <groupId>org.opendaylight.controller</groupId>
16     <artifactId>mdsal-it-parent</artifactId>
17     <version>1.4.0-SNAPSHOT</version>
18     <relativePath/>
19   </parent>
20
21   <groupId>org.opendaylight.ovsdb</groupId>
22   <artifactId>it</artifactId>
23   <version>1.3.0-SNAPSHOT</version>
24   <packaging>pom</packaging>
25   <description>The OVSDB Plugin integration project is a project for OpenDaylight that will implement the Open vSwitch Database RFC 7047 management protocol allowing the Southbound configuration of vSwitches and a network virtualization implementation.</description>
26   <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
27   <licenses>
28     <license>
29       <name>Eclipse Public License v1.0</name>
30       <url>http://www.eclipse.org/legal/epl-v10.html</url>
31     </license>
32   </licenses>
33   <developers>
34     <developer>
35       <name>Sam Hague</name>
36       <email>shague@gmail.com</email>
37       <url>https://github.com/shague</url>
38     </developer>
39   </developers>
40   <scm>
41     <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
42     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
43     <tag>HEAD</tag>
44     <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
45   </scm>
46
47   <prerequisites>
48     <maven>3.1.1</maven>
49   </prerequisites>
50
51   <profiles>
52     <profile>
53       <id>default</id>
54       <activation>
55         <activeByDefault>true</activeByDefault>
56       </activation>
57       <properties>
58         <skipITs>true</skipITs>
59       </properties>
60     </profile>
61     <profile>
62       <id>integrationtest</id>
63       <activation>
64         <activeByDefault>false</activeByDefault>
65       </activation>
66       <properties>
67         <skipITs>false</skipITs>
68       </properties>
69     </profile>
70   </profiles>
71
72   <dependencyManagement>
73     <dependencies>
74       <dependency>
75         <groupId>org.codehaus.sonar-plugins.java</groupId>
76         <artifactId>sonar-jacoco-listeners</artifactId>
77         <version>${sonar-jacoco-listeners.version}</version>
78         <scope>test</scope>
79       </dependency>
80     </dependencies>
81   </dependencyManagement>
82
83   <build>
84     <plugins>
85       <plugin>
86         <groupId>org.jacoco</groupId>
87         <artifactId>jacoco-maven-plugin</artifactId>
88       </plugin>
89       <plugin>
90         <groupId>org.apache.maven.plugins</groupId>
91         <artifactId>maven-failsafe-plugin</artifactId>
92         <configuration>
93           <properties>
94             <property>
95               <name>listener</name>
96               <value>org.sonar.java.jacoco.JUnitListener</value>
97             </property>
98           </properties>
99         </configuration>
100       </plugin>
101       <plugin>
102         <artifactId>maven-antrun-plugin</artifactId>
103         <executions>
104           <execution>
105             <id>prep-jacoco-agent</id>
106             <phase>pre-integration-test</phase>
107             <goals>
108               <goal>run</goal>
109             </goals>
110             <configuration>
111               <target>
112                 <copy file="${settings.localRepository}/org/jacoco/org.jacoco.agent/${jacoco.version}/org.jacoco.agent-${jacoco.version}-runtime.jar"
113                       tofile="target/exam/jars/org.jacoco.agent.jar" />
114               </target>
115             </configuration>
116           </execution>
117         </executions>
118       </plugin>
119     </plugins>
120   </build>
121 </project>