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