Do not use currently-deprecated APIs
[controller.git] / opendaylight / md-sal / sal-remote / pom.xml
1 <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">
2     <modelVersion>4.0.0</modelVersion>
3     <parent>
4         <groupId>org.opendaylight.controller</groupId>
5         <artifactId>sal-parent</artifactId>
6         <version>1.1-SNAPSHOT</version>
7     </parent>
8     <artifactId>sal-remote</artifactId>
9     <packaging>bundle</packaging>
10     <scm>
11         <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
12         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
13         <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
14       <tag>HEAD</tag>
15   </scm>
16     <dependencies>
17         <dependency>
18             <groupId>org.opendaylight.controller</groupId>
19             <artifactId>sal-binding-api</artifactId>
20             <version>1.1-SNAPSHOT</version>
21         </dependency>
22     </dependencies>
23     <build>
24         <plugins>
25             <plugin>
26                 <groupId>org.apache.felix</groupId>
27                 <artifactId>maven-bundle-plugin</artifactId>
28                 <extensions>true</extensions>
29             </plugin>
30             <plugin>
31                 <groupId>org.opendaylight.yangtools</groupId>
32                 <artifactId>yang-maven-plugin</artifactId>
33                 <executions>
34                     <execution>
35                         <id>sal-remote</id>
36                         <goals>
37                             <goal>generate-sources</goal>
38                         </goals>
39                         <configuration>
40                             <yangFilesRootDir>src/main/yang</yangFilesRootDir>
41                             <codeGenerators>
42                                 <generator>
43                                     <codeGeneratorClass>
44                                         org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
45                                     </codeGeneratorClass>
46                                     <outputBaseDir>
47                                         target/generated-sources/
48                                     </outputBaseDir>
49                                 </generator>
50                                 <generator>
51                                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
52                                     <outputBaseDir>target/site/models</outputBaseDir>
53                                 </generator>
54                             </codeGenerators>
55                             <inspectDependencies>true</inspectDependencies>
56                         </configuration>
57                     </execution>
58                 </executions>
59                 <dependencies>
60                     <dependency>
61                         <groupId>org.opendaylight.yangtools</groupId>
62                         <artifactId>maven-sal-api-gen-plugin</artifactId>
63                         <version>${yangtools.version}</version>
64                         <type>jar</type>
65                     </dependency>
66                 </dependencies>
67             </plugin>
68             <plugin>
69                 <groupId>org.codehaus.mojo</groupId>
70                 <artifactId>build-helper-maven-plugin</artifactId>
71                 <version>1.8</version>
72                 <executions>
73                     <execution>
74                         <id>add-source</id>
75                         <phase>generate-sources</phase>
76                         <goals>
77                             <goal>add-source</goal>
78                         </goals>
79                         <configuration>
80                             <sources>
81                                 <source>${project.build.directory}/generated-sources/</source>
82                             </sources>
83                         </configuration>
84                     </execution>
85                 </executions>
86             </plugin>
87         </plugins>
88     </build>
89 </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.