Merge 'origin/topic/schema' branch into merge-branch
[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>commons</artifactId>
7     <version>1.1.0-SNAPSHOT</version>
8     <relativePath>../commons/parent</relativePath>
9   </parent>
10   <artifactId>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>org.apache.felix</groupId>
28         <artifactId>org.apache.felix.dependencymanager</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.slf4j</groupId>
98       <artifactId>slf4j-api</artifactId>
99     </dependency>
100   </dependencies>
101
102   <build>
103     <testResources>
104       <testResource>
105         <filtering>true</filtering>
106         <directory>src/test/resources</directory>
107       </testResource>
108     </testResources>
109     <plugins>
110       <plugin>
111         <groupId>org.apache.felix</groupId>
112         <artifactId>maven-bundle-plugin</artifactId>
113         <version>2.3.6</version>
114         <extensions>true</extensions>
115         <configuration>
116           <instructions>
117             <Import-Package>org.apache.commons.lang3.builder,
118                 org.apache.commons.lang3.tuple,
119                 org.apache.felix.dm,
120                 org.slf4j,
121                 org.eclipse.osgi.framework.console,
122                 org.osgi.framework,
123                 javax.net.ssl,
124                 *</Import-Package>
125             <Bundle-Activator>org.opendaylight.ovsdb.lib.Activator</Bundle-Activator>
126             <Embed-Transitive>true</Embed-Transitive>
127             <Export-Package>org.opendaylight.ovsdb.lib,
128                 org.opendaylight.ovsdb.lib.jsonrpc,
129                 org.opendaylight.ovsdb.lib.notation,
130                 org.opendaylight.ovsdb.lib.operations,
131                 org.opendaylight.ovsdb.lib.message,
132                 org.opendaylight.ovsdb.lib.schema,
133                 org.opendaylight.ovsdb.lib.schema.typed</Export-Package>
134           </instructions>
135           <manifestLocation>${project.basedir}/META-INF</manifestLocation>
136         </configuration>
137       </plugin>
138       <plugin>
139         <groupId>org.apache.maven.plugins</groupId>
140         <artifactId>maven-failsafe-plugin</artifactId>
141         <configuration>
142           <skipITs>${skip.integrationtest}</skipITs>
143           <includes>
144             <include>**/*IT*</include>
145           </includes>
146         </configuration>
147       </plugin>
148       <plugin>
149         <groupId>org.apache.maven.plugins</groupId>
150         <artifactId>maven-surefire-plugin</artifactId>
151         <version>2.16</version>
152         <configuration>
153           <excludes>
154             <!--  Exclude integration tests -->
155             <exclude>**/*IT*</exclude>
156           </excludes>
157         </configuration>
158       </plugin>
159     </plugins>
160   </build>
161   <scm>
162     <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
163     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
164     <tag>HEAD</tag>
165     <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
166   </scm>
167
168   <profiles>
169     <profile>
170       <id>integrationtest</id>
171       <activation></activation>
172       <properties>
173         <skip.integrationtest>false</skip.integrationtest>
174       </properties>
175     </profile>
176   </profiles>
177 </project>