Split Restconf implementations (draft02 and RFC) - Application
[netconf.git] / restconf / restconf-nb-rfc8040 / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  Copyright (c) 2017 Pantheon Technologies s.r.o. 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"
10          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12   <modelVersion>4.0.0</modelVersion>
13   <parent>
14     <groupId>org.opendaylight.mdsal</groupId>
15     <artifactId>binding-parent</artifactId>
16     <version>0.12.0-SNAPSHOT</version>
17     <relativePath/>
18   </parent>
19
20   <groupId>org.opendaylight.netconf</groupId>
21   <artifactId>restconf-nb-rfc8040</artifactId>
22   <version>1.7.0-SNAPSHOT</version>
23   <packaging>bundle</packaging>
24
25   <dependencyManagement>
26     <dependencies>
27       <dependency>
28         <groupId>org.opendaylight.netconf</groupId>
29         <artifactId>netconf-parent</artifactId>
30         <version>1.4.0-SNAPSHOT</version>
31         <type>pom</type>
32         <scope>import</scope>
33       </dependency>
34       <dependency>
35         <groupId>org.opendaylight.aaa</groupId>
36         <artifactId>aaa-artifacts</artifactId>
37         <version>0.7.0-SNAPSHOT</version>
38         <type>pom</type>
39         <scope>import</scope>
40       </dependency>
41       <dependency>
42         <groupId>org.opendaylight.controller</groupId>
43         <artifactId>config-artifacts</artifactId>
44         <version>0.8.0-SNAPSHOT</version>
45         <type>pom</type>
46         <scope>import</scope>
47       </dependency>
48       <dependency>
49         <groupId>org.opendaylight.controller</groupId>
50         <artifactId>mdsal-artifacts</artifactId>
51         <version>1.7.0-SNAPSHOT</version>
52         <type>pom</type>
53         <scope>import</scope>
54       </dependency>
55       <dependency>
56         <groupId>org.glassfish.jersey.test-framework.providers</groupId>
57         <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
58         <version>2.6</version>
59       </dependency>
60     </dependencies>
61   </dependencyManagement>
62
63   <dependencies>
64     <dependency>
65       <groupId>org.opendaylight.netconf</groupId>
66       <artifactId>restconf-common-models</artifactId>
67       <version>${project.version}</version>
68     </dependency>
69     <dependency>
70       <groupId>org.opendaylight.netconf</groupId>
71       <artifactId>restconf-common</artifactId>
72       <version>${project.version}</version>
73     </dependency>
74     <dependency>
75       <groupId>org.opendaylight.netconf</groupId>
76       <artifactId>ietf-yang-library</artifactId>
77       <version>${project.version}</version>
78     </dependency>
79
80     <dependency>
81       <groupId>org.opendaylight.yangtools</groupId>
82       <artifactId>yang-data-api</artifactId>
83     </dependency>
84     <dependency>
85       <groupId>org.opendaylight.yangtools</groupId>
86       <artifactId>yang-data-impl</artifactId>
87     </dependency>
88     <dependency>
89       <groupId>org.opendaylight.yangtools</groupId>
90       <artifactId>yang-parser-impl</artifactId>
91     </dependency>
92     <dependency>
93       <groupId>org.opendaylight.yangtools</groupId>
94       <artifactId>yang-model-util</artifactId>
95     </dependency>
96     <dependency>
97       <groupId>org.opendaylight.yangtools</groupId>
98       <artifactId>yang-data-codec-xml</artifactId>
99     </dependency>
100     <dependency>
101       <groupId>org.opendaylight.yangtools</groupId>
102       <artifactId>yang-data-codec-gson</artifactId>
103     </dependency>
104     <dependency>
105       <groupId>org.opendaylight.yangtools</groupId>
106       <artifactId>yang-test-util</artifactId>
107     </dependency>
108     <dependency>
109       <groupId>org.opendaylight.yangtools</groupId>
110       <artifactId>yang-model-export</artifactId>
111     </dependency>
112
113     <dependency>
114       <groupId>org.opendaylight.mdsal.model</groupId>
115       <artifactId>ietf-yang-types-20130715</artifactId>
116     </dependency>
117
118     <dependency>
119       <groupId>org.opendaylight.controller</groupId>
120       <artifactId>sal-core-spi</artifactId>
121     </dependency>
122     <dependency>
123       <groupId>org.opendaylight.controller</groupId>
124       <artifactId>sal-common-impl</artifactId>
125     </dependency>
126     <dependency>
127       <groupId>org.opendaylight.controller</groupId>
128       <artifactId>sal-common-util</artifactId>
129     </dependency>
130     <dependency>
131       <groupId>org.opendaylight.controller</groupId>
132       <artifactId>sal-broker-impl</artifactId>
133     </dependency>
134
135     <dependency>
136       <groupId>io.netty</groupId>
137       <artifactId>netty-codec-http</artifactId>
138     </dependency>
139
140     <dependency>
141       <groupId>org.jboss.resteasy</groupId>
142       <artifactId>jaxrs-api</artifactId>
143       <scope>provided</scope>
144     </dependency>
145
146     <dependency>
147       <groupId>com.fasterxml.jackson.dataformat</groupId>
148       <artifactId>jackson-dataformat-xml</artifactId>
149     </dependency>
150
151     <dependency>
152       <groupId>org.apache.commons</groupId>
153       <artifactId>commons-lang3</artifactId>
154       <version>3.0</version>
155     </dependency>
156
157     <dependency>
158       <groupId>net.java.dev.stax-utils</groupId>
159       <artifactId>stax-utils</artifactId>
160     </dependency>
161
162     <dependency>
163       <groupId>org.opendaylight.aaa</groupId>
164       <artifactId>aaa-shiro-api</artifactId>
165     </dependency>
166
167     <!-- Testing Dependencies -->
168     <dependency>
169       <groupId>org.glassfish.jersey.test-framework.providers</groupId>
170       <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
171       <scope>test</scope>
172     </dependency>
173     <dependency>
174       <groupId>org.mockito</groupId>
175       <artifactId>mockito-core</artifactId>
176       <scope>test</scope>
177     </dependency>
178     <dependency>
179       <groupId>org.glassfish.jersey.bundles.repackaged</groupId>
180       <artifactId>jersey-guava</artifactId>
181       <version>2.6</version>
182       <scope>test</scope>
183     </dependency>
184   </dependencies>
185
186   <build>
187     <plugins>
188       <plugin>
189         <groupId>org.apache.maven.plugins</groupId>
190         <artifactId>maven-surefire-plugin</artifactId>
191         <configuration>
192           <classpathDependencyExcludes>
193             <!-- Removes com.sun.jersey from testing classpath so there is no conflict with org.glassfish.jersey -->
194             <classpathDependencyExclude>com.sun.jersey</classpathDependencyExclude>
195           </classpathDependencyExcludes>
196         </configuration>
197       </plugin>
198 <plugin>
199         <groupId>org.apache.felix</groupId>
200         <artifactId>maven-bundle-plugin</artifactId>
201         <extensions>true</extensions>
202         <configuration>
203           <instructions>
204             <Bundle-Name>MD SAL Restconf Connector</Bundle-Name>
205             <Import-Package>
206               *,
207               com.sun.jersey.spi.container.servlet,
208               org.eclipse.jetty.servlets,
209               org.opendaylight.aaa.shiro.filters,
210               org.opendaylight.aaa.shiro.realm,
211               org.opendaylight.aaa.shiro.web.env,
212               org.opendaylight.aaa.filterchain.filters,
213               org.opendaylight.aaa.api,
214               org.apache.shiro.web.env
215             </Import-Package>
216             <Web-ContextPath>/restconf/rfc</Web-ContextPath>
217           </instructions>
218         </configuration>
219       </plugin>
220       <plugin>
221         <groupId>org.apache.maven.plugins</groupId>
222         <artifactId>maven-checkstyle-plugin</artifactId>
223         <configuration>
224           <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
225         </configuration>
226       </plugin>
227     </plugins>
228   </build>
229 </project>