31f7694ee4e906e605b03881958618d811f6157d
[ovsdb.git] / ovsdb / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3     <modelVersion>4.0.0</modelVersion>
4     <parent>
5         <groupId>org.opendaylight.ovsdb</groupId>
6         <artifactId>commons.ovsdb</artifactId>
7         <version>1.1.0-SNAPSHOT</version>
8         <relativePath>../commons/parent</relativePath>
9     </parent>
10     <scm>
11       <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
12       <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
13       <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
14       <tag>HEAD</tag>
15     </scm>
16     <artifactId>ovsdb</artifactId>
17     <version>1.0.0-SNAPSHOT</version>
18     <packaging>bundle</packaging>
19
20     <properties>
21         <skip.integrationtest>true</skip.integrationtest>
22         <!-- used for filtering the integration test resource -->
23         <ovsdbserver.ipaddress>192.168.56.10</ovsdbserver.ipaddress>
24         <ovsdbserver.port>6640</ovsdbserver.port>
25     </properties>
26
27     <build>
28       <testResources>
29         <testResource>
30           <directory>src/test/resources</directory>
31           <filtering>true</filtering>
32         </testResource>
33       </testResources>
34         <plugins>
35             <plugin>
36                 <groupId>org.apache.felix</groupId>
37                 <artifactId>maven-bundle-plugin</artifactId>
38                 <version>2.3.6</version>
39                 <extensions>true</extensions>
40                 <configuration>
41                     <instructions>
42                         <Import-Package>
43                             org.opendaylight.controller.sal.packet,
44                             org.opendaylight.controller.sal.action,
45                             org.opendaylight.controller.sal.discovery,
46                             org.opendaylight.controller.sal.topology,
47                             org.opendaylight.controller.sal.core,
48                             org.opendaylight.controller.sal.flowprogrammer,
49                             org.opendaylight.controller.sal.reader,
50                             org.opendaylight.controller.sal.inventory,
51                             org.opendaylight.controller.sal.match,
52                             org.opendaylight.controller.sal.utils,
53                             org.opendaylight.controller.sal.connection,
54                             org.opendaylight.controller.clustering.services,
55                             org.opendaylight.controller.sal.networkconfig.bridgedomain,
56                             org.apache.commons.lang3.builder,
57                             org.apache.commons.lang3.tuple,
58                             org.apache.felix.dm,
59                             org.slf4j,
60                             org.eclipse.osgi.framework.console,
61                             org.osgi.framework,
62                             javax.net.ssl,
63                             *
64                         </Import-Package>
65                         <Embed-Dependency>httpclient,commons-codec,httpcore-nio,javax.servlet-api,portlet-api,commons-collections;type=!pom;inline=false</Embed-Dependency>
66                         <Embed-Transitive>
67                             true
68                         </Embed-Transitive>
69                         <Bundle-Activator>
70                             org.opendaylight.ovsdb.plugin.Activator
71                         </Bundle-Activator>
72                         <Export-Package>
73                             org.opendaylight.ovsdb.lib.table, org.opendaylight.ovsdb.lib.table.internal, org.opendaylight.ovsdb.plugin, org.opendaylight.ovsdb.lib.notation
74                         </Export-Package>
75                     </instructions>
76                     <manifestLocation>${project.basedir}/META-INF</manifestLocation>
77                 </configuration>
78             </plugin>
79             <plugin>
80                <groupId>org.apache.maven.plugins</groupId>
81                <artifactId>maven-surefire-plugin</artifactId>
82                <version>2.16</version>
83                <configuration>
84                  <excludes>
85                    <!--  Exclude integration tests -->
86                    <exclude>**/*IT</exclude>
87                  </excludes>
88                </configuration>
89              </plugin>
90             <plugin>
91                <groupId>org.apache.maven.plugins</groupId>
92                <artifactId>maven-failsafe-plugin</artifactId>
93                <configuration>
94                 <skipITs>${skip.integrationtest}</skipITs>
95                </configuration>
96              </plugin>
97         </plugins>
98     </build>
99     <dependencies>
100         <dependency>
101           <groupId>org.opendaylight.controller</groupId>
102           <artifactId>clustering.services</artifactId>
103           <version>0.5.1-SNAPSHOT</version>
104         </dependency>
105         <dependency>
106             <groupId>org.opendaylight.controller</groupId>
107             <artifactId>sal</artifactId>
108             <version>0.7.1-SNAPSHOT</version>
109         </dependency>
110         <dependency>
111             <groupId>org.opendaylight.controller</groupId>
112             <artifactId>sal.connection</artifactId>
113             <version>0.1.2-SNAPSHOT</version>
114         </dependency>
115         <dependency>
116             <groupId>org.opendaylight.controller</groupId>
117             <artifactId>sal.networkconfiguration</artifactId>
118             <version>0.0.3-SNAPSHOT</version>
119         </dependency>
120         <dependency>
121             <groupId>com.fasterxml.jackson.core</groupId>
122             <artifactId>jackson-annotations</artifactId>
123             <version>${jackson.version}</version>
124         </dependency>
125         <dependency>
126             <groupId>com.fasterxml.jackson.core</groupId>
127             <artifactId>jackson-core</artifactId>
128             <version>${jackson.version}</version>
129         </dependency>
130         <dependency>
131             <groupId>com.fasterxml.jackson.core</groupId>
132             <artifactId>jackson-databind</artifactId>
133             <version>${jackson.version}</version>
134         </dependency>
135         <dependency>
136             <groupId>javax.portlet</groupId>
137             <artifactId>portlet-api</artifactId>
138             <version>2.0</version>
139         </dependency>
140         <dependency>
141             <groupId>commons-codec</groupId>
142             <artifactId>commons-codec</artifactId>
143             <version>1.4</version>
144             <optional>true</optional>
145         </dependency>
146         <dependency>
147             <groupId>org.apache.httpcomponents</groupId>
148             <artifactId>httpcore-nio</artifactId>
149             <version>4.2.1</version>
150             <optional>true</optional>
151         </dependency>
152         <dependency>
153             <groupId>io.netty</groupId>
154             <artifactId>netty-all</artifactId>
155             <version>4.0.10.Final</version>
156         </dependency>
157         <dependency>
158             <groupId>commons-lang</groupId>
159             <artifactId>commons-lang</artifactId>
160             <version>2.3</version>
161         </dependency>
162         <dependency>
163           <groupId>commons-collections</groupId>
164           <artifactId>commons-collections</artifactId>
165           <version>1.0</version>
166         </dependency>
167         <dependency>
168           <groupId>com.google.guava</groupId>
169           <artifactId>guava</artifactId>
170           <version>${guava.version}</version>
171         </dependency>
172         <dependency>
173           <groupId>equinoxSDK381</groupId>
174           <artifactId>org.eclipse.osgi</artifactId>
175         </dependency>
176         <dependency>
177           <groupId>junit</groupId>
178           <artifactId>junit</artifactId>
179         </dependency>
180         <dependency>
181           <groupId>com.google.code.gson</groupId>
182           <artifactId>gson</artifactId>
183           <version>2.1</version>
184           <scope>compile</scope>
185         </dependency>
186         <dependency>
187             <groupId>org.slf4j</groupId>
188             <artifactId>slf4j-api</artifactId>
189         </dependency>
190         <dependency>
191             <groupId>ch.qos.logback</groupId>
192             <artifactId>logback-classic</artifactId>
193         </dependency>
194         <dependency>
195             <groupId>ch.qos.logback</groupId>
196             <artifactId>logback-core</artifactId>
197         </dependency>
198     </dependencies>
199
200     <profiles>
201       <profile>
202       <id>integrationtest</id>
203       <activation>
204       </activation>
205       <properties>
206         <skip.integrationtest>false</skip.integrationtest>
207       </properties>
208     </profile>
209     </profiles>
210 </project>