Merge "Snapshot changes"
[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   </dependencies>
109
110   <build>
111     <plugins>
112       <plugin>
113         <groupId>org.apache.felix</groupId>
114         <artifactId>maven-bundle-plugin</artifactId>
115         <extensions>true</extensions>
116         <configuration>
117           <instructions>
118             <Bundle-Name>MD SAL Restconf Connector</Bundle-Name>
119             <Private-Package>org.opendaylight.controller.sal.rest.*,
120               org.opendaylight.controller.sal.restconf.rpc.*,
121               org.opendaylight.controller.sal.restconf.impl,
122               org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.rest.connector.rev140724.*,
123             </Private-Package>
124             <Import-Package>*,
125             com.sun.jersey.spi.container.servlet</Import-Package>
126             <Web-ContextPath>/restconf</Web-ContextPath>
127           </instructions>
128         </configuration>
129       </plugin>
130       <plugin>
131         <groupId>org.opendaylight.yangtools</groupId>
132         <artifactId>yang-maven-plugin</artifactId>
133         <executions>
134           <execution>
135             <id>config</id>
136             <goals>
137               <goal>generate-sources</goal>
138             </goals>
139             <configuration>
140               <codeGenerators>
141                 <generator>
142                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
143                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
144                   <additionalConfiguration>
145                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
146                   </additionalConfiguration>
147                 </generator>
148                 <generator>
149                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
150                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
151                 </generator>
152               </codeGenerators>
153               <inspectDependencies>true</inspectDependencies>
154             </configuration>
155           </execution>
156         </executions>
157       </plugin>
158     </plugins>
159   </build>
160   <scm>
161     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
162     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
163     <tag>HEAD</tag>
164     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
165   </scm>
166 </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.