5270dbe1cc9f942223867c2d4e3a59e8481578e1
[ovsdb.git] / library / 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>ovsdb_commons</artifactId>
7     <version>1.1.0-SNAPSHOT</version>
8     <relativePath>../commons/parent</relativePath>
9   </parent>
10   <artifactId>ovsdb_library</artifactId>
11   <version>1.0.0-SNAPSHOT</version>
12   <packaging>bundle</packaging>
13
14   <properties>
15     <skip.integrationtest>true</skip.integrationtest>
16   </properties>
17   <dependencies>
18     <dependency>
19       <groupId>ch.qos.logback</groupId>
20       <artifactId>logback-classic</artifactId>
21     </dependency>
22     <dependency>
23       <groupId>ch.qos.logback</groupId>
24       <artifactId>logback-core</artifactId>
25     </dependency>
26     <dependency>
27       <groupId>com.fasterxml.jackson.core</groupId>
28       <artifactId>jackson-annotations</artifactId>
29       <version>${jackson.version}</version>
30     </dependency>
31     <dependency>
32       <groupId>com.fasterxml.jackson.core</groupId>
33       <artifactId>jackson-core</artifactId>
34       <version>${jackson.version}</version>
35     </dependency>
36     <dependency>
37       <groupId>com.fasterxml.jackson.core</groupId>
38       <artifactId>jackson-databind</artifactId>
39       <version>${jackson.version}</version>
40     </dependency>
41     <dependency>
42       <groupId>com.google.code.gson</groupId>
43       <artifactId>gson</artifactId>
44       <version>2.1</version>
45       <scope>compile</scope>
46     </dependency>
47     <dependency>
48       <groupId>com.google.guava</groupId>
49       <artifactId>guava</artifactId>
50       <version>${guava.version}</version>
51     </dependency>
52     <dependency>
53       <groupId>commons-codec</groupId>
54       <artifactId>commons-codec</artifactId>
55       <version>1.4</version>
56       <optional>true</optional>
57     </dependency>
58     <dependency>
59       <groupId>commons-collections</groupId>
60       <artifactId>commons-collections</artifactId>
61       <version>1.0</version>
62     </dependency>
63     <dependency>
64       <groupId>commons-lang</groupId>
65       <artifactId>commons-lang</artifactId>
66       <version>2.3</version>
67     </dependency>
68     <dependency>
69       <groupId>equinoxSDK381</groupId>
70       <artifactId>org.eclipse.osgi</artifactId>
71     </dependency>
72     <dependency>
73       <groupId>io.netty</groupId>
74       <artifactId>netty-all</artifactId>
75       <version>4.0.10.Final</version>
76     </dependency>
77     <dependency>
78       <groupId>javax.portlet</groupId>
79       <artifactId>portlet-api</artifactId>
80       <version>2.0</version>
81     </dependency>
82     <dependency>
83       <groupId>junit</groupId>
84       <artifactId>junit</artifactId>
85     </dependency>
86     <dependency>
87       <groupId>org.apache.httpcomponents</groupId>
88       <artifactId>httpcore-nio</artifactId>
89       <version>4.2.1</version>
90       <optional>true</optional>
91     </dependency>
92     <dependency>
93       <groupId>org.slf4j</groupId>
94       <artifactId>slf4j-api</artifactId>
95     </dependency>
96   </dependencies>
97
98   <build>
99     <testResources>
100       <testResource>
101         <filtering>true</filtering>
102         <directory>src/test/resources</directory>
103       </testResource>
104     </testResources>
105     <plugins>
106       <plugin>
107         <groupId>org.apache.felix</groupId>
108         <artifactId>maven-bundle-plugin</artifactId>
109         <version>2.3.6</version>
110         <extensions>true</extensions>
111         <configuration>
112           <instructions>
113             <Import-Package>org.apache.commons.lang3.builder,
114                 org.apache.commons.lang3.tuple,
115                 org.apache.felix.dm,
116                 org.slf4j,
117                 org.eclipse.osgi.framework.console,
118                 org.osgi.framework,
119                 javax.net.ssl,
120                 *</Import-Package>
121             <Embed-Transitive>true</Embed-Transitive>
122             <Export-Package>org.opendaylight.ovsdb.lib,
123                 org.opendaylight.ovsdb.lib.table,
124                 org.opendaylight.ovsdb.lib.jsonrpc,
125                 org.opendaylight.ovsdb.lib.notation,
126                 org.opendaylight.ovsdb.lib.database,
127                 org.opendaylight.ovsdb.lib.operations,
128                 org.opendaylight.ovsdb.lib.message,
129                 org.opendaylight.ovsdb.lib.schema</Export-Package>
130           </instructions>
131           <manifestLocation>${project.basedir}/META-INF</manifestLocation>
132         </configuration>
133       </plugin>
134       <plugin>
135         <groupId>org.apache.maven.plugins</groupId>
136         <artifactId>maven-failsafe-plugin</artifactId>
137         <configuration>
138           <skipITs>${skip.integrationtest}</skipITs>
139         </configuration>
140       </plugin>
141       <plugin>
142         <groupId>org.apache.maven.plugins</groupId>
143         <artifactId>maven-surefire-plugin</artifactId>
144         <version>2.16</version>
145         <configuration>
146           <excludes>
147             <!--  Exclude integration tests -->
148             <exclude>**/*IT</exclude>
149           </excludes>
150         </configuration>
151       </plugin>
152     </plugins>
153   </build>
154   <scm>
155     <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
156     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
157     <tag>HEAD</tag>
158     <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
159   </scm>
160
161   <profiles>
162     <profile>
163       <id>integrationtest</id>
164       <activation></activation>
165       <properties>
166         <skip.integrationtest>false</skip.integrationtest>
167       </properties>
168     </profile>
169   </profiles>
170 </project>