Merge "Resolve Bug:717 - Remove fragment version requirement from config-persister-*"
[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                             !org.codehaus.enunciate.jaxrs
131                         </Import-Package>
132                         <Export-Package>
133                             org.opendaylight.controller.config.yang.md.sal.remote.rpc,
134                             org.opendaylight.controller.sal.connector.remoterpc.util,
135                             org.opendaylight.controller.sal.connector.remoterpc.dto,
136                             org.opendaylight.controller.sal.connector.remoterpc.RemoteRpcClient,
137                             org.opendaylight.controller.sal.connector.remoterpc.RemoteRpcServer,
138                             org.opendaylight.controller.sal.connector.remoterpc.RemoteRpcProvider
139                         </Export-Package>
140                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
141                     </instructions>
142                 </configuration>
143             </plugin>
144            
145
146             <plugin>
147                 <groupId>org.opendaylight.yangtools</groupId>
148                 <artifactId>yang-maven-plugin</artifactId>
149                 <executions>
150                     <execution>
151                         <goals>
152                             <goal>generate-sources</goal>
153                         </goals>
154                         <configuration>
155                             <codeGenerators>
156                                 <generator>
157                                     <codeGeneratorClass>
158                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
159                                     </codeGeneratorClass>
160                                     <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
161                                     <additionalConfiguration>
162                                         <namespaceToPackage1>
163                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
164                                         </namespaceToPackage1>
165                                     </additionalConfiguration>
166                                 </generator>
167                                 <generator>
168                                     <codeGeneratorClass>
169                                         org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
170                                     </codeGeneratorClass>
171                                     <outputBaseDir>
172                                         ${salGeneratorPath}
173                                     </outputBaseDir>
174                                 </generator>
175                                 <generator>
176                                     <codeGeneratorClass>
177                                         org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl
178                                     </codeGeneratorClass>
179                                     <outputBaseDir>target/site/models</outputBaseDir>
180                                 </generator>
181
182                                 <generator>
183                                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
184                                     <outputBaseDir>target/site/models</outputBaseDir>
185                                 </generator>
186                             </codeGenerators>
187                             <inspectDependencies>true</inspectDependencies>
188                         </configuration>
189                     </execution>
190                 </executions>
191                 <dependencies>
192                     <dependency>
193                         <groupId>org.opendaylight.controller</groupId>
194                         <artifactId>yang-jmx-generator-plugin</artifactId>
195                         <version>${yang.jmx.plugin}</version>
196                     </dependency>
197                     <dependency>
198                         <groupId>org.opendaylight.yangtools</groupId>
199                         <artifactId>maven-sal-api-gen-plugin</artifactId>
200                                     <version>${yangtools.version}</version>
201                         <type>jar</type>
202                     </dependency>
203                 </dependencies>
204             </plugin>
205         </plugins>
206     </build>
207 </project>