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