Merge "Bug 1341 - Make RESTConf websocket port configurable"
[controller.git] / opendaylight / md-sal / model / 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
4   <modelVersion>4.0.0</modelVersion>
5
6   <parent>
7     <groupId>org.opendaylight.controller</groupId>
8     <artifactId>sal-parent</artifactId>
9     <version>1.1-SNAPSHOT</version>
10   </parent>
11   <groupId>org.opendaylight.controller.model</groupId>
12   <artifactId>model-parent</artifactId>
13   <packaging>pom</packaging>
14
15   <modules>
16     <module>model-inventory</module>
17     <module>model-flow-base</module>
18     <module>model-flow-service</module>
19     <module>model-flow-statistics</module>
20     <module>model-topology</module>
21   </modules>
22
23   <properties>
24     <bundle.plugin.version>2.4.0</bundle.plugin.version>
25     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
26   </properties>
27
28   <dependencies>
29     <dependency>
30       <groupId>org.opendaylight.yangtools</groupId>
31       <artifactId>yang-binding</artifactId>
32     </dependency>
33     <dependency>
34       <groupId>org.opendaylight.yangtools</groupId>
35       <artifactId>yang-common</artifactId>
36     </dependency>
37     <dependency>
38       <groupId>org.opendaylight.yangtools.model</groupId>
39       <artifactId>ietf-inet-types</artifactId>
40     </dependency>
41     <dependency>
42       <groupId>org.opendaylight.yangtools.model</groupId>
43       <artifactId>ietf-yang-types</artifactId>
44     </dependency>
45     <dependency>
46       <groupId>org.opendaylight.yangtools.model</groupId>
47       <artifactId>yang-ext</artifactId>
48     </dependency>
49   </dependencies>
50
51   <build>
52     <plugins>
53       <plugin>
54         <groupId>org.apache.felix</groupId>
55         <artifactId>maven-bundle-plugin</artifactId>
56         <extensions>true</extensions>
57         <configuration>
58           <instructions>
59             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
60             <Import-Package>org.opendaylight.yangtools.yang.binding.annotations, *</Import-Package>
61           </instructions>
62         </configuration>
63       </plugin>
64       <plugin>
65         <groupId>org.opendaylight.yangtools</groupId>
66         <artifactId>yang-maven-plugin</artifactId>
67         <dependencies>
68           <dependency>
69             <groupId>org.opendaylight.yangtools</groupId>
70             <artifactId>maven-sal-api-gen-plugin</artifactId>
71             <version>${yangtools.version}</version>
72             <type>jar</type>
73           </dependency>
74           <dependency>
75             <groupId>org.opendaylight.yangtools</groupId>
76             <artifactId>yang-binding</artifactId>
77             <version>${yangtools.version}</version>
78             <type>jar</type>
79           </dependency>
80         </dependencies>
81         <executions>
82           <execution>
83             <goals>
84               <goal>generate-sources</goal>
85             </goals>
86             <configuration>
87               <yangFilesRootDir>src/main/yang</yangFilesRootDir>
88               <codeGenerators>
89                 <generator>
90                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
91                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
92                 </generator>
93                 <generator>
94                   <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
95                   <outputBaseDir>target/site/models</outputBaseDir>
96                 </generator>
97                 <generator>
98                   <codeGeneratorClass>org.opendaylight.yangtools.yang.wadl.generator.maven.WadlGenerator</codeGeneratorClass>
99                   <outputBaseDir>target/site/models</outputBaseDir>
100                 </generator>
101               </codeGenerators>
102               <inspectDependencies>true</inspectDependencies>
103             </configuration>
104           </execution>
105         </executions>
106       </plugin>
107     </plugins>
108   </build>
109   <scm>
110     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
111     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
112     <tag>HEAD</tag>
113     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
114   </scm>
115
116 </project>