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