BUG-5737: enable OVSDB Maven site
[ovsdb.git] / commons / it / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright © 2015, 2016 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   <licenses>
27     <license>
28       <name>Eclipse Public License v1.0</name>
29       <url>http://www.eclipse.org/legal/epl-v10.html</url>
30     </license>
31   </licenses>
32   <developers>
33     <developer>
34       <name>Sam Hague</name>
35       <email>shague@gmail.com</email>
36       <url>https://github.com/shague</url>
37     </developer>
38   </developers>
39   <scm>
40     <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
41     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
42     <tag>HEAD</tag>
43     <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
44   </scm>
45
46   <prerequisites>
47     <maven>3.1.1</maven>
48   </prerequisites>
49
50   <profiles>
51     <profile>
52       <id>default</id>
53       <activation>
54         <activeByDefault>true</activeByDefault>
55       </activation>
56       <properties>
57         <skipITs>true</skipITs>
58       </properties>
59     </profile>
60     <profile>
61       <id>integrationtest</id>
62       <activation>
63         <activeByDefault>false</activeByDefault>
64       </activation>
65       <properties>
66         <skipITs>false</skipITs>
67       </properties>
68     </profile>
69   </profiles>
70
71   <dependencyManagement>
72     <dependencies>
73       <dependency>
74         <groupId>org.codehaus.sonar-plugins.java</groupId>
75         <artifactId>sonar-jacoco-listeners</artifactId>
76         <version>${sonar-jacoco-listeners.version}</version>
77         <scope>test</scope>
78       </dependency>
79     </dependencies>
80   </dependencyManagement>
81
82   <build>
83     <plugins>
84       <plugin>
85         <groupId>org.jacoco</groupId>
86         <artifactId>jacoco-maven-plugin</artifactId>
87       </plugin>
88       <plugin>
89         <groupId>org.apache.maven.plugins</groupId>
90         <artifactId>maven-failsafe-plugin</artifactId>
91         <configuration>
92           <properties>
93             <property>
94               <name>listener</name>
95               <value>org.sonar.java.jacoco.JUnitListener</value>
96             </property>
97           </properties>
98         </configuration>
99       </plugin>
100       <plugin>
101         <artifactId>maven-antrun-plugin</artifactId>
102         <executions>
103           <execution>
104             <id>prep-jacoco-agent</id>
105             <phase>pre-integration-test</phase>
106             <goals>
107               <goal>run</goal>
108             </goals>
109             <configuration>
110               <target>
111                 <copy file="${settings.localRepository}/org/jacoco/org.jacoco.agent/${jacoco.version}/org.jacoco.agent-${jacoco.version}-runtime.jar"
112                       tofile="target/exam/jars/org.jacoco.agent.jar" />
113               </target>
114             </configuration>
115           </execution>
116         </executions>
117       </plugin>
118     </plugins>
119   </build>
120
121   <!--
122       Maven Site Configuration
123
124       The following configuration is necessary for maven-site-plugin to
125       correctly identify the correct deployment path for OpenDaylight Maven
126       sites.
127   -->
128   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
129
130   <distributionManagement>
131     <site>
132       <id>opendaylight-site</id>
133       <url>${nexus.site.url}/${project.artifactId}/</url>
134     </site>
135   </distributionManagement>
136 </project>