72dda9a2480af2013678bedc19832e5289fe2a6d
[openflowjava.git] / openflow-protocol-api / 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     <modelVersion>4.0.0</modelVersion>
3     <parent>
4         <groupId>org.opendaylight.openflowjava</groupId>
5         <artifactId>openflow-protocol-parent</artifactId>
6         <version>0.6.0-SNAPSHOT</version>
7     </parent>
8     <artifactId>openflow-protocol-api</artifactId>
9     <packaging>bundle</packaging>
10     <name>Openflow Protocol Library - API</name>
11     <scm>
12       <url>https://wiki.opendaylight.org/view/Openflow_Protocol_Library:Main</url>
13       <tag>HEAD</tag>
14     </scm>
15
16     <build>
17         <plugins>
18             <plugin>
19                 <groupId>org.opendaylight.yangtools</groupId>
20                 <artifactId>yang-maven-plugin</artifactId>
21                 <executions>
22                     <execution>
23                         <goals>
24                             <goal>generate-sources</goal>
25                         </goals>
26                         <configuration>
27                             <yangFilesRootDir>src/main/yang</yangFilesRootDir>
28                             <codeGenerators>
29                                 <generator>
30                                     <codeGeneratorClass>
31                                         org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
32                                     </codeGeneratorClass>
33                                     <outputBaseDir>
34                                         ${salGeneratorPath}
35                                     </outputBaseDir>
36                                 </generator>
37                                 <generator>
38                                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
39                                     <outputBaseDir>target/site/restconf</outputBaseDir>
40                                 </generator>
41                             </codeGenerators>
42                             <inspectDependencies>true</inspectDependencies>
43                         </configuration>
44                     </execution>
45                 </executions>
46
47                 <dependencies>
48                     <dependency>
49                         <groupId>org.opendaylight.yangtools</groupId>
50                         <artifactId>maven-sal-api-gen-plugin</artifactId>
51                         <version>${yangtools.generator.version}</version>
52                         <type>jar</type>
53                     </dependency>
54                 </dependencies>
55             </plugin>
56         </plugins>
57         <pluginManagement>
58             <plugins>
59                 <!--This plugin's configuration is used to store Eclipse
60                     m2e settings only. It has no influence on the Maven build itself. -->
61                 <plugin>
62                     <groupId>org.eclipse.m2e</groupId>
63                     <artifactId>lifecycle-mapping</artifactId>
64                     <version>1.0.0</version>
65                     <configuration>
66                         <lifecycleMappingMetadata>
67                             <pluginExecutions>
68                                 <pluginExecution>
69                                     <pluginExecutionFilter>
70                                         <groupId>
71                                             org.opendaylight.yangtools
72                                         </groupId>
73                                         <artifactId>
74                                             yang-maven-plugin
75                                         </artifactId>
76                                         <versionRange>
77                                             (0.5.6,)
78                                         </versionRange>
79                                         <goals>
80                                             <goal>
81                                                 generate-sources
82                                             </goal>
83                                         </goals>
84                                     </pluginExecutionFilter>
85                                     <action>
86                                         <ignore />
87                                     </action>
88                                 </pluginExecution>
89                             </pluginExecutions>
90                         </lifecycleMappingMetadata>
91                     </configuration>
92                 </plugin>
93             </plugins>
94         </pluginManagement>
95     </build>
96     <dependencies>
97         <dependency>
98             <groupId>org.opendaylight.yangtools</groupId>
99             <artifactId>yang-binding</artifactId>
100         </dependency>
101         <dependency>
102             <groupId>org.opendaylight.yangtools</groupId>
103             <artifactId>yang-common</artifactId>
104         </dependency>
105         <dependency>
106             <groupId>org.opendaylight.yangtools.model</groupId>
107             <artifactId>ietf-inet-types</artifactId>
108         </dependency>
109         <dependency>
110             <groupId>org.opendaylight.yangtools.model</groupId>
111             <artifactId>ietf-yang-types</artifactId>
112         </dependency>
113         <dependency>
114             <groupId>org.opendaylight.yangtools.model</groupId>
115             <artifactId>yang-ext</artifactId>
116         </dependency>
117         <dependency>
118             <groupId>io.netty</groupId>
119             <artifactId>netty-buffer</artifactId>
120         </dependency>
121         <dependency>
122             <groupId>junit</groupId>
123             <artifactId>junit</artifactId>
124             <scope>test</scope>
125         </dependency>
126         <dependency>
127             <groupId>org.mockito</groupId>
128             <artifactId>mockito-all</artifactId>
129         </dependency>
130     </dependencies>
131 </project>