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 <modelVersion>4.0.0</modelVersion>
5 <groupId>org.opendaylight.openflowjava</groupId>
6 <artifactId>openflow-protocol-parent</artifactId>
7 <version>0.6.3-Lithium-SR3</version>
9 <artifactId>openflow-protocol-api</artifactId>
10 <packaging>bundle</packaging>
11 <name>Openflow Protocol Library - API</name>
13 <url>https://wiki.opendaylight.org/view/Openflow_Protocol_Library:Main</url>
20 <groupId>org.opendaylight.yangtools</groupId>
21 <artifactId>yang-maven-plugin</artifactId>
25 <goal>generate-sources</goal>
28 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
32 org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
39 <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
40 <outputBaseDir>target/site/restconf</outputBaseDir>
43 <inspectDependencies>true</inspectDependencies>
50 <groupId>org.opendaylight.yangtools</groupId>
51 <artifactId>maven-sal-api-gen-plugin</artifactId>
52 <version>${yangtools.version}</version>
58 <!-- TODO: maven-antrun-plugin deletes yang source files from target.
59 This is done because otherwise openflowjava models are stored in controller
60 and exposed for further use - which is not desired.
61 (https://bugs.opendaylight.org/show_bug.cgi?id=2926)
63 This plugin should be removed after relevant configuration is added into
64 yang-maven-plugin - which is supposed to happen in BERYLLIUM release -->
66 <groupId>org.apache.maven.plugins</groupId>
67 <artifactId>maven-antrun-plugin</artifactId>
70 <phase>prepare-package</phase>
77 <fileset dir="${project.build.directory}/classes/META-INF/yang">
78 <include name="*.yang"/>
79 <exclude name="openflow-types.yang"/>
80 <exclude name="openflow-extensible-match.yang"/>
81 <exclude name="openflow-action.yang"/>
82 <exclude name="openflow-configuration.yang"/>
84 <fileset dir="${project.build.directory}/generated-sources/yang/META-INF/yang">
85 <include name="*.yang"/>
86 <exclude name="openflow-types.yang"/>
87 <exclude name="openflow-extensible-match.yang"/>
88 <exclude name="openflow-action.yang"/>
89 <exclude name="openflow-configuration.yang"/>
100 <!--This plugin's configuration is used to store Eclipse
101 m2e settings only. It has no influence on the Maven build itself. -->
103 <groupId>org.eclipse.m2e</groupId>
104 <artifactId>lifecycle-mapping</artifactId>
105 <version>1.0.0</version>
107 <lifecycleMappingMetadata>
110 <pluginExecutionFilter>
112 org.opendaylight.yangtools
125 </pluginExecutionFilter>
131 </lifecycleMappingMetadata>
139 <groupId>org.opendaylight.yangtools</groupId>
140 <artifactId>yang-binding</artifactId>
143 <groupId>org.opendaylight.yangtools</groupId>
144 <artifactId>yang-common</artifactId>
147 <groupId>org.opendaylight.yangtools.model</groupId>
148 <artifactId>ietf-inet-types</artifactId>
151 <groupId>org.opendaylight.yangtools.model</groupId>
152 <artifactId>ietf-yang-types</artifactId>
155 <groupId>org.opendaylight.yangtools.model</groupId>
156 <artifactId>yang-ext</artifactId>
159 <groupId>io.netty</groupId>
160 <artifactId>netty-buffer</artifactId>
163 <groupId>junit</groupId>
164 <artifactId>junit</artifactId>
168 <groupId>org.mockito</groupId>
169 <artifactId>mockito-all</artifactId>