Use version 0.6.0-SNAPSHOT of yangtools everywhere in controller.
[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"
2     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.0-SNAPSHOT</version>
8     </parent>
9     <artifactId>sal-binding-broker-impl</artifactId>
10     <packaging>bundle</packaging>
11     <scm>
12         <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
13         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
14         <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
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.3-SNAPSHOT</version>
55                     </dependency>
56                     <dependency>
57                         <groupId>org.opendaylight.yangtools</groupId>
58                         <artifactId>maven-sal-api-gen-plugin</artifactId>
59                         <version>0.6.0-SNAPSHOT</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                         </goals>
76                         <configuration>
77                             <sources>
78                                 <source>${project.build.directory}/generated-sources/config</source>
79                             </sources>
80                         </configuration>
81                     </execution>
82                 </executions>
83             </plugin>
84             <plugin>
85                 <groupId>org.apache.felix</groupId>
86                 <artifactId>maven-bundle-plugin</artifactId>
87                 <extensions>true</extensions>
88                 <configuration>
89                     <instructions>
90                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
91                         <Export-package>
92                             org.opendaylight.controller.sal.binding.spi.*,
93                         </Export-package>
94                         <Private-Package>
95                             org.opendaylight.controller.config.yang.md.sal.binding.impl,
96                             org.opendaylight.controller.sal.binding.impl,
97                             org.opendaylight.controller.sal.binding.impl.*,
98                             org.opendaylight.controller.sal.binding.codegen,
99                             org.opendaylight.controller.sal.binding.codegen.*,
100                             org.opendaylight.controller.sal.binding.dom.*,
101                         </Private-Package>
102                     </instructions>
103                 </configuration>
104             </plugin>
105             <plugin>
106                 <groupId>org.eclipse.xtend</groupId>
107                 <artifactId>xtend-maven-plugin</artifactId>
108             </plugin>
109             <plugin>
110                 <artifactId>maven-clean-plugin</artifactId>
111             </plugin>
112             <plugin>
113                 <groupId>org.jacoco</groupId>
114                 <artifactId>jacoco-maven-plugin</artifactId>
115                 <configuration>
116                     <includes>org.opendaylight.controller.*</includes>
117                 </configuration>
118                 <executions>
119                     <execution>
120                         <id>pre-test</id>
121                         <goals>
122                             <goal>prepare-agent</goal>
123                         </goals>
124                     </execution>
125                     <execution>
126                         <id>post-test</id>
127                         <phase>test</phase>
128                         <goals>
129                             <goal>report</goal>
130                         </goals>
131                     </execution>
132                 </executions>
133             </plugin>
134
135
136             <plugin>
137                 <groupId>org.apache.maven.plugins</groupId>
138                 <artifactId>maven-jar-plugin</artifactId>
139                 <executions>
140                     <execution>
141                         <goals>
142                             <goal>test-jar</goal>
143                         </goals>
144                     </execution>
145                 </executions>
146             </plugin>
147         </plugins>
148     </build>
149
150     <dependencies>
151         <dependency>
152             <groupId>org.opendaylight.controller</groupId>
153             <artifactId>sal-common-util</artifactId>
154             <version>1.0-SNAPSHOT</version>
155         </dependency>
156         <dependency>
157             <groupId>org.opendaylight.controller</groupId>
158             <artifactId>sal-common-impl</artifactId>
159             <version>1.0-SNAPSHOT</version>
160         </dependency>
161         <dependency>
162             <groupId>org.opendaylight.controller</groupId>
163             <artifactId>sal-binding-api</artifactId>
164             <version>1.0-SNAPSHOT</version>
165         </dependency>
166         <dependency>
167             <groupId>org.opendaylight.controller</groupId>
168             <artifactId>sal-binding-util</artifactId>
169             <version>1.0-SNAPSHOT</version>
170         </dependency>
171         <dependency>
172             <groupId>org.slf4j</groupId>
173             <artifactId>slf4j-api</artifactId>
174         </dependency>
175         <dependency>
176             <groupId>org.osgi</groupId>
177             <artifactId>org.osgi.core</artifactId>
178             <version>${osgi.core.version}</version>
179             <scope>provided</scope>
180         </dependency>
181         <dependency>
182             <groupId>com.google.guava</groupId>
183             <artifactId>guava</artifactId>
184         </dependency>
185         <dependency>
186             <groupId>org.reflections</groupId>
187             <artifactId>reflections</artifactId>
188             <version>0.9.9-RC1</version>
189             <scope>compile</scope>
190         </dependency>
191         <dependency>
192             <groupId>org.javassist</groupId>
193             <artifactId>javassist</artifactId>
194             <version>3.17.1-GA</version>
195         </dependency>
196         <dependency>
197             <groupId>org.opendaylight.yangtools</groupId>
198             <artifactId>binding-generator-impl</artifactId>
199         </dependency>
200         <dependency>
201             <groupId>org.opendaylight.yangtools</groupId>
202             <artifactId>yang-parser-impl</artifactId>
203             <scope>test</scope>
204         </dependency>
205         <dependency>
206             <groupId>org.opendaylight.controller</groupId>
207             <artifactId>sal-core-api</artifactId>
208             <version>1.0-SNAPSHOT</version>
209         </dependency>
210         <dependency>
211             <groupId>org.opendaylight.controller</groupId>
212             <artifactId>sal-broker-impl</artifactId>
213             <version>1.0-SNAPSHOT</version>
214             <scope>runtime</scope>
215         </dependency>
216         <dependency>
217             <groupId>junit</groupId>
218             <artifactId>junit</artifactId>
219             <scope>test</scope>
220         </dependency>
221         <dependency>
222             <groupId>org.mockito</groupId>
223             <artifactId>mockito-all</artifactId>
224             <scope>test</scope>
225         </dependency>
226         <dependency>
227             <groupId>org.eclipse.xtend</groupId>
228             <artifactId>org.eclipse.xtend.lib</artifactId>
229         </dependency>
230         <dependency>
231             <groupId>org.opendaylight.controller</groupId>
232             <artifactId>sal-binding-config</artifactId>
233             <version>1.0-SNAPSHOT</version>
234         </dependency>
235         <dependency>
236             <groupId>org.opendaylight.yangtools</groupId>
237             <artifactId>yang-data-impl</artifactId>
238         </dependency>
239         <dependency>
240             <groupId>org.opendaylight.yangtools</groupId>
241             <artifactId>yang-model-util</artifactId>
242         </dependency>
243         <dependency>
244             <groupId>org.slf4j</groupId>
245             <artifactId>slf4j-simple</artifactId>
246             <version>${slf4j.version}</version>
247             <scope>test</scope>
248         </dependency>
249             <dependency>
250             <groupId>org.opendaylight.yangtools.model</groupId>
251             <artifactId>ietf-inet-types</artifactId>
252             <version>2010.09.24.2-SNAPSHOT</version>
253         </dependency>
254         <dependency>
255         <groupId>org.opendaylight.yangtools.model</groupId>
256         <artifactId>ietf-topology-l3-unicast-igp</artifactId>
257         <version>2013.10.21.0-SNAPSHOT</version>
258         <scope>test</scope>
259         </dependency>
260         <dependency>
261                 <groupId>org.opendaylight.controller.model</groupId>
262                 <artifactId>model-flow-base</artifactId>
263                 <version>1.0-SNAPSHOT</version>
264         </dependency>
265         <dependency>
266                 <groupId>org.opendaylight.controller.model</groupId>
267                 <artifactId>model-flow-service</artifactId>
268                 <version>1.0-SNAPSHOT</version>
269         </dependency>
270         <dependency>
271                 <groupId>org.opendaylight.controller.model</groupId>
272                 <artifactId>model-flow-statistics</artifactId>
273                 <version>1.0-SNAPSHOT</version>
274         </dependency>
275     </dependencies>
276 </project>