Update aaa-authn-odl-plugin to use updated aaa bindings
[netconf.git] / features / restconf / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  Necessary TODO: Put your copyright here.
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 --><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">
9    <modelVersion>4.0.0</modelVersion>
10    <parent>
11     <groupId>org.opendaylight.netconf</groupId>
12     <artifactId>netconf-features-parent</artifactId>
13     <version>1.0.0-SNAPSHOT</version>
14     <relativePath>..</relativePath>
15    </parent>
16    <!-- FIXME: Convert to features-parent -->
17    <!--
18     Necessary TODO: Hookup your parent pom here, else you will not get necessary versions,
19     maven repos etc.  If you run this archetype in a subdirectory of your project, it
20     will pick the pom.xml from the parent directory as the parent pom, which may or may
21     not be correct.
22   -->
23    <artifactId>features-restconf</artifactId>
24    <groupId>org.opendaylight.netconf</groupId>
25    <version>1.3.0-SNAPSHOT</version>
26    <!-- Optional TODO: Uncomment version if you are not using a parent pom.xml
27    <version>1.2.0-SNAPSHOT</version>
28    -->
29    <packaging>jar</packaging>
30    <properties>
31       <features.file>features.xml</features.file>
32    </properties>
33    <dependencies>
34     <!--
35       Necessary TODO: Put dependencies on any feature repos
36       you use in your features.xml file.
37
38       Note: they will need to be <type>xml</xml>
39       and <classifier>features</classifier>.
40       One other thing to watch for is to make sure they are
41       <scope>compile</compile>, which they should be by default,
42       but be cautious lest they be at a different scope in a parent pom.
43
44       Examples:
45         <dependency>
46           <groupId>org.opendaylight.yangtools</groupId>
47           <artifactId>features-yangtools</artifactId>
48           <version>0.8.0-SNAPSHOT</version>
49           <classifier>features</classifier>
50           <type>xml</type>
51         </dependency>
52         <dependency>
53           <groupId>org.opendaylight.controller</groupId>
54           <artifactId>features-mdsal</artifactId>
55           <version>1.3.0-SNAPSHOT</version>
56           <classifier>features</classifier>
57           <type>xml</type>
58         </dependency>
59         <dependency>
60           <groupId>org.opendaylight.openflowplugin</groupId>
61           <artifactId>features-openflowplugin</artifactId>
62           <version>0.2.0-SNAPSHOT</version>
63           <classifier>features</classifier>
64           <type>xml</type>
65         </dependency>
66     -->
67
68     <!--
69       Necessary TODO: Put dependencies for bundles directly referenced
70       in your features.xml file.  For every <bundle> reference in your
71       features.xml file, you need a corresponding dependency here.
72
73       Examples:
74       <dependency>
75         <groupId>org.opendaylight.controller</groupId>
76         <artifactId>controller-provider</artifactId>
77         <version>${project.version}</version>
78       </dependency>
79       <dependency>
80         <groupId>org.opendaylight.controller</groupId>
81         <artifactId>controller-model</artifactId>
82         <version>${project.version}</version>
83       </dependency>
84     -->
85
86     <!--
87       Necessary TODO: Put dependencies for configfiles directly referenced
88       in your features.xml file.  For every <configfile> reference in your
89       features.xml file, you need a corresponding dependency here.
90
91       Example (presuming here version is coming from the parent pom):
92       <dependency>
93         <groupId>org.opendaylight.controller</groupId>
94         <artifactId>controller-config</artifactId>
95         <version>${project.version}</version>
96         <type>xml</type>
97         <classifier>config</classifier>
98       </dependency>
99     -->
100     <dependency>
101       <groupId>org.opendaylight.yangtools</groupId>
102       <artifactId>features-yangtools</artifactId>
103       <version>${yangtools.version}</version>
104       <classifier>features</classifier>
105       <type>xml</type>
106     </dependency>
107     <dependency>
108       <groupId>org.opendaylight.controller</groupId>
109       <artifactId>features-mdsal</artifactId>
110       <version>${controller.mdsal.version}</version>
111       <classifier>features</classifier>
112       <type>xml</type>
113     </dependency>
114     <dependency>
115       <groupId>org.opendaylight.aaa</groupId>
116       <artifactId>features-aaa</artifactId>
117       <version>${aaa.version}</version>
118       <classifier>features</classifier>
119       <type>xml</type>
120     </dependency>
121
122     <dependency>
123       <groupId>org.opendaylight.controller</groupId>
124       <artifactId>sal-remote</artifactId>
125     </dependency>
126
127     <dependency>
128       <groupId>org.opendaylight.netconf</groupId>
129       <artifactId>sal-rest-connector</artifactId>
130       <version>${restconf.version}</version>
131     </dependency>
132
133     <dependency>
134       <groupId>com.google.code.gson</groupId>
135       <artifactId>gson</artifactId>
136     </dependency>
137
138     <dependency>
139       <groupId>com.sun.jersey</groupId>
140       <artifactId>jersey-core</artifactId>
141     </dependency>
142     <dependency>
143       <groupId>com.sun.jersey</groupId>
144       <artifactId>jersey-server</artifactId>
145     </dependency>
146     <dependency>
147       <groupId>com.sun.jersey</groupId>
148       <artifactId>jersey-servlet</artifactId>
149     </dependency>
150     <dependency>
151       <groupId>io.netty</groupId>
152       <artifactId>netty-buffer</artifactId>
153     </dependency>
154     <dependency>
155       <groupId>io.netty</groupId>
156       <artifactId>netty-codec</artifactId>
157     </dependency>
158     <dependency>
159       <groupId>io.netty</groupId>
160       <artifactId>netty-codec-http</artifactId>
161     </dependency>
162     <dependency>
163       <groupId>io.netty</groupId>
164       <artifactId>netty-common</artifactId>
165     </dependency>
166     <dependency>
167       <groupId>io.netty</groupId>
168       <artifactId>netty-handler</artifactId>
169     </dependency>
170     <dependency>
171       <groupId>io.netty</groupId>
172       <artifactId>netty-transport</artifactId>
173     </dependency>
174
175     <dependency>
176       <groupId>org.opendaylight.netconf</groupId>
177       <artifactId>sal-rest-connector-config</artifactId>
178       <version>${restconf.version}</version>
179       <type>xml</type>
180       <classifier>config</classifier>
181     </dependency>
182
183         <dependency>
184       <groupId>com.fasterxml.jackson.core</groupId>
185       <artifactId>jackson-annotations</artifactId>
186     </dependency>
187     <dependency>
188       <groupId>com.fasterxml.jackson.core</groupId>
189       <artifactId>jackson-core</artifactId>
190     </dependency>
191     <dependency>
192       <groupId>com.fasterxml.jackson.core</groupId>
193       <artifactId>jackson-databind</artifactId>
194     </dependency>
195     <dependency>
196       <groupId>com.fasterxml.jackson.datatype</groupId>
197       <artifactId>jackson-datatype-json-org</artifactId>
198     </dependency>
199     <dependency>
200       <groupId>com.fasterxml.jackson.module</groupId>
201       <artifactId>jackson-module-jaxb-annotations</artifactId>
202     </dependency>
203     <dependency>
204       <groupId>com.fasterxml.jackson.jaxrs</groupId>
205       <artifactId>jackson-jaxrs-base</artifactId>
206     </dependency>
207     <dependency>
208       <groupId>com.fasterxml.jackson.jaxrs</groupId>
209       <artifactId>jackson-jaxrs-json-provider</artifactId>
210     </dependency>
211     <dependency>
212       <groupId>org.json</groupId>
213       <artifactId>json</artifactId>
214     </dependency>
215
216     <dependency>
217         <groupId>org.opendaylight.yangtools</groupId>
218         <artifactId>yang-data-codec-gson</artifactId>
219     </dependency>
220
221     <dependency>
222       <groupId>org.opendaylight.netconf</groupId>
223       <artifactId>sal-rest-docgen</artifactId>
224       <version>${restconf.version}</version>
225     </dependency>
226
227     <!--
228       Optional TODO: Remove TODO comments.
229     -->
230     <!-- test to validate features.xml -->
231     <dependency>
232       <groupId>org.opendaylight.odlparent</groupId>
233       <artifactId>features-test</artifactId>
234       <scope>test</scope>
235     </dependency>
236     <!-- dependency for opendaylight-karaf-empty for use by testing -->
237     <dependency>
238       <groupId>org.opendaylight.controller</groupId>
239       <artifactId>opendaylight-karaf-empty</artifactId>
240       <version>${commons.opendaylight.version}</version>
241       <scope>test</scope>
242       <type>zip</type>
243     </dependency>
244     <!-- Uncomment this if you get an error : java.lang.NoSuchMethodError: org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Lorg/slf4j/helpers/FormattingTuple;
245     <dependency>
246       <groupId>org.slf4j</groupId>
247       <artifactId>slf4j-simple</artifactId>
248       <version>1.7.2</version>
249     </dependency>
250     -->
251
252    </dependencies>
253    <build>
254       <resources>
255          <resource>
256             <directory>src/main/resources</directory>
257             <filtering>true</filtering>
258          </resource>
259       </resources>
260       <plugins>
261          <plugin>
262             <groupId>org.apache.maven.plugins</groupId>
263             <artifactId>maven-resources-plugin</artifactId>
264             <executions>
265                <execution>
266                   <id>filter</id>
267                   <phase>generate-resources</phase>
268                   <goals>
269                      <goal>resources</goal>
270                   </goals>
271                </execution>
272             </executions>
273          </plugin>
274          <plugin>
275             <groupId>org.codehaus.mojo</groupId>
276             <artifactId>build-helper-maven-plugin</artifactId>
277             <executions>
278                <execution>
279                   <id>attach-artifacts</id>
280                   <phase>package</phase>
281                   <goals>
282                      <goal>attach-artifact</goal>
283                   </goals>
284                   <configuration>
285                      <artifacts>
286                         <artifact>
287                            <file>${project.build.directory}/classes/${features.file}</file>
288                            <type>xml</type>
289                            <classifier>features</classifier>
290                         </artifact>
291                      </artifacts>
292                   </configuration>
293                </execution>
294             </executions>
295          </plugin>
296          <plugin>
297             <groupId>org.apache.maven.plugins</groupId>
298             <artifactId>maven-surefire-plugin</artifactId>
299             <version>${surefire.version}</version>
300             <configuration>
301               <systemPropertyVariables>
302                   <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
303                   <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
304                   <karaf.distro.version>${commons.opendaylight.version}</karaf.distro.version>
305               </systemPropertyVariables>
306               <dependenciesToScan>
307                <dependency>org.opendaylight.odlparent:features-test</dependency>
308               </dependenciesToScan>
309             </configuration>
310           </plugin>
311       </plugins>
312    </build>
313    <scm>
314       <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
315       <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
316       <tag>HEAD</tag>
317       <url>https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=summary</url>
318    </scm>
319 </project>