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