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