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