dea455bfa1a53e3f7c02175c99905747098a9620
[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.sal.binding.dom.*,-->
114                             org.opendaylight.controller.sal.binding.osgi.*,
115                             org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.binding.impl.rev131028
116                         </Private-Package>
117                     </instructions>
118                 </configuration>
119             </plugin>
120             <plugin>
121                 <groupId>org.eclipse.xtend</groupId>
122                 <artifactId>xtend-maven-plugin</artifactId>
123             </plugin>
124             <plugin>
125                 <artifactId>maven-clean-plugin</artifactId>
126             </plugin>
127             <plugin>
128                 <groupId>org.jacoco</groupId>
129                 <artifactId>jacoco-maven-plugin</artifactId>
130                 <configuration>
131                     <includes>org.opendaylight.controller.*</includes>
132                 </configuration>
133                 <executions>
134                     <execution>
135                         <id>pre-test</id>
136                         <goals>
137                             <goal>prepare-agent</goal>
138                         </goals>
139                     </execution>
140                     <execution>
141                         <id>post-test</id>
142                         <phase>test</phase>
143                         <goals>
144                             <goal>report</goal>
145                         </goals>
146                     </execution>
147                 </executions>
148             </plugin>
149
150
151             <plugin>
152                 <groupId>org.apache.maven.plugins</groupId>
153                 <artifactId>maven-jar-plugin</artifactId>
154                 <executions>
155                     <execution>
156                         <goals>
157                             <goal>test-jar</goal>
158                         </goals>
159                     </execution>
160                 </executions>
161             </plugin>
162         </plugins>
163     </build>
164
165     <dependencies>
166         <dependency>
167             <groupId>org.opendaylight.controller</groupId>
168             <artifactId>sal-common-util</artifactId>
169         </dependency>
170         <dependency>
171             <groupId>org.opendaylight.controller</groupId>
172             <artifactId>sal-common-impl</artifactId>
173         </dependency>
174         <dependency>
175             <groupId>org.opendaylight.controller</groupId>
176             <artifactId>sal-binding-api</artifactId>
177         </dependency>
178         <dependency>
179             <groupId>org.opendaylight.controller</groupId>
180             <artifactId>sal-binding-util</artifactId>
181         </dependency>
182         <dependency>
183             <groupId>org.slf4j</groupId>
184             <artifactId>slf4j-api</artifactId>
185         </dependency>
186         <dependency>
187             <groupId>org.osgi</groupId>
188             <artifactId>org.osgi.core</artifactId>
189             <scope>provided</scope>
190         </dependency>
191         <dependency>
192             <groupId>com.google.guava</groupId>
193             <artifactId>guava</artifactId>
194         </dependency>
195         <dependency>
196             <groupId>org.reflections</groupId>
197             <artifactId>reflections</artifactId>
198             <version>0.9.9-RC1</version>
199             <scope>compile</scope>
200         </dependency>
201         <dependency>
202             <groupId>org.javassist</groupId>
203             <artifactId>javassist</artifactId>
204         </dependency>
205         <dependency>
206             <groupId>org.opendaylight.yangtools</groupId>
207             <artifactId>binding-generator-impl</artifactId>
208         </dependency>
209         <dependency>
210             <groupId>org.opendaylight.yangtools</groupId>
211             <artifactId>yang-parser-impl</artifactId>
212             <scope>test</scope>
213         </dependency>
214         <dependency>
215             <groupId>org.opendaylight.controller</groupId>
216             <artifactId>sal-core-api</artifactId>
217         </dependency>
218         <dependency>
219             <groupId>org.opendaylight.controller</groupId>
220             <artifactId>sal-broker-impl</artifactId>
221             <scope>compile</scope>
222         </dependency>
223         <dependency>
224             <groupId>junit</groupId>
225             <artifactId>junit</artifactId>
226             <scope>test</scope>
227         </dependency>
228         <dependency>
229             <groupId>org.mockito</groupId>
230             <artifactId>mockito-all</artifactId>
231             <scope>test</scope>
232         </dependency>
233         <dependency>
234             <groupId>org.eclipse.xtend</groupId>
235             <artifactId>org.eclipse.xtend.lib</artifactId>
236         </dependency>
237         <dependency>
238             <groupId>org.opendaylight.controller</groupId>
239             <artifactId>sal-binding-config</artifactId>
240         </dependency>
241         <dependency>
242             <groupId>org.opendaylight.yangtools</groupId>
243             <artifactId>yang-data-impl</artifactId>
244         </dependency>
245         <dependency>
246             <groupId>org.opendaylight.yangtools</groupId>
247             <artifactId>yang-model-util</artifactId>
248         </dependency>
249         <dependency>
250             <groupId>org.slf4j</groupId>
251             <artifactId>slf4j-simple</artifactId>
252             <version>${slf4j.version}</version>
253             <scope>test</scope>
254         </dependency>
255             <dependency>
256             <groupId>org.opendaylight.yangtools.model</groupId>
257             <artifactId>ietf-inet-types</artifactId>
258         </dependency>
259         <dependency>
260             <groupId>org.opendaylight.yangtools.model</groupId>
261             <artifactId>ietf-topology-l3-unicast-igp</artifactId>
262             <scope>test</scope>
263         </dependency>
264         <dependency>
265             <groupId>org.opendaylight.controller.model</groupId>
266             <artifactId>model-flow-base</artifactId>
267         </dependency>
268         <dependency>
269             <groupId>org.opendaylight.controller.model</groupId>
270             <artifactId>model-flow-service</artifactId>
271         </dependency>
272         <dependency>
273             <groupId>org.opendaylight.controller.model</groupId>
274             <artifactId>model-flow-statistics</artifactId>
275         </dependency>
276     </dependencies>
277 </project>