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