Merge "Bug 2515 - Jersey to support JAX-RS 2.0"
[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>org.apache.commons</groupId>
135       <artifactId>commons-lang3</artifactId>
136     </dependency>
137
138     <dependency>
139       <groupId>com.google.code.gson</groupId>
140       <artifactId>gson</artifactId>
141     </dependency>
142     <dependency>
143         <groupId>org.opendaylight.yangtools</groupId>
144         <artifactId>yang-model-export</artifactId>
145         <version>${yangtools.version}</version>
146     </dependency>
147
148     <dependency>
149       <groupId>javax.ws.rs</groupId>
150       <artifactId>javax.ws.rs-api</artifactId>
151     </dependency>
152     <dependency>
153       <groupId>javax.servlet</groupId>
154       <artifactId>javax.servlet-api</artifactId>
155     </dependency>
156     <dependency>
157       <groupId>io.netty</groupId>
158       <artifactId>netty-buffer</artifactId>
159     </dependency>
160     <dependency>
161       <groupId>io.netty</groupId>
162       <artifactId>netty-codec</artifactId>
163     </dependency>
164     <dependency>
165       <groupId>io.netty</groupId>
166       <artifactId>netty-codec-http</artifactId>
167     </dependency>
168     <dependency>
169       <groupId>io.netty</groupId>
170       <artifactId>netty-common</artifactId>
171     </dependency>
172     <dependency>
173       <groupId>io.netty</groupId>
174       <artifactId>netty-handler</artifactId>
175     </dependency>
176     <dependency>
177       <groupId>io.netty</groupId>
178       <artifactId>netty-transport</artifactId>
179     </dependency>
180
181     <dependency>
182       <groupId>org.opendaylight.netconf</groupId>
183       <artifactId>sal-rest-connector-config</artifactId>
184       <version>${restconf.version}</version>
185       <type>xml</type>
186       <classifier>config</classifier>
187     </dependency>
188
189     <dependency>
190       <groupId>org.opendaylight.netconf</groupId>
191       <artifactId>sal-rest-connector-config</artifactId>
192       <version>${restconf.version}</version>
193       <type>xml</type>
194       <classifier>configrestconfservice</classifier>
195     </dependency>
196
197     <dependency>
198       <groupId>com.fasterxml.jackson.core</groupId>
199       <artifactId>jackson-annotations</artifactId>
200     </dependency>
201     <dependency>
202       <groupId>com.fasterxml.jackson.core</groupId>
203       <artifactId>jackson-core</artifactId>
204     </dependency>
205     <dependency>
206       <groupId>com.fasterxml.jackson.core</groupId>
207       <artifactId>jackson-databind</artifactId>
208     </dependency>
209     <dependency>
210       <groupId>com.fasterxml.jackson.datatype</groupId>
211       <artifactId>jackson-datatype-json-org</artifactId>
212     </dependency>
213     <dependency>
214       <groupId>com.fasterxml.jackson.module</groupId>
215       <artifactId>jackson-module-jaxb-annotations</artifactId>
216     </dependency>
217     <dependency>
218       <groupId>com.fasterxml.jackson.jaxrs</groupId>
219       <artifactId>jackson-jaxrs-base</artifactId>
220     </dependency>
221     <dependency>
222       <groupId>com.fasterxml.jackson.jaxrs</groupId>
223       <artifactId>jackson-jaxrs-json-provider</artifactId>
224     </dependency>
225     <dependency>
226       <groupId>org.json</groupId>
227       <artifactId>json</artifactId>
228     </dependency>
229
230     <dependency>
231         <groupId>org.opendaylight.yangtools</groupId>
232         <artifactId>yang-data-codec-gson</artifactId>
233     </dependency>
234
235     <dependency>
236       <groupId>org.opendaylight.netconf</groupId>
237       <artifactId>sal-rest-docgen</artifactId>
238       <version>${restconf.version}</version>
239     </dependency>
240
241     <!--
242       Optional TODO: Remove TODO comments.
243     -->
244     <!-- test to validate features.xml -->
245     <dependency>
246       <groupId>org.opendaylight.odlparent</groupId>
247       <artifactId>features-test</artifactId>
248       <scope>test</scope>
249     </dependency>
250     <!-- dependency for opendaylight-karaf-empty for use by testing -->
251     <dependency>
252       <groupId>org.opendaylight.controller</groupId>
253       <artifactId>opendaylight-karaf-empty</artifactId>
254       <version>${commons.opendaylight.version}</version>
255       <scope>test</scope>
256       <type>zip</type>
257     </dependency>
258     <!-- 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;
259     <dependency>
260       <groupId>org.slf4j</groupId>
261       <artifactId>slf4j-simple</artifactId>
262       <version>1.7.2</version>
263     </dependency>
264     -->
265
266    </dependencies>
267    <build>
268       <resources>
269          <resource>
270             <directory>src/main/resources</directory>
271             <filtering>true</filtering>
272          </resource>
273       </resources>
274       <plugins>
275          <plugin>
276             <groupId>org.apache.maven.plugins</groupId>
277             <artifactId>maven-resources-plugin</artifactId>
278             <executions>
279                <execution>
280                   <id>filter</id>
281                   <phase>generate-resources</phase>
282                   <goals>
283                      <goal>resources</goal>
284                   </goals>
285                </execution>
286             </executions>
287          </plugin>
288          <plugin>
289             <groupId>org.codehaus.mojo</groupId>
290             <artifactId>build-helper-maven-plugin</artifactId>
291             <executions>
292                <execution>
293                   <id>attach-artifacts</id>
294                   <phase>package</phase>
295                   <goals>
296                      <goal>attach-artifact</goal>
297                   </goals>
298                   <configuration>
299                      <artifacts>
300                         <artifact>
301                            <file>${project.build.directory}/classes/${features.file}</file>
302                            <type>xml</type>
303                            <classifier>features</classifier>
304                         </artifact>
305                      </artifacts>
306                   </configuration>
307                </execution>
308             </executions>
309          </plugin>
310          <plugin>
311             <groupId>org.apache.maven.plugins</groupId>
312             <artifactId>maven-surefire-plugin</artifactId>
313             <version>${surefire.version}</version>
314             <configuration>
315               <systemPropertyVariables>
316                   <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
317                   <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
318                   <karaf.distro.version>${commons.opendaylight.version}</karaf.distro.version>
319               </systemPropertyVariables>
320               <dependenciesToScan>
321                <dependency>org.opendaylight.odlparent:features-test</dependency>
322               </dependenciesToScan>
323             </configuration>
324           </plugin>
325       </plugins>
326    </build>
327    <scm>
328       <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
329       <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
330       <tag>HEAD</tag>
331       <url>https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=summary</url>
332    </scm>
333 </project>