Merge "Introduction of XSQL"
[controller.git] / opendaylight / md-sal / sal-remoterpc-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-remoterpc-connector</artifactId>
10   <packaging>bundle</packaging>
11
12   <dependencies>
13     <dependency>
14       <groupId>com.google.guava</groupId>
15       <artifactId>guava</artifactId>
16     </dependency>
17
18     <dependency>
19       <groupId>com.typesafe.akka</groupId>
20       <artifactId>akka-actor_${scala.version}</artifactId>
21     </dependency>
22
23     <dependency>
24       <groupId>com.typesafe.akka</groupId>
25       <artifactId>akka-cluster_${scala.version}</artifactId>
26     </dependency>
27
28     <dependency>
29       <groupId>com.typesafe.akka</groupId>
30       <artifactId>akka-remote_${scala.version}</artifactId>
31     </dependency>
32
33     <dependency>
34       <groupId>com.typesafe.akka</groupId>
35       <artifactId>akka-testkit_${scala.version}</artifactId>
36     </dependency>
37
38     <!-- SAL Dependencies -->
39
40     <dependency>
41       <groupId>org.opendaylight.controller</groupId>
42       <artifactId>sal-connector-api</artifactId>
43     </dependency>
44
45     <dependency>
46       <groupId>org.opendaylight.controller</groupId>
47       <artifactId>sal-common-util</artifactId>
48     </dependency>
49
50     <dependency>
51       <groupId>org.opendaylight.controller</groupId>
52       <artifactId>sal-core-api</artifactId>
53     </dependency>
54     <dependency>
55       <groupId>org.opendaylight.controller</groupId>
56       <artifactId>netconf-util</artifactId>
57     </dependency>
58
59     <!-- Yang tools-->
60
61     <dependency>
62       <groupId>org.opendaylight.yangtools</groupId>
63       <artifactId>yang-data-api</artifactId>
64     </dependency>
65
66     <dependency>
67       <groupId>org.opendaylight.yangtools</groupId>
68       <artifactId>yang-data-impl</artifactId>
69     </dependency>
70
71     <dependency>
72       <groupId>org.opendaylight.yangtools</groupId>
73       <artifactId>yang-common</artifactId>
74     </dependency>
75
76
77     <dependency>
78       <groupId>org.osgi</groupId>
79       <artifactId>org.osgi.core</artifactId>
80     </dependency>
81
82     <dependency>
83       <groupId>org.slf4j</groupId>
84       <artifactId>slf4j-api</artifactId>
85     </dependency>
86
87     <dependency>
88       <groupId>org.scala-lang</groupId>
89       <artifactId>scala-library</artifactId>
90     </dependency>
91
92     <!-- Test Dependencies -->
93     <dependency>
94       <groupId>junit</groupId>
95       <artifactId>junit</artifactId>
96       <scope>test</scope>
97     </dependency>
98     <dependency>
99       <groupId>org.mockito</groupId>
100       <artifactId>mockito-all</artifactId>
101       <scope>test</scope>
102     </dependency>
103
104     <dependency>
105       <groupId>org.slf4j</groupId>
106       <artifactId>slf4j-simple</artifactId>
107       <version>${slf4j.version}</version>
108       <scope>test</scope>
109     </dependency>
110
111   </dependencies>
112
113   <build>
114     <plugins>
115
116       <plugin>
117         <groupId>org.apache.felix</groupId>
118         <artifactId>maven-bundle-plugin</artifactId>
119         <extensions>true</extensions>
120         <configuration>
121           <instructions>
122             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
123             <Export-package></Export-package>
124             <Private-Package></Private-Package>
125             <Import-Package>!org.jboss.*;!com.jcraft.*;*</Import-Package>
126             <Embed-Dependency>
127                 !sal*;
128                 !*config-api*;
129                 !*testkit*;
130                 *protobuf*;
131                 akka*;
132                 *scala*;
133                 *config*;
134                 *netty*;
135                 *uncommons*;
136             </Embed-Dependency>
137             <Embed-Transitive>true</Embed-Transitive>
138           </instructions>
139         </configuration>
140       </plugin>
141       <plugin>
142         <groupId>org.opendaylight.yangtools</groupId>
143         <artifactId>yang-maven-plugin</artifactId>
144         <executions>
145           <execution>
146             <id>config</id>
147             <goals>
148               <goal>generate-sources</goal>
149             </goals>
150             <configuration>
151               <codeGenerators>
152                 <generator>
153                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
154                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
155                   <additionalConfiguration>
156                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
157                   </additionalConfiguration>
158                 </generator>
159                 <generator>
160                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
161                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
162                 </generator>
163               </codeGenerators>
164               <inspectDependencies>true</inspectDependencies>
165             </configuration>
166           </execution>
167         </executions>
168       </plugin>
169     </plugins>
170   </build>
171   <scm>
172     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
173     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
174     <tag>HEAD</tag>
175     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Architecture:Clustering</url>
176   </scm>
177 </project>