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