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