1cf0f7f097cf057434d3ebc8b2cac2226ac90259
[controller.git] / opendaylight / md-sal / sal-binding-broker / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3   <modelVersion>4.0.0</modelVersion>
4   <parent>
5     <groupId>org.opendaylight.controller</groupId>
6     <artifactId>sal-parent</artifactId>
7     <version>1.2.0-SNAPSHOT</version>
8   </parent>
9   <artifactId>sal-binding-broker-impl</artifactId>
10   <packaging>bundle</packaging>
11
12   <dependencies>
13     <dependency>
14       <groupId>com.google.guava</groupId>
15       <artifactId>guava</artifactId>
16     </dependency>
17     <dependency>
18       <groupId>org.javassist</groupId>
19       <artifactId>javassist</artifactId>
20     </dependency>
21     <dependency>
22       <groupId>org.opendaylight.controller</groupId>
23       <artifactId>sal-binding-api</artifactId>
24     </dependency>
25     <dependency>
26       <groupId>org.opendaylight.controller</groupId>
27       <artifactId>sal-binding-config</artifactId>
28     </dependency>
29     <dependency>
30       <groupId>org.opendaylight.controller</groupId>
31       <artifactId>sal-binding-util</artifactId>
32     </dependency>
33     <dependency>
34       <groupId>org.opendaylight.controller</groupId>
35       <artifactId>sal-broker-impl</artifactId>
36       <scope>compile</scope>
37     </dependency>
38     <dependency>
39       <groupId>org.opendaylight.controller</groupId>
40       <artifactId>sal-common-impl</artifactId>
41     </dependency>
42     <dependency>
43       <groupId>org.opendaylight.controller</groupId>
44       <artifactId>sal-common-util</artifactId>
45     </dependency>
46     <dependency>
47       <groupId>org.opendaylight.controller</groupId>
48       <artifactId>sal-core-api</artifactId>
49     </dependency>
50     <dependency>
51       <groupId>org.opendaylight.controller.model</groupId>
52       <artifactId>model-flow-base</artifactId>
53       <scope>test</scope>
54     </dependency>
55     <dependency>
56       <groupId>org.opendaylight.controller.model</groupId>
57       <artifactId>model-flow-service</artifactId>
58       <scope>test</scope>
59     </dependency>
60     <dependency>
61       <groupId>org.opendaylight.controller.model</groupId>
62       <artifactId>model-flow-statistics</artifactId>
63       <scope>test</scope>
64     </dependency>
65     <dependency>
66       <groupId>org.opendaylight.yangtools</groupId>
67       <artifactId>binding-generator-impl</artifactId>
68     </dependency>
69     <dependency>
70       <groupId>org.opendaylight.yangtools</groupId>
71       <artifactId>binding-data-codec</artifactId>
72     </dependency>
73     <dependency>
74       <groupId>org.opendaylight.yangtools</groupId>
75       <artifactId>yang-data-impl</artifactId>
76     </dependency>
77     <dependency>
78       <groupId>org.opendaylight.yangtools</groupId>
79       <artifactId>yang-model-util</artifactId>
80     </dependency>
81     <dependency>
82       <groupId>org.opendaylight.yangtools.model</groupId>
83       <artifactId>ietf-inet-types</artifactId>
84     </dependency>
85     <dependency>
86       <groupId>org.slf4j</groupId>
87       <artifactId>slf4j-api</artifactId>
88     </dependency>
89     <dependency>
90       <groupId>org.osgi</groupId>
91       <artifactId>org.osgi.core</artifactId>
92       <scope>provided</scope>
93     </dependency>
94     <dependency>
95       <groupId>junit</groupId>
96       <artifactId>junit</artifactId>
97       <scope>test</scope>
98     </dependency>
99     <dependency>
100       <groupId>org.mockito</groupId>
101       <artifactId>mockito-all</artifactId>
102       <scope>test</scope>
103     </dependency>
104     <dependency>
105       <groupId>org.opendaylight.yangtools</groupId>
106       <artifactId>yang-parser-impl</artifactId>
107       <scope>test</scope>
108     </dependency>
109     <dependency>
110       <groupId>org.opendaylight.yangtools.model</groupId>
111       <artifactId>ietf-topology-l3-unicast-igp</artifactId>
112       <scope>test</scope>
113     </dependency>
114     <dependency>
115       <groupId>org.opendaylight.controller</groupId>
116       <artifactId>sal-test-model</artifactId>
117       <scope>test</scope>
118     </dependency>
119     <dependency>
120       <groupId>org.slf4j</groupId>
121       <artifactId>slf4j-simple</artifactId>
122       <scope>test</scope>
123     </dependency>
124   </dependencies>
125
126   <build>
127     <plugins>
128
129       <plugin>
130         <groupId>org.apache.felix</groupId>
131         <artifactId>maven-bundle-plugin</artifactId>
132         <extensions>true</extensions>
133         <configuration>
134           <instructions>
135             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
136             <Export-package>org.opendaylight.controller.sal.binding.spi.*,</Export-package>
137             <Private-Package>
138               org.opendaylight.controller.config.yang.md.sal.binding.impl,
139                             org.opendaylight.controller.sal.binding.impl,
140                             org.opendaylight.controller.sal.binding.impl.*,
141                             org.opendaylight.controller.sal.binding.codegen,
142                             org.opendaylight.controller.sal.binding.codegen.*,
143                             org.opendaylight.controller.md.sal.binding.impl,
144               <!--org.opendaylight.controller.sal.binding.dom.*,-->
145               org.opendaylight.controller.sal.binding.osgi.*,
146                             org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.binding.impl.rev131028.*
147             </Private-Package>
148           </instructions>
149         </configuration>
150       </plugin>
151
152       <plugin>
153         <groupId>org.apache.maven.plugins</groupId>
154         <artifactId>maven-jar-plugin</artifactId>
155         <executions>
156           <execution>
157             <goals>
158               <goal>test-jar</goal>
159             </goals>
160           </execution>
161         </executions>
162       </plugin>
163       <plugin>
164         <groupId>org.jacoco</groupId>
165         <artifactId>jacoco-maven-plugin</artifactId>
166         <configuration>
167           <includes>
168             <include>org.opendaylight.controller.*</include>
169           </includes>
170         </configuration>
171         <executions>
172           <execution>
173             <id>pre-test</id>
174             <goals>
175               <goal>prepare-agent</goal>
176             </goals>
177           </execution>
178           <execution>
179             <id>post-test</id>
180             <goals>
181               <goal>report</goal>
182             </goals>
183             <phase>test</phase>
184           </execution>
185         </executions>
186       </plugin>
187       <plugin>
188         <groupId>org.opendaylight.yangtools</groupId>
189         <artifactId>yang-maven-plugin</artifactId>
190         <executions>
191           <execution>
192             <goals>
193               <goal>generate-sources</goal>
194             </goals>
195             <configuration>
196               <codeGenerators>
197                 <generator>
198                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
199                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
200                   <additionalConfiguration>
201                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
202                   </additionalConfiguration>
203                 </generator>
204
205                 <generator>
206                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
207                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
208                 </generator>
209
210                 <generator>
211                   <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
212                   <outputBaseDir>target/site/models</outputBaseDir>
213                 </generator>
214               </codeGenerators>
215               <inspectDependencies>true</inspectDependencies>
216             </configuration>
217           </execution>
218         </executions>
219       </plugin>
220     </plugins>
221   </build>
222   <scm>
223     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
224     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
225     <tag>HEAD</tag>
226     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
227   </scm>
228 </project>