Merge "Bug 6110: Fixed bugs in statistics manager due to race condition." into stable...
[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.3.3-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>ietf-yang-types-20130715</artifactId>
42     </dependency>
43     <dependency>
44       <groupId>org.opendaylight.mdsal.model</groupId>
45       <artifactId>yang-ext</artifactId>
46     </dependency>
47   </dependencies>
48
49   <build>
50     <plugins>
51       <plugin>
52         <groupId>org.apache.felix</groupId>
53         <artifactId>maven-bundle-plugin</artifactId>
54         <extensions>true</extensions>
55         <configuration>
56           <instructions>
57             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
58             <Import-Package>org.opendaylight.yangtools.yang.binding.annotations, *</Import-Package>
59           </instructions>
60         </configuration>
61       </plugin>
62       <plugin>
63         <groupId>org.opendaylight.yangtools</groupId>
64         <artifactId>yang-maven-plugin</artifactId>
65         <dependencies>
66           <dependency>
67             <groupId>org.opendaylight.mdsal</groupId>
68             <artifactId>maven-sal-api-gen-plugin</artifactId>
69             <version>${mdsal.model.version}</version>
70             <type>jar</type>
71           </dependency>
72           <dependency>
73             <groupId>org.opendaylight.mdsal</groupId>
74             <artifactId>yang-binding</artifactId>
75             <version>${mdsal.model.version}</version>
76             <type>jar</type>
77           </dependency>
78         </dependencies>
79         <executions>
80           <execution>
81             <goals>
82               <goal>generate-sources</goal>
83             </goals>
84             <configuration>
85               <yangFilesRootDir>src/main/yang</yangFilesRootDir>
86               <codeGenerators>
87                 <generator>
88                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
89                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
90                 </generator>
91                 <generator>
92                   <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
93                   <outputBaseDir>target/site/models</outputBaseDir>
94                 </generator>
95                 <generator>
96                   <codeGeneratorClass>org.opendaylight.yangtools.yang.wadl.generator.maven.WadlGenerator</codeGeneratorClass>
97                   <outputBaseDir>target/site/models</outputBaseDir>
98                 </generator>
99               </codeGenerators>
100               <inspectDependencies>true</inspectDependencies>
101             </configuration>
102           </execution>
103         </executions>
104       </plugin>
105     </plugins>
106   </build>
107
108
109   <scm>
110     <connection>scm:git:ssh://git.opendaylight.org:29418/openflowplugin.git</connection>
111     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/openflowplugin.git</developerConnection>
112     <url>https://wiki.opendaylight.org/view/OpenDaylight_OpenFlow_Plugin:Main</url>
113     <tag>HEAD</tag>
114   </scm>
115
116 </project>