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