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