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