62566c2e814e96fb5601ec382cc3fb825ba1ff1f
[netvirt.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.0.0-SNAPSHOT</version>
8         <relativePath>../commons/parent/</relativePath>
9     </parent>
10     <artifactId>ovsdb</artifactId>
11     <version>0.5.0-SNAPSHOT</version>
12     <packaging>bundle</packaging>
13
14     <properties>
15         <java.version.source>1.7</java.version.source>
16         <java.version.target>1.7</java.version.target>
17         <skip.integrationtest>true</skip.integrationtest>
18         <!-- used for filtering the integration test resource -->
19         <ovsdbserver.ipaddress>192.168.56.10</ovsdbserver.ipaddress>
20         <ovsdbserver.port>6640</ovsdbserver.port>
21     </properties>
22
23     <build>
24       <testResources>
25         <testResource>
26           <directory>src/test/resources</directory>
27           <filtering>true</filtering>
28         </testResource>
29       </testResources>
30         <plugins>
31             <plugin>
32                 <groupId>org.apache.felix</groupId>
33                 <artifactId>maven-bundle-plugin</artifactId>
34                 <version>2.3.6</version>
35                 <extensions>true</extensions>
36                 <configuration>
37                     <instructions>
38                         <Import-Package>
39                             org.opendaylight.controller.sal.packet,
40                             org.opendaylight.controller.sal.action,
41                             org.opendaylight.controller.sal.discovery,
42                             org.opendaylight.controller.sal.topology,
43                             org.opendaylight.controller.sal.core,
44                             org.opendaylight.controller.sal.flowprogrammer,
45                             org.opendaylight.controller.sal.reader,
46                             org.opendaylight.controller.sal.inventory,
47                             org.opendaylight.controller.sal.match,
48                             org.opendaylight.controller.sal.utils,
49                             org.opendaylight.controller.sal.connection,
50                             org.opendaylight.controller.clustering.services,
51                             org.opendaylight.controller.sal.networkconfig.bridgedomain,
52                             org.apache.commons.lang3.builder,
53                             org.apache.commons.lang3.tuple,
54                             org.apache.felix.dm,
55                             org.slf4j,
56                             org.eclipse.osgi.framework.console,
57                             org.osgi.framework,
58                             javax.net.ssl,
59                             *
60                         </Import-Package>
61                         <Embed-Dependency>httpclient,commons-codec,httpcore-nio,javax.servlet-api,jackson-annotations,jackson-core,jackson-databind,portlet-api,commons-collections;type=!pom;inline=false</Embed-Dependency>
62                         <Embed-Transitive>
63                             true
64                         </Embed-Transitive>
65                         <Bundle-Activator>
66                             org.opendaylight.ovsdb.plugin.Activator
67                         </Bundle-Activator>
68                     </instructions>
69                     <manifestLocation>${project.basedir}/META-INF</manifestLocation>
70                 </configuration>
71             </plugin>
72             <plugin>
73                <groupId>org.apache.maven.plugins</groupId>
74                <artifactId>maven-surefire-plugin</artifactId>
75                <version>2.16</version>
76                <configuration>
77                  <excludes>
78                    <!--  Exclude integration tests -->
79                    <exclude>**/*IT</exclude>
80                  </excludes>
81                </configuration>
82              </plugin>
83             <plugin>
84                <groupId>org.apache.maven.plugins</groupId>
85                <artifactId>maven-failsafe-plugin</artifactId>
86                <configuration>
87                 <skipITs>${skip.integrationtest}</skipITs>
88                </configuration>
89              </plugin>
90             <plugin>
91                 <groupId>org.apache.maven.plugins</groupId>
92                 <artifactId>maven-compiler-plugin</artifactId>
93                 <configuration>
94                     <source>${java.version.source}</source>
95                     <target>${java.version.target}</target>
96                     <testSource>${java.version.source}</testSource>
97                     <testTarget>${java.version.target}</testTarget>
98                 </configuration>
99             </plugin>
100         </plugins>
101     </build>
102     <dependencies>
103         <dependency>
104           <groupId>org.opendaylight.controller</groupId>
105           <artifactId>clustering.services</artifactId>
106           <version>0.4.1-SNAPSHOT</version>
107         </dependency>
108         <dependency>
109             <groupId>org.opendaylight.controller</groupId>
110             <artifactId>sal</artifactId>
111             <version>0.5.0-SNAPSHOT</version>
112         </dependency>
113         <dependency>
114             <groupId>org.opendaylight.controller</groupId>
115             <artifactId>sal.connection</artifactId>
116             <version>0.1.0-SNAPSHOT</version>
117         </dependency>
118         <dependency>
119             <groupId>org.opendaylight.controller</groupId>
120             <artifactId>sal.networkconfiguration</artifactId>
121             <version>0.0.1-SNAPSHOT</version>
122         </dependency>
123         <dependency>
124             <groupId>org.opendaylight.controller.thirdparty</groupId>
125             <artifactId>org.openflow.openflowj</artifactId>
126             <version>1.0.2-SNAPSHOT</version>
127         </dependency>
128         <dependency>
129             <groupId>com.fasterxml.jackson.core</groupId>
130             <artifactId>jackson-annotations</artifactId>
131             <version>2.2.2</version>
132         </dependency>
133         <dependency>
134             <groupId>com.fasterxml.jackson.core</groupId>
135             <artifactId>jackson-core</artifactId>
136             <version>2.2.2</version>
137         </dependency>
138         <dependency>
139             <groupId>com.fasterxml.jackson.core</groupId>
140             <artifactId>jackson-databind</artifactId>
141             <version>2.2.2</version>
142         </dependency>
143         <dependency>
144             <groupId>javax.portlet</groupId>
145             <artifactId>portlet-api</artifactId>
146             <version>2.0</version>
147         </dependency>
148         <dependency>
149             <groupId>commons-codec</groupId>
150             <artifactId>commons-codec</artifactId>
151             <version>1.4</version>
152             <optional>true</optional>
153         </dependency>
154         <dependency>
155             <groupId>org.apache.httpcomponents</groupId>
156             <artifactId>httpcore-nio</artifactId>
157             <version>4.2.1</version>
158             <optional>true</optional>
159         </dependency>
160         <dependency>
161             <groupId>io.netty</groupId>
162             <artifactId>netty-all</artifactId>
163             <version>4.0.8.Final</version>
164         </dependency>
165         <dependency>
166             <groupId>commons-lang</groupId>
167             <artifactId>commons-lang</artifactId>
168             <version>2.3</version>
169         </dependency>
170         <dependency>
171           <groupId>commons-collections</groupId>
172           <artifactId>commons-collections</artifactId>
173           <version>1.0</version>
174         </dependency>
175     </dependencies>
176
177     <profiles>
178       <profile>
179       <id>integrationtest</id>
180       <activation>
181       </activation>
182       <properties>
183         <skip.integrationtest>false</skip.integrationtest>
184       </properties>
185     </profile>
186     </profiles>
187 </project>