Bump versions by x.(y+1).z for next dev cycle
[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.7.0-SNAPSHOT</version>
18     <relativePath/>
19   </parent>
20
21   <groupId>org.opendaylight.ovsdb</groupId>
22   <artifactId>it</artifactId>
23   <version>1.6.0-SNAPSHOT</version>
24   <packaging>pom</packaging>
25   <!-- <name> formatting is used by autorelease to parse and notify projects on
26        build failure. Please do not modify this unless you have a good reason. -->
27   <name>ODL :: ovsdb :: ${project.artifactId}</name>
28   <properties>
29     <skip.surefire.tests>false</skip.surefire.tests>
30   </properties>
31
32   <profiles>
33     <profile>
34       <id>default</id>
35       <activation>
36         <activeByDefault>true</activeByDefault>
37       </activation>
38       <properties>
39         <skipITs>true</skipITs>
40       </properties>
41     </profile>
42     <profile>
43       <id>integrationtest</id>
44       <activation>
45         <activeByDefault>false</activeByDefault>
46       </activation>
47       <properties>
48         <skipITs>false</skipITs>
49         <skip.surefire.tests>true</skip.surefire.tests>
50         <skip.karaf.featureTest>true</skip.karaf.featureTest>
51         <maven.javadoc.skip>true</maven.javadoc.skip>
52         <maven.source.skip>true</maven.source.skip>
53         <checkstyle.skip>true</checkstyle.skip>
54         <findbugs.skip>true</findbugs.skip>
55         <pmd.skip>true</pmd.skip>
56         <cpd.skip>true</cpd.skip>
57         <maven.site.skip>true</maven.site.skip>
58         <invoker.skip>true</invoker.skip>
59         <enforcer.skip>true</enforcer.skip>
60       </properties>
61     </profile>
62   </profiles>
63
64   <dependencyManagement>
65     <dependencies>
66       <dependency>
67         <groupId>org.codehaus.sonar-plugins.java</groupId>
68         <artifactId>sonar-jacoco-listeners</artifactId>
69         <version>${sonar-jacoco-listeners.version}</version>
70         <scope>test</scope>
71       </dependency>
72     </dependencies>
73   </dependencyManagement>
74
75   <build>
76     <plugins>
77       <plugin>
78         <groupId>org.jacoco</groupId>
79         <artifactId>jacoco-maven-plugin</artifactId>
80       </plugin>
81       <plugin>
82         <groupId>org.apache.maven.plugins</groupId>
83         <artifactId>maven-failsafe-plugin</artifactId>
84         <configuration>
85           <properties>
86             <property>
87               <name>listener</name>
88               <value>org.sonar.java.jacoco.JUnitListener</value>
89             </property>
90           </properties>
91         </configuration>
92       </plugin>
93       <plugin>
94         <artifactId>maven-surefire-plugin</artifactId>
95         <configuration>
96           <skipTests>${skip.surefire.tests}</skipTests>
97         </configuration>
98       </plugin>
99       <plugin>
100         <artifactId>maven-antrun-plugin</artifactId>
101         <executions>
102           <execution>
103             <id>prep-jacoco-agent</id>
104             <phase>pre-integration-test</phase>
105             <goals>
106               <goal>run</goal>
107             </goals>
108             <configuration>
109               <target>
110                 <copy file="${settings.localRepository}/org/jacoco/org.jacoco.agent/${jacoco.version}/org.jacoco.agent-${jacoco.version}-runtime.jar"
111                       tofile="target/exam/jars/org.jacoco.agent.jar" />
112               </target>
113             </configuration>
114           </execution>
115         </executions>
116       </plugin>
117     </plugins>
118   </build>
119
120   <!--
121       Maven Site Configuration
122
123       The following configuration is necessary for maven-site-plugin to
124       correctly identify the correct deployment path for OpenDaylight Maven
125       sites.
126   -->
127   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
128
129   <distributionManagement>
130     <site>
131       <id>opendaylight-site</id>
132       <url>${nexus.site.url}/${project.artifactId}/</url>
133     </site>
134   </distributionManagement>
135 </project>