Bug 4988: OF statistics & REST client
[groupbasedpolicy.git] / renderers / ofoverlay / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
3   This program and the accompanying materials are made available under the
4   terms of the Eclipse Public License v1.0 which accompanies this distribution,
5   and is available at http://www.eclipse.org/legal/epl-v10.html -->
6 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
8   <modelVersion>4.0.0</modelVersion>
9
10   <parent>
11     <groupId>org.opendaylight.groupbasedpolicy</groupId>
12     <artifactId>groupbasedpolicy-renderers</artifactId>
13     <version>0.4.0-SNAPSHOT</version>
14     <relativePath>../</relativePath>
15   </parent>
16
17   <artifactId>ofoverlay-renderer</artifactId>
18   <packaging>bundle</packaging>
19
20   <properties>
21     <ovsdb.version>1.3.0-SNAPSHOT</ovsdb.version>
22     <openflowplugin.version>0.3.0-SNAPSHOT</openflowplugin.version>
23     <liblldp.version>0.11.0-SNAPSHOT</liblldp.version>
24     <sfc.version>0.3.0-SNAPSHOT</sfc.version>
25   </properties>
26
27   <dependencies>
28     <!-- model dependencies -->
29     <dependency>
30       <groupId>org.opendaylight.ovsdb</groupId>
31       <artifactId>southbound-api</artifactId>
32       <version>${ovsdb.version}</version>
33     </dependency>
34     <!-- project specific dependencies -->
35     <dependency>
36       <groupId>org.opendaylight.openflowplugin</groupId>
37       <artifactId>openflowplugin-extension-nicira</artifactId>
38       <version>${openflowplugin.version}</version>
39     </dependency>
40     <dependency>
41       <groupId>org.opendaylight.controller</groupId>
42       <artifactId>liblldp</artifactId>
43       <version>${liblldp.version}</version>
44     </dependency>
45     <dependency>
46       <groupId>commons-net</groupId>
47       <artifactId>commons-net</artifactId>
48     </dependency>
49     <!-- REST client-->
50     <dependency>
51        <groupId>com.sun.jersey</groupId>
52        <artifactId>jersey-client</artifactId>
53     </dependency>
54     <dependency>
55        <groupId>com.google.code.gson</groupId>
56        <artifactId>gson</artifactId>
57     </dependency>
58     <!-- SFC -->
59     <dependency>
60       <groupId>org.opendaylight.sfc</groupId>
61       <artifactId>sfc-provider</artifactId>
62       <version>${sfc.version}</version>
63     </dependency>
64     <!-- testing dependencies -->
65     <dependency>
66       <groupId>junit</groupId>
67       <artifactId>junit</artifactId>
68       <scope>test</scope>
69     </dependency>
70     <dependency>
71       <groupId>org.mockito</groupId>
72       <artifactId>mockito-all</artifactId>
73       <scope>test</scope>
74     </dependency>
75     <dependency>
76       <groupId>org.opendaylight.controller</groupId>
77       <artifactId>sal-binding-broker-impl</artifactId>
78       <type>test-jar</type>
79       <scope>test</scope>
80     </dependency>
81     <dependency>
82       <groupId>org.opendaylight.groupbasedpolicy</groupId>
83       <artifactId>groupbasedpolicy</artifactId>
84       <version>${project.version}</version>
85       <type>test-jar</type>
86       <scope>test</scope>
87     </dependency>
88     <dependency>
89       <groupId>org.powermock</groupId>
90       <artifactId>powermock-module-junit4</artifactId>
91       <scope>test</scope>
92     </dependency>
93     <dependency>
94       <groupId>org.powermock</groupId>
95       <artifactId>powermock-api-mockito</artifactId>
96       <scope>test</scope>
97     </dependency>
98
99   </dependencies>
100
101   <!-- project build -->
102   <build>
103     <!-- We use the maven-resources-plugin to copy a class from the groupbasepolicy
104       bundle that we need in order to run some unit tests in the renderer (classes
105       in the test directory aren't packaged in bundles, and instead of keeping
106       separate copies, we just copy the file(s) needed in order to run the test). -->
107     <plugins>
108       <plugin>
109         <groupId>org.apache.felix</groupId>
110         <artifactId>maven-bundle-plugin</artifactId>
111         <extensions>true</extensions>
112         <configuration>
113           <instructions>
114             <Export-Package>
115               org.opendaylight.yang.gen.v1.urn.opendaylight.groupbasedpolicy.ofoverlay.rev140528.*
116             </Export-Package>
117           </instructions>
118         </configuration>
119       </plugin>
120     </plugins>
121   </build>
122 </project>