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

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.