Merge "BUG-1281: share filters between instances"
[controller.git] / opendaylight / md-sal / sal-rest-connector / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3   <modelVersion>4.0.0</modelVersion>
4   <parent>
5     <groupId>org.opendaylight.controller</groupId>
6     <artifactId>sal-parent</artifactId>
7     <version>1.1-SNAPSHOT</version>
8   </parent>
9   <artifactId>sal-rest-connector</artifactId>
10   <packaging>bundle</packaging>
11
12   <dependencies>
13     <dependency>
14       <groupId>${project.groupId}</groupId>
15       <artifactId>sal-connector-api</artifactId>
16     </dependency>
17     <dependency>
18       <groupId>${project.groupId}</groupId>
19       <artifactId>sal-core-api</artifactId>
20     </dependency>
21     <dependency>
22       <groupId>${project.groupId}</groupId>
23       <artifactId>sal-binding-config</artifactId>
24     </dependency>
25     <dependency>
26       <groupId>${project.groupId}</groupId>
27       <artifactId>config-api</artifactId>
28     </dependency>
29     <dependency>
30       <groupId>com.google.code.gson</groupId>
31       <artifactId>gson</artifactId>
32     </dependency>
33     <dependency>
34       <groupId>io.netty</groupId>
35       <artifactId>netty-codec-http</artifactId>
36     </dependency>
37     <dependency>
38       <groupId>org.apache.commons</groupId>
39       <artifactId>commons-lang3</artifactId>
40     </dependency>
41     <dependency>
42       <groupId>org.opendaylight.controller</groupId>
43       <artifactId>sal-common-util</artifactId>
44     </dependency>
45     <dependency>
46       <groupId>org.opendaylight.controller</groupId>
47       <artifactId>sal-remote</artifactId>
48     </dependency>
49     <dependency>
50       <groupId>org.opendaylight.yangtools</groupId>
51       <artifactId>yang-data-impl</artifactId>
52     </dependency>
53     <dependency>
54       <groupId>org.opendaylight.yangtools</groupId>
55       <artifactId>yang-model-util</artifactId>
56     </dependency>
57     <dependency>
58       <groupId>org.opendaylight.yangtools</groupId>
59       <artifactId>yang-parser-impl</artifactId>
60     </dependency>
61     <dependency>
62       <groupId>org.opendaylight.yangtools.model</groupId>
63       <artifactId>ietf-restconf</artifactId>
64     </dependency>
65     <dependency>
66       <groupId>org.opendaylight.yangtools.model</groupId>
67       <artifactId>ietf-yang-types-20130715</artifactId>
68     </dependency>
69     <dependency>
70       <groupId>org.opendaylight.yangtools.model</groupId>
71       <artifactId>ietf-inet-types</artifactId>
72     </dependency>
73     <dependency>
74       <groupId>org.slf4j</groupId>
75       <artifactId>slf4j-api</artifactId>
76     </dependency>
77     <dependency>
78       <groupId>org.jboss.resteasy</groupId>
79       <artifactId>jaxrs-api</artifactId>
80       <scope>provided</scope>
81     </dependency>
82     <dependency>
83       <groupId>ch.qos.logback</groupId>
84       <artifactId>logback-classic</artifactId>
85       <scope>test</scope>
86     </dependency>
87
88     <!-- Testing Dependencies -->
89     <dependency>
90       <groupId>junit</groupId>
91       <artifactId>junit</artifactId>
92       <scope>test</scope>
93     </dependency>
94     <dependency>
95       <groupId>org.glassfish.jersey.test-framework.providers</groupId>
96       <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
97       <scope>test</scope>
98     </dependency>
99     <dependency>
100       <groupId>org.mockito</groupId>
101       <artifactId>mockito-all</artifactId>
102       <scope>test</scope>
103     </dependency>
104     <dependency>
105       <groupId>org.opendaylight.controller</groupId>
106       <artifactId>sal-core-spi</artifactId>
107     </dependency>
108     <dependency>
109       <groupId>org.opendaylight.yangtools</groupId>
110       <artifactId>yang-data-composite-node</artifactId>
111       <version>0.6.2-SNAPSHOT</version>
112     </dependency>
113   </dependencies>
114
115   <build>
116     <plugins>
117       <plugin>
118         <groupId>org.apache.felix</groupId>
119         <artifactId>maven-bundle-plugin</artifactId>
120         <extensions>true</extensions>
121         <configuration>
122           <instructions>
123             <Bundle-Name>MD SAL Restconf Connector</Bundle-Name>
124             <Private-Package>org.opendaylight.controller.sal.rest.*,
125               org.opendaylight.controller.sal.restconf.rpc.*,
126               org.opendaylight.controller.sal.restconf.impl,
127               org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.rest.connector.rev140724.*,
128             </Private-Package>
129             <Import-Package>*,
130             com.sun.jersey.spi.container.servlet</Import-Package>
131             <Web-ContextPath>/restconf</Web-ContextPath>
132           </instructions>
133         </configuration>
134       </plugin>
135       <plugin>
136         <groupId>org.opendaylight.yangtools</groupId>
137         <artifactId>yang-maven-plugin</artifactId>
138         <executions>
139           <execution>
140             <id>config</id>
141             <goals>
142               <goal>generate-sources</goal>
143             </goals>
144             <configuration>
145               <codeGenerators>
146                 <generator>
147                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
148                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
149                   <additionalConfiguration>
150                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
151                   </additionalConfiguration>
152                 </generator>
153                 <generator>
154                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
155                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
156                 </generator>
157               </codeGenerators>
158               <inspectDependencies>true</inspectDependencies>
159             </configuration>
160           </execution>
161         </executions>
162       </plugin>
163     </plugins>
164   </build>
165   <scm>
166     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
167     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
168     <tag>HEAD</tag>
169     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
170   </scm>
171 </project>