Remove <prerequisites> from pom.xml to avoid WARNING
[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.6.0-SNAPSHOT</version>
18     <relativePath/>
19   </parent>
20
21   <groupId>org.opendaylight.ovsdb</groupId>
22   <artifactId>it</artifactId>
23   <version>1.5.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   <properties>
47     <skip.surefire.tests>false</skip.surefire.tests>
48   </properties>
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         <skip.surefire.tests>true</skip.surefire.tests>
68         <skip.karaf.featureTest>true</skip.karaf.featureTest>
69         <maven.javadoc.skip>true</maven.javadoc.skip>
70         <maven.source.skip>true</maven.source.skip>
71         <checkstyle.skip>true</checkstyle.skip>
72         <findbugs.skip>true</findbugs.skip>
73         <pmd.skip>true</pmd.skip>
74         <cpd.skip>true</cpd.skip>
75         <maven.site.skip>true</maven.site.skip>
76         <invoker.skip>true</invoker.skip>
77         <enforcer.skip>true</enforcer.skip>
78       </properties>
79     </profile>
80   </profiles>
81
82   <dependencyManagement>
83     <dependencies>
84       <dependency>
85         <groupId>org.codehaus.sonar-plugins.java</groupId>
86         <artifactId>sonar-jacoco-listeners</artifactId>
87         <version>${sonar-jacoco-listeners.version}</version>
88         <scope>test</scope>
89       </dependency>
90     </dependencies>
91   </dependencyManagement>
92
93   <build>
94     <plugins>
95       <plugin>
96         <groupId>org.jacoco</groupId>
97         <artifactId>jacoco-maven-plugin</artifactId>
98       </plugin>
99       <plugin>
100         <groupId>org.apache.maven.plugins</groupId>
101         <artifactId>maven-failsafe-plugin</artifactId>
102         <configuration>
103           <properties>
104             <property>
105               <name>listener</name>
106               <value>org.sonar.java.jacoco.JUnitListener</value>
107             </property>
108           </properties>
109         </configuration>
110       </plugin>
111       <plugin>
112         <artifactId>maven-surefire-plugin</artifactId>
113         <configuration>
114           <skipTests>${skip.surefire.tests}</skipTests>
115         </configuration>
116       </plugin>
117       <plugin>
118         <artifactId>maven-antrun-plugin</artifactId>
119         <executions>
120           <execution>
121             <id>prep-jacoco-agent</id>
122             <phase>pre-integration-test</phase>
123             <goals>
124               <goal>run</goal>
125             </goals>
126             <configuration>
127               <target>
128                 <copy file="${settings.localRepository}/org/jacoco/org.jacoco.agent/${jacoco.version}/org.jacoco.agent-${jacoco.version}-runtime.jar"
129                       tofile="target/exam/jars/org.jacoco.agent.jar" />
130               </target>
131             </configuration>
132           </execution>
133         </executions>
134       </plugin>
135     </plugins>
136   </build>
137
138   <!--
139       Maven Site Configuration
140
141       The following configuration is necessary for maven-site-plugin to
142       correctly identify the correct deployment path for OpenDaylight Maven
143       sites.
144   -->
145   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
146
147   <distributionManagement>
148     <site>
149       <id>opendaylight-site</id>
150       <url>${nexus.site.url}/${project.artifactId}/</url>
151     </site>
152   </distributionManagement>
153 </project>