Merge "Clean-up mdsal-netconf-notification"
[netconf.git] / restconf / sal-rest-connector / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  Copyright (c) 2016 Cisco Systems, Inc. and others.  All rights reserved.
4
5  This program and the accompanying materials are made available under the
6  terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <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">
10   <modelVersion>4.0.0</modelVersion>
11   <parent>
12     <groupId>org.opendaylight.controller</groupId>
13     <artifactId>config-parent</artifactId>
14     <version>0.6.0-SNAPSHOT</version>
15     <relativePath/>
16   </parent>
17
18   <groupId>org.opendaylight.netconf</groupId>
19   <artifactId>sal-rest-connector</artifactId>
20   <version>1.5.0-SNAPSHOT</version>
21   <packaging>bundle</packaging>
22
23   <dependencyManagement>
24     <dependencies>
25       <dependency>
26         <groupId>org.opendaylight.netconf</groupId>
27         <artifactId>netconf-parent</artifactId>
28         <version>1.2.0-SNAPSHOT</version>
29         <type>pom</type>
30         <scope>import</scope>
31       </dependency>
32       <dependency>
33         <groupId>org.glassfish.jersey.test-framework.providers</groupId>
34         <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
35         <version>2.4</version>
36       </dependency>
37     </dependencies>
38   </dependencyManagement>
39
40   <dependencies>
41     <dependency>
42       <groupId>org.opendaylight.controller</groupId>
43       <artifactId>sal-connector-api</artifactId>
44     </dependency>
45     <dependency>
46       <groupId>org.opendaylight.controller</groupId>
47       <artifactId>sal-core-api</artifactId>
48     </dependency>
49     <dependency>
50       <groupId>org.opendaylight.controller</groupId>
51       <artifactId>sal-binding-config</artifactId>
52     </dependency>
53     <dependency>
54       <groupId>org.opendaylight.controller</groupId>
55       <artifactId>config-api</artifactId>
56     </dependency>
57     <dependency>
58       <groupId>com.google.code.gson</groupId>
59       <artifactId>gson</artifactId>
60     </dependency>
61     <dependency>
62       <groupId>io.netty</groupId>
63       <artifactId>netty-codec-http</artifactId>
64     </dependency>
65     <dependency>
66       <groupId>org.opendaylight.controller</groupId>
67       <artifactId>sal-common-util</artifactId>
68     </dependency>
69     <dependency>
70       <groupId>org.opendaylight.controller</groupId>
71       <artifactId>sal-common-impl</artifactId>
72     </dependency>
73     <dependency>
74       <groupId>org.opendaylight.controller</groupId>
75       <artifactId>sal-binding-broker-impl</artifactId>
76     </dependency>
77     <dependency>
78       <groupId>org.opendaylight.controller</groupId>
79       <artifactId>sal-remote</artifactId>
80     </dependency>
81     <dependency>
82       <groupId>org.opendaylight.yangtools</groupId>
83       <artifactId>yang-data-api</artifactId>
84     </dependency>
85     <dependency>
86       <groupId>org.opendaylight.yangtools</groupId>
87       <artifactId>yang-data-impl</artifactId>
88     </dependency>
89     <dependency>
90       <groupId>org.opendaylight.yangtools</groupId>
91       <artifactId>yang-model-util</artifactId>
92     </dependency>
93     <dependency>
94       <groupId>org.opendaylight.yangtools</groupId>
95       <artifactId>yang-parser-impl</artifactId>
96     </dependency>
97     <dependency>
98       <groupId>org.opendaylight.mdsal.model</groupId>
99       <artifactId>ietf-restconf</artifactId>
100     </dependency>
101     <dependency>
102       <groupId>org.opendaylight.mdsal.model</groupId>
103       <artifactId>ietf-yang-types-20130715</artifactId>
104     </dependency>
105     <dependency>
106       <groupId>org.opendaylight.mdsal.model</groupId>
107       <artifactId>ietf-inet-types-2013-07-15</artifactId>
108     </dependency>
109     <dependency>
110       <groupId>org.slf4j</groupId>
111       <artifactId>slf4j-api</artifactId>
112     </dependency>
113     <dependency>
114       <groupId>org.jboss.resteasy</groupId>
115       <artifactId>jaxrs-api</artifactId>
116       <scope>provided</scope>
117     </dependency>
118     <dependency>
119       <groupId>org.opendaylight.controller</groupId>
120       <artifactId>sal-core-spi</artifactId>
121     </dependency>
122     <dependency>
123       <groupId>org.opendaylight.yangtools</groupId>
124       <artifactId>yang-data-codec-gson</artifactId>
125     </dependency>
126     <dependency>
127       <groupId>org.opendaylight.yangtools</groupId>
128       <artifactId>yang-model-export</artifactId>
129     </dependency>
130     <dependency>
131       <groupId>net.java.dev.stax-utils</groupId>
132       <artifactId>stax-utils</artifactId>
133     </dependency>
134     <dependency>
135       <groupId>ch.qos.logback</groupId>
136       <artifactId>logback-classic</artifactId>
137       <scope>test</scope>
138     </dependency>
139     <dependency>
140       <groupId>com.google.code.findbugs</groupId>
141       <artifactId>jsr305</artifactId>
142     </dependency>
143     <dependency>
144       <groupId>javax.annotation</groupId>
145       <artifactId>javax.annotation-api</artifactId>
146       <version>1.2</version>
147     </dependency>
148
149     <dependency>
150       <groupId>org.json</groupId>
151       <artifactId>json</artifactId>
152     </dependency>
153
154     <!-- Testing Dependencies -->
155     <dependency>
156       <groupId>org.glassfish.jersey.test-framework.providers</groupId>
157       <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
158       <scope>test</scope>
159     </dependency>
160     <dependency>
161       <groupId>org.mockito</groupId>
162       <artifactId>mockito-core</artifactId>
163       <scope>test</scope>
164     </dependency>
165     <dependency>
166       <groupId>org.hamcrest</groupId>
167       <artifactId>hamcrest-core</artifactId>
168     </dependency>
169   </dependencies>
170
171   <build>
172     <plugins>
173       <plugin>
174         <groupId>org.apache.maven.plugins</groupId>
175         <artifactId>maven-surefire-plugin</artifactId>
176         <configuration>
177           <classpathDependencyExcludes>
178             <!-- Removes com.sun.jersey from testing classpath so there is no conflict with org.glassfish.jersey -->
179             <classpathDependencyExclude>com.sun.jersey</classpathDependencyExclude>
180           </classpathDependencyExcludes>
181         </configuration>
182       </plugin>
183       <plugin>
184         <groupId>org.apache.felix</groupId>
185         <artifactId>maven-bundle-plugin</artifactId>
186         <extensions>true</extensions>
187         <configuration>
188           <instructions>
189             <Bundle-Name>MD SAL Restconf Connector</Bundle-Name>
190             <Private-Package>org.opendaylight.netconf.sal.rest.*,
191               org.opendaylight.restconf.*,
192               org.opendaylight.netconf.sal.restconf.rpc.*,
193               org.opendaylight.netconf.sal.restconf.impl,
194               org.opendaylight.netconf.md.sal.rest.common.*,
195               org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.rest.connector.rev140724.*,
196               javax.annotation
197             </Private-Package>
198             <Import-Package>
199               *,
200               com.sun.jersey.spi.container.servlet,
201               org.eclipse.jetty.servlets,
202               org.opendaylight.aaa.shiro.filters,
203               org.opendaylight.aaa.shiro.realm,
204               org.opendaylight.aaa.shiro.web.env,
205               org.opendaylight.aaa.filterchain.filters,
206               org.apache.shiro.web.env
207             </Import-Package>
208             <Web-ContextPath>/restconf</Web-ContextPath>
209           </instructions>
210         </configuration>
211       </plugin>
212     </plugins>
213   </build>
214   <scm>
215     <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
216     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
217     <tag>HEAD</tag>
218     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
219   </scm>
220 </project>