Merge "Add filtering capability to config.ini in order to reference logging bridge...
[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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2
3     <parent>
4         <groupId>org.opendaylight.controller</groupId>
5         <artifactId>sal-parent</artifactId>
6         <version>1.1-SNAPSHOT</version>
7     </parent>
8     <scm>
9       <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
10       <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
11       <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
12       <tag>HEAD</tag>
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.4.0</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                 <executions>
51                     <execution>
52                         <goals>
53                             <goal>generate-sources</goal>
54                         </goals>
55                         <configuration>
56                             <yangFilesRootDir>src/main/yang</yangFilesRootDir>
57                             <codeGenerators>
58                                 <generator>
59                                     <codeGeneratorClass>
60                                         org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
61                                     </codeGeneratorClass>
62                                     <outputBaseDir>
63                                         ${salGeneratorPath}
64                                     </outputBaseDir>
65                                 </generator>
66                                 <generator>
67                                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
68                                     <outputBaseDir>target/site/models</outputBaseDir>
69                                 </generator>
70                                 <generator>
71                                     <codeGeneratorClass>org.opendaylight.yangtools.yang.wadl.generator.maven.WadlGenerator</codeGeneratorClass>
72                                     <outputBaseDir>target/site/models</outputBaseDir>
73                                 </generator>
74                             </codeGenerators>
75                             <inspectDependencies>true</inspectDependencies>
76                         </configuration>
77                     </execution>
78                 </executions>
79                 <dependencies>
80                     <dependency>
81                         <groupId>org.opendaylight.yangtools</groupId>
82                         <artifactId>maven-sal-api-gen-plugin</artifactId>
83                         <version>${yangtools.version}</version>
84                         <type>jar</type>
85                     </dependency>
86                     <dependency>
87                         <groupId>org.opendaylight.yangtools</groupId>
88                         <artifactId>yang-binding</artifactId>
89                         <version>${yangtools.version}</version>
90                         <type>jar</type>
91                     </dependency>
92                 </dependencies>
93             </plugin>
94             <plugin>
95                 <groupId>org.codehaus.mojo</groupId>
96                 <artifactId>build-helper-maven-plugin</artifactId>
97                 <version>1.7</version>
98                 <executions>
99                     <execution>
100                         <phase>generate-sources</phase>
101                         <goals>
102                             <goal>add-source</goal>
103                         </goals>
104                         <configuration>
105                             <sources>
106                                 <source>target/generated-sources/sal</source>
107                             </sources>
108                         </configuration>
109                     </execution>
110                 </executions>
111             </plugin>
112         </plugins>
113     </build>
114
115     <dependencies>
116         <dependency>
117             <groupId>org.opendaylight.yangtools</groupId>
118             <artifactId>yang-binding</artifactId>
119         </dependency>
120         <dependency>
121             <groupId>org.opendaylight.yangtools</groupId>
122             <artifactId>yang-common</artifactId>
123         </dependency>
124         <dependency>
125             <groupId>org.opendaylight.yangtools.model</groupId>
126             <artifactId>ietf-inet-types</artifactId>
127         </dependency>
128         <dependency>
129             <groupId>org.opendaylight.yangtools.model</groupId>
130             <artifactId>ietf-yang-types</artifactId>
131         </dependency>
132         <dependency>
133             <groupId>org.opendaylight.yangtools.model</groupId>
134             <artifactId>yang-ext</artifactId>
135         </dependency>
136     </dependencies>
137
138 </project>