[RFC][Fix] Fix for connection in pom.xml.
[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.3.0-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-common-impl</artifactId>
48     </dependency>
49     <dependency>
50       <groupId>org.opendaylight.controller</groupId>
51       <artifactId>sal-binding-broker-impl</artifactId>
52     </dependency>
53     <dependency>
54       <groupId>org.opendaylight.controller</groupId>
55       <artifactId>sal-remote</artifactId>
56     </dependency>
57     <dependency>
58       <groupId>org.opendaylight.yangtools</groupId>
59       <artifactId>yang-data-impl</artifactId>
60     </dependency>
61     <dependency>
62       <groupId>org.opendaylight.yangtools</groupId>
63       <artifactId>yang-model-util</artifactId>
64     </dependency>
65     <dependency>
66       <groupId>org.opendaylight.yangtools</groupId>
67       <artifactId>yang-parser-impl</artifactId>
68     </dependency>
69     <dependency>
70       <groupId>org.opendaylight.yangtools.model</groupId>
71       <artifactId>ietf-restconf</artifactId>
72     </dependency>
73     <dependency>
74       <groupId>org.opendaylight.yangtools.model</groupId>
75       <artifactId>ietf-yang-types-20130715</artifactId>
76     </dependency>
77     <dependency>
78       <groupId>org.opendaylight.yangtools.model</groupId>
79       <artifactId>ietf-inet-types</artifactId>
80     </dependency>
81     <dependency>
82       <groupId>org.slf4j</groupId>
83       <artifactId>slf4j-api</artifactId>
84     </dependency>
85     <dependency>
86       <groupId>org.jboss.resteasy</groupId>
87       <artifactId>jaxrs-api</artifactId>
88       <scope>provided</scope>
89     </dependency>
90     <dependency>
91       <groupId>org.opendaylight.controller</groupId>
92       <artifactId>sal-core-spi</artifactId>
93     </dependency>
94     <dependency>
95       <groupId>org.opendaylight.yangtools</groupId>
96       <artifactId>yang-data-codec-gson</artifactId>
97     </dependency>
98     <dependency>
99       <groupId>org.opendaylight.yangtools</groupId>
100       <artifactId>yang-model-export</artifactId>
101       <!-- FIXME: remove explicit version, once model export package is part of yangtools-artefacts -->
102       <version>0.8.0-SNAPSHOT</version>
103     </dependency>
104
105     <dependency>
106       <groupId>net.java.dev.stax-utils</groupId>
107       <artifactId>stax-utils</artifactId>
108       <version>20070216</version>
109     </dependency>
110
111     <dependency>
112       <groupId>ch.qos.logback</groupId>
113       <artifactId>logback-classic</artifactId>
114       <scope>test</scope>
115     </dependency>
116
117     <!-- Testing Dependencies -->
118     <dependency>
119       <groupId>junit</groupId>
120       <artifactId>junit</artifactId>
121       <scope>test</scope>
122     </dependency>
123     <dependency>
124       <groupId>org.glassfish.jersey.test-framework.providers</groupId>
125       <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
126       <scope>test</scope>
127     </dependency>
128     <dependency>
129       <groupId>org.mockito</groupId>
130       <artifactId>mockito-all</artifactId>
131       <scope>test</scope>
132     </dependency>
133   </dependencies>
134
135   <build>
136     <plugins>
137       <plugin>
138         <groupId>org.apache.felix</groupId>
139         <artifactId>maven-bundle-plugin</artifactId>
140         <extensions>true</extensions>
141         <configuration>
142           <instructions>
143             <Bundle-Name>MD SAL Restconf Connector</Bundle-Name>
144             <Private-Package>org.opendaylight.controller.sal.rest.*,
145               org.opendaylight.controller.sal.restconf.rpc.*,
146               org.opendaylight.controller.sal.restconf.impl,
147               org.opendaylight.controller.md.sal.rest.common.*,
148               org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.rest.connector.rev140724.*,
149             </Private-Package>
150             <Import-Package>*,
151             com.sun.jersey.spi.container.servlet, org.eclipse.jetty.servlets</Import-Package>
152             <Embed-Dependency>stax-utils</Embed-Dependency>
153             <Web-ContextPath>/restconf</Web-ContextPath>
154           </instructions>
155         </configuration>
156       </plugin>
157       <plugin>
158         <groupId>org.opendaylight.yangtools</groupId>
159         <artifactId>yang-maven-plugin</artifactId>
160         <executions>
161           <execution>
162             <id>config</id>
163             <goals>
164               <goal>generate-sources</goal>
165             </goals>
166             <configuration>
167               <codeGenerators>
168                 <generator>
169                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
170                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
171                   <additionalConfiguration>
172                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
173                   </additionalConfiguration>
174                 </generator>
175                 <generator>
176                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
177                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
178                 </generator>
179               </codeGenerators>
180               <inspectDependencies>true</inspectDependencies>
181             </configuration>
182           </execution>
183         </executions>
184       </plugin>
185     </plugins>
186   </build>
187   <scm>
188     <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
189     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
190     <tag>HEAD</tag>
191     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
192   </scm>
193 </project>

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.