Merge "Bug 510: Implementation of Forwarded Binding Data Broker"
[controller.git] / opendaylight / md-sal / sal-binding-broker / pom.xml
1 <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">
2     <modelVersion>4.0.0</modelVersion>
3     <parent>
4         <groupId>org.opendaylight.controller</groupId>
5         <artifactId>sal-parent</artifactId>
6         <version>1.1-SNAPSHOT</version>
7     </parent>
8     <artifactId>sal-binding-broker-impl</artifactId>
9     <packaging>bundle</packaging>
10     <scm>
11         <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
12         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
13         <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
14       <tag>HEAD</tag>
15   </scm>
16
17     <build>
18         <plugins>
19             <plugin>
20                 <groupId>org.opendaylight.yangtools</groupId>
21                 <artifactId>yang-maven-plugin</artifactId>
22                 <executions>
23                     <execution>
24                         <goals>
25                             <goal>generate-sources</goal>
26                         </goals>
27                         <configuration>
28                             <codeGenerators>
29                                 <generator>
30                                     <codeGeneratorClass>
31                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
32                                     </codeGeneratorClass>
33                                     <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
34                                     <additionalConfiguration>
35                                         <namespaceToPackage1>
36                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
37                                         </namespaceToPackage1>
38                                     </additionalConfiguration>
39                                 </generator>
40
41                                 <generator>
42                                     <codeGeneratorClass>
43                                         org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
44                                     </codeGeneratorClass>
45                                     <outputBaseDir>
46                                         ${salGeneratorPath}
47                                     </outputBaseDir>
48                                 </generator>
49
50
51                                 <generator>
52                                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
53                                     <outputBaseDir>target/site/models</outputBaseDir>
54                                 </generator>
55                             </codeGenerators>
56                             <inspectDependencies>true</inspectDependencies>
57                         </configuration>
58                     </execution>
59                 </executions>
60                 <dependencies>
61                     <dependency>
62                         <groupId>org.opendaylight.controller</groupId>
63                         <artifactId>yang-jmx-generator-plugin</artifactId>
64                         <version>${config.version}</version>
65                     </dependency>
66                     <dependency>
67                         <groupId>org.opendaylight.yangtools</groupId>
68                         <artifactId>maven-sal-api-gen-plugin</artifactId>
69                         <version>${yangtools.version}</version>
70                         <type>jar</type>
71                     </dependency>
72                 </dependencies>
73             </plugin>
74
75             <plugin>
76                 <groupId>org.codehaus.mojo</groupId>
77                 <artifactId>build-helper-maven-plugin</artifactId>
78                 <version>1.8</version>
79                 <executions>
80                     <execution>
81                         <id>add-source</id>
82                         <phase>generate-sources</phase>
83                         <goals>
84                             <goal>add-source</goal>
85
86
87                         </goals>
88                         <configuration>
89                             <sources>
90                                 <source>${project.build.directory}/generated-sources/config</source>
91                                 <source>src/main/xtend-gen</source>
92                             </sources>
93                         </configuration>
94                     </execution>
95                 </executions>
96             </plugin>
97             <plugin>
98                 <groupId>org.apache.felix</groupId>
99                 <artifactId>maven-bundle-plugin</artifactId>
100                 <extensions>true</extensions>
101                 <configuration>
102                     <instructions>
103                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
104                         <Export-package>
105                             org.opendaylight.controller.sal.binding.spi.*,
106                         </Export-package>
107                         <Private-Package>
108                             org.opendaylight.controller.config.yang.md.sal.binding.impl,
109                             org.opendaylight.controller.sal.binding.impl,
110                             org.opendaylight.controller.sal.binding.impl.*,
111                             org.opendaylight.controller.sal.binding.codegen,
112                             org.opendaylight.controller.sal.binding.codegen.*,
113                             org.opendaylight.controller.md.sal.binding.impl,
114                             <!--org.opendaylight.controller.sal.binding.dom.*,-->
115                             org.opendaylight.controller.sal.binding.osgi.*,
116                             org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.binding.impl.rev131028
117                         </Private-Package>
118                     </instructions>
119                 </configuration>
120             </plugin>
121             <plugin>
122                 <groupId>org.eclipse.xtend</groupId>
123                 <artifactId>xtend-maven-plugin</artifactId>
124             </plugin>
125             <plugin>
126                 <artifactId>maven-clean-plugin</artifactId>
127             </plugin>
128             <plugin>
129                 <groupId>org.jacoco</groupId>
130                 <artifactId>jacoco-maven-plugin</artifactId>
131                 <configuration>
132                     <includes>org.opendaylight.controller.*</includes>
133                 </configuration>
134                 <executions>
135                     <execution>
136                         <id>pre-test</id>
137                         <goals>
138                             <goal>prepare-agent</goal>
139                         </goals>
140                     </execution>
141                     <execution>
142                         <id>post-test</id>
143                         <phase>test</phase>
144                         <goals>
145                             <goal>report</goal>
146                         </goals>
147                     </execution>
148                 </executions>
149             </plugin>
150
151
152             <plugin>
153                 <groupId>org.apache.maven.plugins</groupId>
154                 <artifactId>maven-jar-plugin</artifactId>
155                 <executions>
156                     <execution>
157                         <goals>
158                             <goal>test-jar</goal>
159                         </goals>
160                     </execution>
161                 </executions>
162             </plugin>
163         </plugins>
164     </build>
165
166     <dependencies>
167         <dependency>
168             <groupId>org.opendaylight.controller</groupId>
169             <artifactId>sal-common-util</artifactId>
170         </dependency>
171         <dependency>
172             <groupId>org.opendaylight.controller</groupId>
173             <artifactId>sal-common-impl</artifactId>
174         </dependency>
175         <dependency>
176             <groupId>org.opendaylight.controller</groupId>
177             <artifactId>sal-binding-api</artifactId>
178         </dependency>
179         <dependency>
180             <groupId>org.opendaylight.controller</groupId>
181             <artifactId>sal-binding-util</artifactId>
182         </dependency>
183         <dependency>
184             <groupId>org.slf4j</groupId>
185             <artifactId>slf4j-api</artifactId>
186         </dependency>
187         <dependency>
188             <groupId>org.osgi</groupId>
189             <artifactId>org.osgi.core</artifactId>
190             <scope>provided</scope>
191         </dependency>
192         <dependency>
193             <groupId>com.google.guava</groupId>
194             <artifactId>guava</artifactId>
195         </dependency>
196         <dependency>
197             <groupId>org.reflections</groupId>
198             <artifactId>reflections</artifactId>
199             <version>0.9.9-RC1</version>
200             <scope>compile</scope>
201         </dependency>
202         <dependency>
203             <groupId>org.javassist</groupId>
204             <artifactId>javassist</artifactId>
205         </dependency>
206         <dependency>
207             <groupId>org.opendaylight.yangtools</groupId>
208             <artifactId>binding-generator-impl</artifactId>
209         </dependency>
210         <dependency>
211             <groupId>org.opendaylight.yangtools</groupId>
212             <artifactId>yang-parser-impl</artifactId>
213             <scope>test</scope>
214         </dependency>
215         <dependency>
216             <groupId>org.opendaylight.controller</groupId>
217             <artifactId>sal-core-api</artifactId>
218         </dependency>
219         <dependency>
220             <groupId>org.opendaylight.controller</groupId>
221             <artifactId>sal-broker-impl</artifactId>
222             <scope>compile</scope>
223         </dependency>
224         <dependency>
225             <groupId>junit</groupId>
226             <artifactId>junit</artifactId>
227             <scope>test</scope>
228         </dependency>
229         <dependency>
230             <groupId>org.mockito</groupId>
231             <artifactId>mockito-all</artifactId>
232             <scope>test</scope>
233         </dependency>
234         <dependency>
235             <groupId>org.eclipse.xtend</groupId>
236             <artifactId>org.eclipse.xtend.lib</artifactId>
237         </dependency>
238         <dependency>
239             <groupId>org.opendaylight.controller</groupId>
240             <artifactId>sal-binding-config</artifactId>
241         </dependency>
242         <dependency>
243             <groupId>org.opendaylight.yangtools</groupId>
244             <artifactId>yang-data-impl</artifactId>
245         </dependency>
246         <dependency>
247             <groupId>org.opendaylight.yangtools</groupId>
248             <artifactId>yang-model-util</artifactId>
249         </dependency>
250         <dependency>
251             <groupId>org.slf4j</groupId>
252             <artifactId>slf4j-simple</artifactId>
253             <version>${slf4j.version}</version>
254             <scope>test</scope>
255         </dependency>
256             <dependency>
257             <groupId>org.opendaylight.yangtools.model</groupId>
258             <artifactId>ietf-inet-types</artifactId>
259         </dependency>
260         <dependency>
261             <groupId>org.opendaylight.yangtools.model</groupId>
262             <artifactId>ietf-topology-l3-unicast-igp</artifactId>
263             <scope>test</scope>
264         </dependency>
265         <dependency>
266             <groupId>org.opendaylight.controller.model</groupId>
267             <artifactId>model-flow-base</artifactId>
268         </dependency>
269         <dependency>
270             <groupId>org.opendaylight.controller.model</groupId>
271             <artifactId>model-flow-service</artifactId>
272         </dependency>
273         <dependency>
274             <groupId>org.opendaylight.controller.model</groupId>
275             <artifactId>model-flow-statistics</artifactId>
276         </dependency>
277     </dependencies>
278 </project>