Merge "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         </dependency>
21     </dependencies>
22     <build>
23         <plugins>
24             <plugin>
25                 <groupId>org.apache.felix</groupId>
26                 <artifactId>maven-bundle-plugin</artifactId>
27                 <extensions>true</extensions>
28             </plugin>
29             <plugin>
30                 <groupId>org.opendaylight.yangtools</groupId>
31                 <artifactId>yang-maven-plugin</artifactId>
32                 <executions>
33                     <execution>
34                         <id>sal-remote</id>
35                         <goals>
36                             <goal>generate-sources</goal>
37                         </goals>
38                         <configuration>
39                             <yangFilesRootDir>src/main/yang</yangFilesRootDir>
40                             <codeGenerators>
41                                 <generator>
42                                     <codeGeneratorClass>
43                                         org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
44                                     </codeGeneratorClass>
45                                     <outputBaseDir>
46                                         target/generated-sources/
47                                     </outputBaseDir>
48                                 </generator>
49                                 <generator>
50                                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
51                                     <outputBaseDir>target/site/models</outputBaseDir>
52                                 </generator>
53                             </codeGenerators>
54                             <inspectDependencies>true</inspectDependencies>
55                         </configuration>
56                     </execution>
57                 </executions>
58                 <dependencies>
59                     <dependency>
60                         <groupId>org.opendaylight.yangtools</groupId>
61                         <artifactId>maven-sal-api-gen-plugin</artifactId>
62                         <version>${yangtools.version}</version>
63                         <type>jar</type>
64                     </dependency>
65                 </dependencies>
66             </plugin>
67             <plugin>
68                 <groupId>org.codehaus.mojo</groupId>
69                 <artifactId>build-helper-maven-plugin</artifactId>
70                 <version>1.8</version>
71                 <executions>
72                     <execution>
73                         <id>add-source</id>
74                         <phase>generate-sources</phase>
75                         <goals>
76                             <goal>add-source</goal>
77                         </goals>
78                         <configuration>
79                             <sources>
80                                 <source>${project.build.directory}/generated-sources/</source>
81                             </sources>
82                         </configuration>
83                     </execution>
84                 </executions>
85             </plugin>
86         </plugins>
87     </build>
88 </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.