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