Merge "Add JUnit testing for L3FowardingService class."
[ovsdb.git] / southbound / southbound-it / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: --><!--
3 Copyright (c) 2014 Cisco Systems, 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
11   <parent>
12     <groupId>org.opendaylight.controller</groupId>
13     <artifactId>config-parent</artifactId>
14     <version>0.3.0-SNAPSHOT</version>
15     <relativePath/>
16   </parent>
17   <modelVersion>4.0.0</modelVersion>
18   <groupId>org.opendaylight.ovsdb</groupId>
19   <artifactId>southbound-it</artifactId>
20   <version>1.1.0-SNAPSHOT</version>
21   <packaging>jar</packaging>
22   <properties>
23       <skip.integrationtest>true</skip.integrationtest>
24   </properties>
25   <dependencyManagement>
26     <dependencies>
27       <dependency>
28         <groupId>${project.groupId}</groupId>
29         <artifactId>southbound-artifacts</artifactId>
30         <version>${project.version}</version>
31         <type>pom</type>
32         <scope>import</scope>
33       </dependency>
34       <dependency>
35         <groupId>org.opendaylight.controller</groupId>
36         <artifactId>config-artifacts</artifactId>
37         <version>0.3.0-SNAPSHOT</version>
38         <type>pom</type>
39         <scope>import</scope>
40       </dependency>
41       <dependency>
42         <groupId>org.opendaylight.controller</groupId>
43         <artifactId>mdsal-artifacts</artifactId>
44         <version>${mdsal.version}</version>
45         <type>pom</type>
46         <scope>import</scope>
47       </dependency>
48     </dependencies>
49   </dependencyManagement>
50   <dependencies>
51     <dependency>
52       <groupId>org.opendaylight.controller</groupId>
53       <artifactId>sal-binding-api</artifactId>
54     </dependency>
55     <dependency>
56       <groupId>org.opendaylight.controller</groupId>
57       <artifactId>sal-common-api</artifactId>
58     </dependency>
59     <dependency>
60       <groupId>${project.groupId}</groupId>
61       <artifactId>southbound-features</artifactId>
62       <classifier>features</classifier>
63       <type>xml</type>
64     </dependency>
65     <dependency>
66       <groupId>org.opendaylight.controller</groupId>
67       <artifactId>config-util</artifactId>
68     </dependency>
69     <!-- Dependencies for pax exam karaf container -->
70     <dependency>
71       <groupId>org.ops4j.pax.exam</groupId>
72       <artifactId>pax-exam-container-karaf</artifactId>
73       <scope>compile</scope>
74     </dependency>
75     <dependency>
76       <groupId>org.ops4j.pax.exam</groupId>
77       <artifactId>pax-exam-junit4</artifactId>
78       <scope>compile</scope>
79     </dependency>
80     <dependency>
81       <groupId>org.ops4j.pax.exam</groupId>
82       <artifactId>pax-exam</artifactId>
83       <scope>compile</scope>
84     </dependency>
85     <dependency>
86       <groupId>org.ops4j.pax.url</groupId>
87       <artifactId>pax-url-aether</artifactId>
88       <scope>compile</scope>
89     </dependency>
90     <dependency>
91       <groupId>javax.inject</groupId>
92       <artifactId>javax.inject</artifactId>
93       <version>1</version>
94       <scope>compile</scope>
95     </dependency>
96     <dependency>
97       <groupId>org.apache.karaf.features</groupId>
98       <artifactId>org.apache.karaf.features.core</artifactId>
99       <version>${karaf.version}</version>
100       <scope>compile</scope>
101     </dependency>
102     <dependency>
103       <groupId>org.osgi</groupId>
104       <artifactId>org.osgi.core</artifactId>
105       <scope>compile</scope>
106     </dependency>
107     <dependency>
108       <groupId>junit</groupId>
109       <artifactId>junit</artifactId>
110       <scope>compile</scope>
111     </dependency>
112     <dependency>
113       <groupId>org.slf4j</groupId>
114       <artifactId>slf4j-simple</artifactId>
115       <scope>test</scope>
116     </dependency>
117   </dependencies>
118   <build>
119     <plugins>
120       <plugin>
121         <groupId>org.apache.maven.plugins</groupId>
122         <artifactId>maven-failsafe-plugin</artifactId>
123         <executions>
124           <execution>
125             <goals>
126               <goal>integration-test</goal>
127               <goal>verify</goal>
128             </goals>
129             <configuration>
130               <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
131               <skipTests>${skip.integrationtest}</skipTests>
132             </configuration>
133           </execution>
134         </executions>
135       </plugin>
136       <!-- Needed if you use versionAsInProject() -->
137       <plugin>
138         <groupId>org.apache.servicemix.tooling</groupId>
139         <artifactId>depends-maven-plugin</artifactId>
140         <version>1.2</version>
141         <executions>
142           <execution>
143             <id>generate-depends-file</id>
144             <goals>
145               <goal>generate-depends-file</goal>
146             </goals>
147           </execution>
148         </executions>
149       </plugin>
150       <plugin>
151         <groupId>org.apache.maven.plugins</groupId>
152         <artifactId>maven-checkstyle-plugin</artifactId>
153         <configuration>
154           <configLocation>
155             ${project.basedir}/../../commons/parent/src/main/resources/ovsdb_checks.xml
156           </configLocation>
157           <includeTestSourceDirectory>true</includeTestSourceDirectory>
158           <failsOnError>true</failsOnError>
159           <includes>**/*.java,**/*.xml,**/*.ini,**/*.sh,**/*.bat</includes>
160           <excludes>**/yang/</excludes>
161         </configuration>
162       </plugin>
163       <plugin>
164         <groupId>org.jacoco</groupId>
165         <artifactId>jacoco-maven-plugin</artifactId>
166       </plugin>
167     </plugins>
168   </build>
169   <profiles>
170     <profile>
171       <id>integrationtest</id>
172       <activation>
173         <activeByDefault>false</activeByDefault>
174       </activation>
175       <properties>
176         <skip.integrationtest>false</skip.integrationtest>
177       </properties>
178     </profile>
179   </profiles>
180 </project>