Merge "Unit Test for md-sal netconf northbound mapping. Tests mapping of netconf...
[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.sal.binding.dom.*,-->
135               org.opendaylight.controller.sal.binding.osgi.*,
136                             org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.binding.impl.rev131028.*
137             </Private-Package>
138           </instructions>
139         </configuration>
140       </plugin>
141
142       <plugin>
143         <groupId>org.apache.maven.plugins</groupId>
144         <artifactId>maven-jar-plugin</artifactId>
145         <executions>
146           <execution>
147             <goals>
148               <goal>test-jar</goal>
149             </goals>
150           </execution>
151         </executions>
152       </plugin>
153       <plugin>
154         <groupId>org.jacoco</groupId>
155         <artifactId>jacoco-maven-plugin</artifactId>
156         <configuration>
157           <includes>
158             <include>org.opendaylight.controller.*</include>
159           </includes>
160         </configuration>
161         <executions>
162           <execution>
163             <id>pre-test</id>
164             <goals>
165               <goal>prepare-agent</goal>
166             </goals>
167           </execution>
168           <execution>
169             <id>post-test</id>
170             <goals>
171               <goal>report</goal>
172             </goals>
173             <phase>test</phase>
174           </execution>
175         </executions>
176       </plugin>
177       <plugin>
178         <groupId>org.opendaylight.yangtools</groupId>
179         <artifactId>yang-maven-plugin</artifactId>
180         <executions>
181           <execution>
182             <goals>
183               <goal>generate-sources</goal>
184             </goals>
185             <configuration>
186               <codeGenerators>
187                 <generator>
188                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
189                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
190                   <additionalConfiguration>
191                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
192                   </additionalConfiguration>
193                 </generator>
194
195                 <generator>
196                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
197                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
198                 </generator>
199
200                 <generator>
201                   <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
202                   <outputBaseDir>target/site/models</outputBaseDir>
203                 </generator>
204               </codeGenerators>
205               <inspectDependencies>true</inspectDependencies>
206             </configuration>
207           </execution>
208         </executions>
209       </plugin>
210     </plugins>
211   </build>
212   <scm>
213     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
214     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
215     <tag>HEAD</tag>
216     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
217   </scm>
218 </project>