Reduce IT logging
[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   <properties>
51     <skip.surefire.tests>false</skip.surefire.tests>
52   </properties>
53
54   <profiles>
55     <profile>
56       <id>default</id>
57       <activation>
58         <activeByDefault>true</activeByDefault>
59       </activation>
60       <properties>
61         <skipITs>true</skipITs>
62       </properties>
63     </profile>
64     <profile>
65       <id>integrationtest</id>
66       <activation>
67         <activeByDefault>false</activeByDefault>
68       </activation>
69       <properties>
70         <skipITs>false</skipITs>
71         <skip.surefire.tests>true</skip.surefire.tests>
72         <skip.karaf.featureTest>true</skip.karaf.featureTest>
73         <maven.javadoc.skip>true</maven.javadoc.skip>
74         <maven.source.skip>true</maven.source.skip>
75         <checkstyle.skip>true</checkstyle.skip>
76         <findbugs.skip>true</findbugs.skip>
77         <pmd.skip>true</pmd.skip>
78         <cpd.skip>true</cpd.skip>
79         <maven.site.skip>true</maven.site.skip>
80         <invoker.skip>true</invoker.skip>
81         <enforcer.skip>true</enforcer.skip>
82       </properties>
83     </profile>
84   </profiles>
85
86   <dependencyManagement>
87     <dependencies>
88       <dependency>
89         <groupId>org.codehaus.sonar-plugins.java</groupId>
90         <artifactId>sonar-jacoco-listeners</artifactId>
91         <version>${sonar-jacoco-listeners.version}</version>
92         <scope>test</scope>
93       </dependency>
94     </dependencies>
95   </dependencyManagement>
96
97   <build>
98     <plugins>
99       <plugin>
100         <groupId>org.jacoco</groupId>
101         <artifactId>jacoco-maven-plugin</artifactId>
102       </plugin>
103       <plugin>
104         <groupId>org.apache.maven.plugins</groupId>
105         <artifactId>maven-failsafe-plugin</artifactId>
106         <configuration>
107           <properties>
108             <property>
109               <name>listener</name>
110               <value>org.sonar.java.jacoco.JUnitListener</value>
111             </property>
112           </properties>
113         </configuration>
114       </plugin>
115       <plugin>
116         <artifactId>maven-surefire-plugin</artifactId>
117         <configuration>
118           <skipTests>${skip.surefire.tests}</skipTests>
119         </configuration>
120       </plugin>
121       <plugin>
122         <artifactId>maven-antrun-plugin</artifactId>
123         <executions>
124           <execution>
125             <id>prep-jacoco-agent</id>
126             <phase>pre-integration-test</phase>
127             <goals>
128               <goal>run</goal>
129             </goals>
130             <configuration>
131               <target>
132                 <copy file="${settings.localRepository}/org/jacoco/org.jacoco.agent/${jacoco.version}/org.jacoco.agent-${jacoco.version}-runtime.jar"
133                       tofile="target/exam/jars/org.jacoco.agent.jar" />
134               </target>
135             </configuration>
136           </execution>
137         </executions>
138       </plugin>
139     </plugins>
140   </build>
141
142   <!--
143       Maven Site Configuration
144
145       The following configuration is necessary for maven-site-plugin to
146       correctly identify the correct deployment path for OpenDaylight Maven
147       sites.
148   -->
149   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
150
151   <distributionManagement>
152     <site>
153       <id>opendaylight-site</id>
154       <url>${nexus.site.url}/${project.artifactId}/</url>
155     </site>
156   </distributionManagement>
157 </project>