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