a52c621013bc9ec9b9dd2ef0a44bee9d597ae0ab
[controller.git] / opendaylight / md-sal / samples / toaster / 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.samples</groupId>
6     <artifactId>sal-samples</artifactId>
7     <version>1.4.0-SNAPSHOT</version>
8   </parent>
9   <!-- FIXME Use org.opendaylight.mdsal:binding-parent -->
10   <artifactId>sample-toaster</artifactId>
11   <packaging>bundle</packaging>
12   <dependencies>
13     <dependency>
14       <groupId>org.opendaylight.mdsal</groupId>
15       <artifactId>yang-binding</artifactId>
16     </dependency>
17     <dependency>
18       <groupId>org.opendaylight.yangtools</groupId>
19       <artifactId>yang-common</artifactId>
20     </dependency>
21   </dependencies>
22
23   <build>
24     <plugins>
25       <plugin>
26         <groupId>org.opendaylight.yangtools</groupId>
27         <artifactId>yang-maven-plugin</artifactId>
28         <dependencies>
29           <dependency>
30             <groupId>org.opendaylight.mdsal</groupId>
31             <artifactId>maven-sal-api-gen-plugin</artifactId>
32             <version>${mdsal.model.version}</version>
33             <type>jar</type>
34           </dependency>
35         </dependencies>
36         <executions>
37           <execution>
38             <goals>
39               <goal>generate-sources</goal>
40             </goals>
41             <configuration>
42               <yangFilesRootDir>src/main/yang</yangFilesRootDir>
43               <codeGenerators>
44                 <generator>
45                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
46                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
47                 </generator>
48               </codeGenerators>
49               <inspectDependencies>true</inspectDependencies>
50             </configuration>
51           </execution>
52         </executions>
53       </plugin>
54     </plugins>
55   </build>
56   <scm>
57     <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
58     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
59     <tag>HEAD</tag>
60     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
61   </scm>
62 </project>

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.