Merge "Add a container for pass-through netconf access"
[controller.git] / opendaylight / md-sal / sal-remoterpc-connector / implementation / 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"
3     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4     <modelVersion>4.0.0</modelVersion>
5     <parent>
6         <groupId>org.opendaylight.controller</groupId>
7         <artifactId>sal-parent</artifactId>
8         <relativePath>../..</relativePath>
9         <version>1.1-SNAPSHOT</version>
10     </parent>
11
12     <artifactId>sal-remoterpc-connector</artifactId>
13     <packaging>bundle</packaging>
14
15   <properties>
16     <zeromq.version>0.3.1</zeromq.version>
17     <stax.version>1.0.1</stax.version>
18     <yang.jmx.plugin>0.2.4-SNAPSHOT</yang.jmx.plugin>
19   </properties>
20
21   <dependencies>
22     <!-- MD Sal interdependencies -->
23     <dependency>
24       <groupId>${project.groupId}</groupId>
25       <artifactId>sal-core-api</artifactId>
26       <version>${project.version}</version>
27     </dependency>
28     <dependency>
29       <groupId>${project.groupId}</groupId>
30       <artifactId>sal-connector-api</artifactId>
31       <version>${project.version}</version>
32     </dependency>
33     <dependency>
34       <groupId>${project.groupId}</groupId>
35       <artifactId>sal-common-util</artifactId>
36       <version>${project.version}</version>
37     </dependency>
38     <dependency>
39       <groupId>org.opendaylight.controller</groupId>
40       <artifactId>remoterpc-routingtable.implementation</artifactId>
41       <version>${project.version}</version>
42     </dependency>
43
44     <!-- AD Sal -->
45     <dependency>
46       <groupId>org.opendaylight.controller</groupId>
47       <artifactId>sal</artifactId>
48     </dependency>
49
50     <!-- Yang tools -->
51     <dependency>
52       <groupId>org.opendaylight.yangtools</groupId>
53       <artifactId>yang-common</artifactId>
54     </dependency>
55     <dependency>
56       <groupId>org.opendaylight.yangtools</groupId>
57       <artifactId>yang-data-api</artifactId>
58     </dependency>
59     <dependency>
60       <groupId>org.opendaylight.yangtools</groupId>
61       <artifactId>yang-data-impl</artifactId>
62     </dependency>
63
64     <!-- Third Party -->
65     <dependency>
66       <groupId>org.osgi</groupId>
67       <artifactId>org.osgi.core</artifactId>
68     </dependency>
69     <dependency>
70       <groupId>org.zeromq</groupId>
71       <artifactId>jeromq</artifactId>
72       <version>${zeromq.version}</version>
73     </dependency>
74     <dependency>
75       <groupId>com.google.guava</groupId>
76       <artifactId>guava</artifactId>
77     </dependency>
78     <dependency>
79       <groupId> org.slf4j</groupId>
80       <artifactId>slf4j-api</artifactId>
81     </dependency>
82     <dependency>
83       <groupId> ch.qos.logback</groupId>
84       <artifactId>logback-classic</artifactId>
85       <scope>test</scope>
86     </dependency>
87     <dependency>
88       <groupId>com.fasterxml.jackson.core</groupId>
89       <artifactId>jackson-annotations</artifactId>
90     </dependency>
91
92     <dependency>
93       <groupId>com.fasterxml.jackson.core</groupId>
94       <artifactId>jackson-core</artifactId>
95     </dependency>
96
97     <dependency>
98       <groupId>com.fasterxml.jackson.core</groupId>
99       <artifactId>jackson-databind</artifactId>
100     </dependency>
101
102     <dependency>
103       <groupId>stax</groupId>
104       <artifactId>stax-api</artifactId>
105       <version>${stax.version}</version>
106     </dependency>
107
108     <!-- Tests -->
109     <dependency>
110       <groupId>junit</groupId>
111       <artifactId>junit</artifactId>
112     </dependency>
113     <dependency>
114       <groupId>org.mockito</groupId>
115       <artifactId>mockito-all</artifactId>
116     </dependency>
117   </dependencies>
118
119
120     <build>
121         <plugins>
122             <plugin>
123                 <groupId>org.apache.felix</groupId>
124                 <artifactId>maven-bundle-plugin</artifactId>
125                 <extensions>true</extensions>
126                 <configuration>
127                     <instructions>
128                         <Import-Package>
129                             *,
130                             com.google.common.collect,
131                             !org.codehaus.enunciate.jaxrs
132                         </Import-Package>
133                         <Export-Package>
134                             org.opendaylight.controller.config.yang.md.sal.remote.rpc,
135                             org.opendaylight.controller.sal.connector.remoterpc.util,
136                             org.opendaylight.controller.sal.connector.remoterpc.dto,
137                             org.opendaylight.controller.sal.connector.remoterpc.RemoteRpcClient,
138                             org.opendaylight.controller.sal.connector.remoterpc.RemoteRpcServer,
139                             org.opendaylight.controller.sal.connector.remoterpc.RemoteRpcProvider
140                         </Export-Package>
141                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
142                     </instructions>
143                 </configuration>
144             </plugin>
145            
146
147             <plugin>
148                 <groupId>org.opendaylight.yangtools</groupId>
149                 <artifactId>yang-maven-plugin</artifactId>
150                 <executions>
151                     <execution>
152                         <goals>
153                             <goal>generate-sources</goal>
154                         </goals>
155                         <configuration>
156                             <codeGenerators>
157                                 <generator>
158                                     <codeGeneratorClass>
159                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
160                                     </codeGeneratorClass>
161                                     <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
162                                     <additionalConfiguration>
163                                         <namespaceToPackage1>
164                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
165                                         </namespaceToPackage1>
166                                     </additionalConfiguration>
167                                 </generator>
168                                 <generator>
169                                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
170                                     <outputBaseDir>target/site/models</outputBaseDir>
171                                 </generator>
172                             </codeGenerators>
173                             <inspectDependencies>true</inspectDependencies>
174                         </configuration>
175                     </execution>
176                 </executions>
177                 <dependencies>
178                     <dependency>
179                         <groupId>org.opendaylight.controller</groupId>
180                         <artifactId>yang-jmx-generator-plugin</artifactId>
181                         <version>${yang.jmx.plugin}</version>
182                     </dependency>
183                     <dependency>
184                         <groupId>org.opendaylight.yangtools</groupId>
185                         <artifactId>maven-sal-api-gen-plugin</artifactId>
186                                     <version>${yangtools.version}</version>
187                         <type>jar</type>
188                     </dependency>
189                 </dependencies>
190             </plugin>
191         </plugins>
192     </build>
193 </project>