Merge "Resolve Bug:707 - ConfigPusher should wait for netconf-impl to register JMX...
[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>${jmxGeneratorPath}</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.apache.felix</groupId>
77                 <artifactId>maven-bundle-plugin</artifactId>
78                 <extensions>true</extensions>
79                 <configuration>
80                     <instructions>
81                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
82                         <Export-package>
83                             org.opendaylight.controller.sal.binding.spi.*,
84                         </Export-package>
85                         <Private-Package>
86                             org.opendaylight.controller.config.yang.md.sal.binding.impl,
87                             org.opendaylight.controller.sal.binding.impl,
88                             org.opendaylight.controller.sal.binding.impl.*,
89                             org.opendaylight.controller.sal.binding.codegen,
90                             org.opendaylight.controller.sal.binding.codegen.*,
91                             org.opendaylight.controller.md.sal.binding.impl,
92                             <!--org.opendaylight.controller.sal.binding.dom.*,-->
93                             org.opendaylight.controller.sal.binding.osgi.*,
94                             org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.binding.impl.rev131028
95                         </Private-Package>
96                     </instructions>
97                 </configuration>
98             </plugin>
99             <plugin>
100                 <groupId>org.eclipse.xtend</groupId>
101                 <artifactId>xtend-maven-plugin</artifactId>
102             </plugin>
103             <plugin>
104                 <groupId>org.jacoco</groupId>
105                 <artifactId>jacoco-maven-plugin</artifactId>
106                 <configuration>
107                     <includes>org.opendaylight.controller.*</includes>
108                 </configuration>
109                 <executions>
110                     <execution>
111                         <id>pre-test</id>
112                         <goals>
113                             <goal>prepare-agent</goal>
114                         </goals>
115                     </execution>
116                     <execution>
117                         <id>post-test</id>
118                         <phase>test</phase>
119                         <goals>
120                             <goal>report</goal>
121                         </goals>
122                     </execution>
123                 </executions>
124             </plugin>
125
126
127             <plugin>
128                 <groupId>org.apache.maven.plugins</groupId>
129                 <artifactId>maven-jar-plugin</artifactId>
130                 <executions>
131                     <execution>
132                         <goals>
133                             <goal>test-jar</goal>
134                         </goals>
135                     </execution>
136                 </executions>
137             </plugin>
138         </plugins>
139     </build>
140
141     <dependencies>
142         <dependency>
143             <groupId>org.opendaylight.controller</groupId>
144             <artifactId>sal-common-util</artifactId>
145         </dependency>
146         <dependency>
147             <groupId>org.opendaylight.controller</groupId>
148             <artifactId>sal-common-impl</artifactId>
149         </dependency>
150         <dependency>
151             <groupId>org.opendaylight.controller</groupId>
152             <artifactId>sal-binding-api</artifactId>
153         </dependency>
154         <dependency>
155             <groupId>org.opendaylight.controller</groupId>
156             <artifactId>sal-binding-util</artifactId>
157         </dependency>
158         <dependency>
159             <groupId>org.slf4j</groupId>
160             <artifactId>slf4j-api</artifactId>
161         </dependency>
162         <dependency>
163             <groupId>org.osgi</groupId>
164             <artifactId>org.osgi.core</artifactId>
165             <scope>provided</scope>
166         </dependency>
167         <dependency>
168             <groupId>com.google.guava</groupId>
169             <artifactId>guava</artifactId>
170         </dependency>
171         <dependency>
172             <groupId>org.reflections</groupId>
173             <artifactId>reflections</artifactId>
174             <version>0.9.9-RC1</version>
175             <scope>compile</scope>
176         </dependency>
177         <dependency>
178             <groupId>org.javassist</groupId>
179             <artifactId>javassist</artifactId>
180         </dependency>
181         <dependency>
182             <groupId>org.opendaylight.yangtools</groupId>
183             <artifactId>binding-generator-impl</artifactId>
184         </dependency>
185         <dependency>
186             <groupId>org.opendaylight.yangtools</groupId>
187             <artifactId>yang-parser-impl</artifactId>
188             <scope>test</scope>
189         </dependency>
190         <dependency>
191             <groupId>org.opendaylight.controller</groupId>
192             <artifactId>sal-core-api</artifactId>
193         </dependency>
194         <dependency>
195             <groupId>org.opendaylight.controller</groupId>
196             <artifactId>sal-broker-impl</artifactId>
197             <scope>compile</scope>
198         </dependency>
199         <dependency>
200             <groupId>junit</groupId>
201             <artifactId>junit</artifactId>
202             <scope>test</scope>
203         </dependency>
204         <dependency>
205             <groupId>org.mockito</groupId>
206             <artifactId>mockito-all</artifactId>
207             <scope>test</scope>
208         </dependency>
209         <dependency>
210             <groupId>org.eclipse.xtend</groupId>
211             <artifactId>org.eclipse.xtend.lib</artifactId>
212         </dependency>
213         <dependency>
214             <groupId>org.opendaylight.controller</groupId>
215             <artifactId>sal-binding-config</artifactId>
216         </dependency>
217         <dependency>
218             <groupId>org.opendaylight.yangtools</groupId>
219             <artifactId>yang-data-impl</artifactId>
220         </dependency>
221         <dependency>
222             <groupId>org.opendaylight.yangtools</groupId>
223             <artifactId>yang-model-util</artifactId>
224         </dependency>
225         <dependency>
226             <groupId>org.slf4j</groupId>
227             <artifactId>slf4j-simple</artifactId>
228             <version>${slf4j.version}</version>
229             <scope>test</scope>
230         </dependency>
231             <dependency>
232             <groupId>org.opendaylight.yangtools.model</groupId>
233             <artifactId>ietf-inet-types</artifactId>
234         </dependency>
235         <dependency>
236             <groupId>org.opendaylight.yangtools.model</groupId>
237             <artifactId>ietf-topology-l3-unicast-igp</artifactId>
238             <scope>test</scope>
239         </dependency>
240         <dependency>
241             <groupId>org.opendaylight.controller.model</groupId>
242             <artifactId>model-flow-base</artifactId>
243         </dependency>
244         <dependency>
245             <groupId>org.opendaylight.controller.model</groupId>
246             <artifactId>model-flow-service</artifactId>
247         </dependency>
248         <dependency>
249             <groupId>org.opendaylight.controller.model</groupId>
250             <artifactId>model-flow-statistics</artifactId>
251         </dependency>
252     </dependencies>
253 </project>