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