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