Use Magnesium controller
[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>1.11.0</version>
16     <relativePath/>
17   </parent>
18
19   <groupId>org.opendaylight.ovsdb</groupId>
20   <artifactId>it</artifactId>
21   <version>1.11.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     </dependencies>
71   </dependencyManagement>
72
73   <build>
74     <plugins>
75       <plugin>
76         <groupId>org.apache.maven.plugins</groupId>
77         <artifactId>maven-checkstyle-plugin</artifactId>
78         <configuration>
79           <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
80         </configuration>
81       </plugin>
82       <plugin>
83         <groupId>org.jacoco</groupId>
84         <artifactId>jacoco-maven-plugin</artifactId>
85       </plugin>
86       <plugin>
87         <groupId>org.apache.maven.plugins</groupId>
88         <artifactId>maven-failsafe-plugin</artifactId>
89         <configuration>
90           <properties>
91             <property>
92               <name>listener</name>
93               <value>org.sonar.java.jacoco.JUnitListener</value>
94             </property>
95           </properties>
96         </configuration>
97       </plugin>
98       <plugin>
99         <artifactId>maven-surefire-plugin</artifactId>
100         <configuration>
101           <skipTests>${skip.surefire.tests}</skipTests>
102         </configuration>
103       </plugin>
104       <plugin>
105         <artifactId>maven-antrun-plugin</artifactId>
106         <executions>
107           <execution>
108             <id>prep-jacoco-agent</id>
109             <phase>pre-integration-test</phase>
110             <goals>
111               <goal>run</goal>
112             </goals>
113             <configuration>
114               <target>
115                 <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"/>
116               </target>
117             </configuration>
118           </execution>
119         </executions>
120       </plugin>
121     </plugins>
122   </build>
123
124   <!--
125       Maven Site Configuration
126
127       The following configuration is necessary for maven-site-plugin to
128       correctly identify the correct deployment path for OpenDaylight Maven
129       sites.
130   -->
131   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
132
133   <distributionManagement>
134     <site>
135       <id>opendaylight-site</id>
136       <url>${nexus.site.url}/${project.artifactId}/</url>
137     </site>
138   </distributionManagement>
139 </project>