Merge "BUG-421: Define multipart-transaction-aware"
[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         </dependency>
160         <dependency>
161             <groupId>org.opendaylight.controller</groupId>
162             <artifactId>sal-common-impl</artifactId>
163         </dependency>
164         <dependency>
165             <groupId>org.opendaylight.controller</groupId>
166             <artifactId>sal-binding-api</artifactId>
167         </dependency>
168         <dependency>
169             <groupId>org.opendaylight.controller</groupId>
170             <artifactId>sal-binding-util</artifactId>
171         </dependency>
172         <dependency>
173             <groupId>org.slf4j</groupId>
174             <artifactId>slf4j-api</artifactId>
175         </dependency>
176         <dependency>
177             <groupId>org.osgi</groupId>
178             <artifactId>org.osgi.core</artifactId>
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         </dependency>
195         <dependency>
196             <groupId>org.opendaylight.yangtools</groupId>
197             <artifactId>binding-generator-impl</artifactId>
198         </dependency>
199         <dependency>
200             <groupId>org.opendaylight.yangtools</groupId>
201             <artifactId>yang-parser-impl</artifactId>
202             <scope>test</scope>
203         </dependency>
204         <dependency>
205             <groupId>org.opendaylight.controller</groupId>
206             <artifactId>sal-core-api</artifactId>
207         </dependency>
208         <dependency>
209             <groupId>org.opendaylight.controller</groupId>
210             <artifactId>sal-broker-impl</artifactId>
211             <scope>compile</scope>
212         </dependency>
213         <dependency>
214             <groupId>junit</groupId>
215             <artifactId>junit</artifactId>
216             <scope>test</scope>
217         </dependency>
218         <dependency>
219             <groupId>org.mockito</groupId>
220             <artifactId>mockito-all</artifactId>
221             <scope>test</scope>
222         </dependency>
223         <dependency>
224             <groupId>org.eclipse.xtend</groupId>
225             <artifactId>org.eclipse.xtend.lib</artifactId>
226         </dependency>
227         <dependency>
228             <groupId>org.opendaylight.controller</groupId>
229             <artifactId>sal-binding-config</artifactId>
230         </dependency>
231         <dependency>
232             <groupId>org.opendaylight.yangtools</groupId>
233             <artifactId>yang-data-impl</artifactId>
234         </dependency>
235         <dependency>
236             <groupId>org.opendaylight.yangtools</groupId>
237             <artifactId>yang-model-util</artifactId>
238         </dependency>
239         <dependency>
240             <groupId>org.slf4j</groupId>
241             <artifactId>slf4j-simple</artifactId>
242             <version>${slf4j.version}</version>
243             <scope>test</scope>
244         </dependency>
245             <dependency>
246             <groupId>org.opendaylight.yangtools.model</groupId>
247             <artifactId>ietf-inet-types</artifactId>
248         </dependency>
249         <dependency>
250             <groupId>org.opendaylight.yangtools.model</groupId>
251             <artifactId>ietf-topology-l3-unicast-igp</artifactId>
252             <scope>test</scope>
253         </dependency>
254         <dependency>
255             <groupId>org.opendaylight.controller.model</groupId>
256             <artifactId>model-flow-base</artifactId>
257         </dependency>
258         <dependency>
259             <groupId>org.opendaylight.controller.model</groupId>
260             <artifactId>model-flow-service</artifactId>
261         </dependency>
262         <dependency>
263             <groupId>org.opendaylight.controller.model</groupId>
264             <artifactId>model-flow-statistics</artifactId>
265         </dependency>
266     </dependencies>
267 </project>