e95b118e4a5fbe61dad79b9f5761133993d668d3
[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</groupId>
52       <artifactId>sal-test-model</artifactId>
53       <scope>test</scope>
54     </dependency>
55     <dependency>
56       <groupId>org.opendaylight.yangtools</groupId>
57       <artifactId>binding-generator-impl</artifactId>
58     </dependency>
59     <dependency>
60       <groupId>org.opendaylight.yangtools</groupId>
61       <artifactId>binding-data-codec</artifactId>
62     </dependency>
63     <dependency>
64       <groupId>org.opendaylight.yangtools</groupId>
65       <artifactId>yang-data-impl</artifactId>
66     </dependency>
67     <dependency>
68       <groupId>org.opendaylight.yangtools</groupId>
69       <artifactId>yang-model-util</artifactId>
70     </dependency>
71     <dependency>
72       <groupId>org.opendaylight.yangtools.model</groupId>
73       <artifactId>ietf-inet-types</artifactId>
74     </dependency>
75     <dependency>
76       <groupId>org.slf4j</groupId>
77       <artifactId>slf4j-api</artifactId>
78     </dependency>
79     <dependency>
80       <groupId>org.osgi</groupId>
81       <artifactId>org.osgi.core</artifactId>
82       <scope>provided</scope>
83     </dependency>
84     <dependency>
85       <groupId>junit</groupId>
86       <artifactId>junit</artifactId>
87       <scope>test</scope>
88     </dependency>
89     <dependency>
90       <groupId>org.mockito</groupId>
91       <artifactId>mockito-all</artifactId>
92       <scope>test</scope>
93     </dependency>
94     <dependency>
95       <groupId>org.opendaylight.yangtools</groupId>
96       <artifactId>yang-parser-impl</artifactId>
97       <scope>test</scope>
98     </dependency>
99     <dependency>
100       <groupId>org.opendaylight.yangtools.model</groupId>
101       <artifactId>ietf-topology-l3-unicast-igp</artifactId>
102       <scope>test</scope>
103     </dependency>
104     <dependency>
105       <groupId>org.opendaylight.controller</groupId>
106       <artifactId>sal-test-model</artifactId>
107       <scope>test</scope>
108     </dependency>
109     <dependency>
110       <groupId>org.slf4j</groupId>
111       <artifactId>slf4j-simple</artifactId>
112       <scope>test</scope>
113     </dependency>
114   </dependencies>
115
116   <build>
117     <plugins>
118
119       <plugin>
120         <groupId>org.apache.felix</groupId>
121         <artifactId>maven-bundle-plugin</artifactId>
122         <extensions>true</extensions>
123         <configuration>
124           <instructions>
125             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
126             <Export-package>org.opendaylight.controller.sal.binding.spi.*,</Export-package>
127             <Private-Package>
128               org.opendaylight.controller.config.yang.md.sal.binding.impl,
129                             org.opendaylight.controller.sal.binding.impl,
130                             org.opendaylight.controller.sal.binding.impl.*,
131                             org.opendaylight.controller.sal.binding.codegen,
132                             org.opendaylight.controller.sal.binding.codegen.*,
133                             org.opendaylight.controller.md.sal.binding.impl,
134                             org.opendaylight.controller.md.sal.binding.compat,
135                             org.opendaylight.controller.md.sal.binding.spi,
136               <!--org.opendaylight.controller.sal.binding.dom.*,-->
137               org.opendaylight.controller.sal.binding.osgi.*,
138                             org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.binding.impl.rev131028.*
139             </Private-Package>
140           </instructions>
141         </configuration>
142       </plugin>
143
144       <plugin>
145         <groupId>org.apache.maven.plugins</groupId>
146         <artifactId>maven-jar-plugin</artifactId>
147         <executions>
148           <execution>
149             <goals>
150               <goal>test-jar</goal>
151             </goals>
152           </execution>
153         </executions>
154       </plugin>
155       <plugin>
156         <groupId>org.jacoco</groupId>
157         <artifactId>jacoco-maven-plugin</artifactId>
158         <configuration>
159           <includes>
160             <include>org.opendaylight.controller.*</include>
161           </includes>
162         </configuration>
163         <executions>
164           <execution>
165             <id>pre-test</id>
166             <goals>
167               <goal>prepare-agent</goal>
168             </goals>
169           </execution>
170           <execution>
171             <id>post-test</id>
172             <goals>
173               <goal>report</goal>
174             </goals>
175             <phase>test</phase>
176           </execution>
177         </executions>
178       </plugin>
179       <plugin>
180         <groupId>org.opendaylight.yangtools</groupId>
181         <artifactId>yang-maven-plugin</artifactId>
182         <executions>
183           <execution>
184             <goals>
185               <goal>generate-sources</goal>
186             </goals>
187             <configuration>
188               <codeGenerators>
189                 <generator>
190                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
191                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
192                   <additionalConfiguration>
193                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
194                   </additionalConfiguration>
195                 </generator>
196
197                 <generator>
198                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
199                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
200                 </generator>
201
202                 <generator>
203                   <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
204                   <outputBaseDir>target/site/models</outputBaseDir>
205                 </generator>
206               </codeGenerators>
207               <inspectDependencies>true</inspectDependencies>
208             </configuration>
209           </execution>
210         </executions>
211       </plugin>
212     </plugins>
213   </build>
214   <scm>
215     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
216     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
217     <tag>HEAD</tag>
218     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
219   </scm>
220 </project>