Change target to ${project.build.target} in a bunch of pom file.
[controller.git] / opendaylight / md-sal / sal-binding-broker / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2     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.0-SNAPSHOT</version>
8     </parent>
9     <artifactId>sal-binding-broker-impl</artifactId>
10     <packaging>bundle</packaging>
11     <scm>
12         <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
13         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
14         <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
15     </scm>
16
17     <build>
18         <plugins>
19             <plugin>
20                 <groupId>org.opendaylight.yangtools</groupId>
21                 <artifactId>yang-maven-plugin</artifactId>
22                 <version>${yangtools.version}</version>
23                 <executions>
24                     <execution>
25                         <goals>
26                             <goal>generate-sources</goal>
27                         </goals>
28                         <configuration>
29                             <codeGenerators>
30                                 <generator>
31                                     <codeGeneratorClass>
32                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
33                                     </codeGeneratorClass>
34                                     <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
35                                     <additionalConfiguration>
36                                         <namespaceToPackage1>
37                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
38                                         </namespaceToPackage1>
39                                     </additionalConfiguration>
40                                 </generator>
41                                 <generator>
42                                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
43                                     <outputBaseDir>target/site/models</outputBaseDir>
44                                 </generator>
45                             </codeGenerators>
46                             <inspectDependencies>true</inspectDependencies>
47                         </configuration>
48                     </execution>
49                 </executions>
50                 <dependencies>
51                     <dependency>
52                         <groupId>org.opendaylight.controller</groupId>
53                         <artifactId>yang-jmx-generator-plugin</artifactId>
54                         <version>0.2.3-SNAPSHOT</version>
55                     </dependency>
56                     <dependency>
57                         <groupId>org.opendaylight.yangtools</groupId>
58                         <artifactId>maven-sal-api-gen-plugin</artifactId>
59                         <version>0.6.0-SNAPSHOT</version>
60                         <type>jar</type>
61                     </dependency>
62                 </dependencies>
63             </plugin>
64
65             <plugin>
66                 <groupId>org.codehaus.mojo</groupId>
67                 <artifactId>build-helper-maven-plugin</artifactId>
68                 <version>1.8</version>
69                 <executions>
70                     <execution>
71                         <id>add-source</id>
72                         <phase>generate-sources</phase>
73                         <goals>
74                             <goal>add-source</goal>
75                         </goals>
76                         <configuration>
77                             <sources>
78                                 <source>${project.build.directory}/generated-sources/config</source>
79                                 <source>src/main/xtend-gen</source>
80                             </sources>
81                         </configuration>
82                     </execution>
83                 </executions>
84             </plugin>
85             <plugin>
86                 <groupId>org.apache.felix</groupId>
87                 <artifactId>maven-bundle-plugin</artifactId>
88                 <extensions>true</extensions>
89                 <configuration>
90                     <instructions>
91                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
92                         <Export-package>
93                             org.opendaylight.controller.sal.binding.spi.*,
94                         </Export-package>
95                         <Private-Package>
96                             org.opendaylight.controller.config.yang.md.sal.binding.impl,
97                             org.opendaylight.controller.sal.binding.impl,
98                             org.opendaylight.controller.sal.binding.impl.*,
99                             org.opendaylight.controller.sal.binding.codegen,
100                             org.opendaylight.controller.sal.binding.codegen.*,
101                             org.opendaylight.controller.sal.binding.dom.*,
102                         </Private-Package>
103                     </instructions>
104                 </configuration>
105             </plugin>
106             <plugin>
107                 <groupId>org.eclipse.xtend</groupId>
108                 <artifactId>xtend-maven-plugin</artifactId>
109             </plugin>
110             <plugin>
111                 <artifactId>maven-clean-plugin</artifactId>
112             </plugin>
113             <plugin>
114                 <groupId>org.jacoco</groupId>
115                 <artifactId>jacoco-maven-plugin</artifactId>
116                 <configuration>
117                     <includes>org.opendaylight.controller.*</includes>
118                 </configuration>
119                 <executions>
120                     <execution>
121                         <id>pre-test</id>
122                         <goals>
123                             <goal>prepare-agent</goal>
124                         </goals>
125                     </execution>
126                     <execution>
127                         <id>post-test</id>
128                         <phase>test</phase>
129                         <goals>
130                             <goal>report</goal>
131                         </goals>
132                     </execution>
133                 </executions>
134             </plugin>
135
136
137             <plugin>
138                 <groupId>org.apache.maven.plugins</groupId>
139                 <artifactId>maven-jar-plugin</artifactId>
140                 <executions>
141                     <execution>
142                         <goals>
143                             <goal>test-jar</goal>
144                         </goals>
145                     </execution>
146                 </executions>
147             </plugin>
148         </plugins>
149     </build>
150
151     <dependencies>
152         <dependency>
153             <groupId>org.opendaylight.controller</groupId>
154             <artifactId>sal-common-util</artifactId>
155             <version>1.0-SNAPSHOT</version>
156         </dependency>
157         <dependency>
158             <groupId>org.opendaylight.controller</groupId>
159             <artifactId>sal-common-impl</artifactId>
160             <version>1.0-SNAPSHOT</version>
161         </dependency>
162         <dependency>
163             <groupId>org.opendaylight.controller</groupId>
164             <artifactId>sal-binding-api</artifactId>
165             <version>1.0-SNAPSHOT</version>
166         </dependency>
167         <dependency>
168             <groupId>org.opendaylight.controller</groupId>
169             <artifactId>sal-binding-util</artifactId>
170             <version>1.0-SNAPSHOT</version>
171         </dependency>
172         <dependency>
173             <groupId>org.slf4j</groupId>
174             <artifactId>slf4j-api</artifactId>
175         </dependency>
176         <dependency>
177             <groupId>org.osgi</groupId>
178             <artifactId>org.osgi.core</artifactId>
179             <version>${osgi.core.version}</version>
180             <scope>provided</scope>
181         </dependency>
182         <dependency>
183             <groupId>com.google.guava</groupId>
184             <artifactId>guava</artifactId>
185         </dependency>
186         <dependency>
187             <groupId>org.reflections</groupId>
188             <artifactId>reflections</artifactId>
189             <version>0.9.9-RC1</version>
190             <scope>compile</scope>
191         </dependency>
192         <dependency>
193             <groupId>org.javassist</groupId>
194             <artifactId>javassist</artifactId>
195             <version>3.17.1-GA</version>
196         </dependency>
197         <dependency>
198             <groupId>org.opendaylight.yangtools</groupId>
199             <artifactId>binding-generator-impl</artifactId>
200         </dependency>
201         <dependency>
202             <groupId>org.opendaylight.yangtools</groupId>
203             <artifactId>yang-parser-impl</artifactId>
204             <scope>test</scope>
205         </dependency>
206         <dependency>
207             <groupId>org.opendaylight.controller</groupId>
208             <artifactId>sal-core-api</artifactId>
209             <version>1.0-SNAPSHOT</version>
210         </dependency>
211         <dependency>
212             <groupId>org.opendaylight.controller</groupId>
213             <artifactId>sal-broker-impl</artifactId>
214             <version>1.0-SNAPSHOT</version>
215             <scope>compile</scope>
216         </dependency>
217         <dependency>
218             <groupId>junit</groupId>
219             <artifactId>junit</artifactId>
220             <scope>test</scope>
221         </dependency>
222         <dependency>
223             <groupId>org.mockito</groupId>
224             <artifactId>mockito-all</artifactId>
225             <scope>test</scope>
226         </dependency>
227         <dependency>
228             <groupId>org.eclipse.xtend</groupId>
229             <artifactId>org.eclipse.xtend.lib</artifactId>
230         </dependency>
231         <dependency>
232             <groupId>org.opendaylight.controller</groupId>
233             <artifactId>sal-binding-config</artifactId>
234             <version>1.0-SNAPSHOT</version>
235         </dependency>
236         <dependency>
237             <groupId>org.opendaylight.yangtools</groupId>
238             <artifactId>yang-data-impl</artifactId>
239         </dependency>
240         <dependency>
241             <groupId>org.opendaylight.yangtools</groupId>
242             <artifactId>yang-model-util</artifactId>
243         </dependency>
244         <dependency>
245             <groupId>org.slf4j</groupId>
246             <artifactId>slf4j-simple</artifactId>
247             <version>${slf4j.version}</version>
248             <scope>test</scope>
249         </dependency>
250             <dependency>
251             <groupId>org.opendaylight.yangtools.model</groupId>
252             <artifactId>ietf-inet-types</artifactId>
253             <version>2010.09.24.2-SNAPSHOT</version>
254         </dependency>
255         <dependency>
256         <groupId>org.opendaylight.yangtools.model</groupId>
257         <artifactId>ietf-topology-l3-unicast-igp</artifactId>
258         <version>2013.10.21.0-SNAPSHOT</version>
259         <scope>test</scope>
260         </dependency>
261         <dependency>
262                 <groupId>org.opendaylight.controller.model</groupId>
263                 <artifactId>model-flow-base</artifactId>
264                 <version>1.0-SNAPSHOT</version>
265         </dependency>
266         <dependency>
267                 <groupId>org.opendaylight.controller.model</groupId>
268                 <artifactId>model-flow-service</artifactId>
269                 <version>1.0-SNAPSHOT</version>
270         </dependency>
271         <dependency>
272                 <groupId>org.opendaylight.controller.model</groupId>
273                 <artifactId>model-flow-statistics</artifactId>
274                 <version>1.0-SNAPSHOT</version>
275         </dependency>
276     </dependencies>
277 </project>