ca97232cfb66393d579a0ac83514037aae42e339
[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     </modules>
32
33     <build>
34         <plugins>
35             <plugin>
36                 <groupId>org.apache.felix</groupId>
37                 <artifactId>maven-bundle-plugin</artifactId>
38                 <extensions>true</extensions>
39                 <configuration>
40                     <instructions>
41                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
42                     </instructions>
43                 </configuration>
44             </plugin>
45             <plugin>
46                 <groupId>org.opendaylight.yangtools</groupId>
47                 <artifactId>yang-maven-plugin</artifactId>
48                 <version>${yang.version}</version>
49                 <executions>
50                     <execution>
51                         <goals>
52                             <goal>generate-sources</goal>
53                         </goals>
54                         <configuration>
55                             <yangFilesRootDir>src/main/yang</yangFilesRootDir>
56                             <codeGenerators>
57                                 <generator>
58                                     <codeGeneratorClass>
59                                         org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
60                                     </codeGeneratorClass>
61                                     <outputBaseDir>
62                                         target/generated-sources/sal
63                                     </outputBaseDir>
64                                 </generator>
65                             </codeGenerators>
66                             <inspectDependencies>true</inspectDependencies>
67                         </configuration>
68                     </execution>
69                 </executions>
70                 <dependencies>
71                     <dependency>
72                         <groupId>org.opendaylight.yangtools</groupId>
73                         <artifactId>maven-sal-api-gen-plugin</artifactId>
74                         <version>${yang.codegen.version}</version>
75                         <type>jar</type>
76                     </dependency>
77                     <dependency>
78                         <groupId>org.opendaylight.yangtools</groupId>
79                         <artifactId>yang-binding</artifactId>
80                         <version>${yang.codegen.version}</version>
81                         <type>jar</type>
82                     </dependency>
83                 </dependencies>
84             </plugin>
85             <plugin>
86                 <groupId>org.codehaus.mojo</groupId>
87                 <artifactId>build-helper-maven-plugin</artifactId>
88                 <version>1.7</version>
89                 <executions>
90                     <execution>
91                         <phase>generate-sources</phase>
92                         <goals>
93                             <goal>add-source</goal>
94                         </goals>
95                         <configuration>
96                             <sources>
97                                 <source>target/generated-sources/sal</source>
98                             </sources>
99                         </configuration>
100                     </execution>
101                 </executions>
102             </plugin>
103         </plugins>
104     </build>
105
106     <dependencies>
107         <dependency>
108             <groupId>org.opendaylight.yangtools</groupId>
109             <artifactId>yang-binding</artifactId>
110         </dependency>
111         <dependency>
112             <groupId>org.opendaylight.yangtools</groupId>
113             <artifactId>yang-common</artifactId>
114         </dependency>
115         <dependency>
116             <groupId>org.opendaylight.yangtools.model</groupId>
117             <artifactId>ietf-inet-types</artifactId>
118             <version>2010.09.24.2-SNAPSHOT</version>
119         </dependency>
120         <dependency>
121             <groupId>org.opendaylight.yangtools.model</groupId>
122             <artifactId>ietf-yang-types</artifactId>
123             <version>2010.09.24.2-SNAPSHOT</version>
124         </dependency>
125         <dependency>
126             <groupId>org.opendaylight.yangtools.model</groupId>
127             <artifactId>yang-ext</artifactId>
128             <version>2013.09.07.1-SNAPSHOT</version>
129         </dependency>
130     </dependencies>
131
132 </project>