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.7.0-SNAPSHOT</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>
68 <version>1.7</version>
71 <phase>prepare-package</phase>
78 <fileset dir="${project.build.directory}/classes/META-INF/yang">
79 <include name="*.yang"/>
80 <exclude name="openflow-types.yang"/>
81 <exclude name="openflow-extensible-match.yang"/>
82 <exclude name="openflow-action.yang"/>
83 <exclude name="openflow-configuration.yang"/>
85 <fileset dir="${project.build.directory}/generated-sources/yang/META-INF/yang">
86 <include name="*.yang"/>
87 <exclude name="openflow-types.yang"/>
88 <exclude name="openflow-extensible-match.yang"/>
89 <exclude name="openflow-action.yang"/>
90 <exclude name="openflow-configuration.yang"/>
101 <!--This plugin's configuration is used to store Eclipse
102 m2e settings only. It has no influence on the Maven build itself. -->
104 <groupId>org.eclipse.m2e</groupId>
105 <artifactId>lifecycle-mapping</artifactId>
106 <version>1.0.0</version>
108 <lifecycleMappingMetadata>
111 <pluginExecutionFilter>
113 org.opendaylight.yangtools
126 </pluginExecutionFilter>
132 </lifecycleMappingMetadata>
140 <groupId>org.opendaylight.yangtools</groupId>
141 <artifactId>yang-binding</artifactId>
144 <groupId>org.opendaylight.yangtools</groupId>
145 <artifactId>yang-common</artifactId>
148 <groupId>org.opendaylight.yangtools.model</groupId>
149 <artifactId>ietf-inet-types</artifactId>
152 <groupId>org.opendaylight.yangtools.model</groupId>
153 <artifactId>ietf-yang-types</artifactId>
156 <groupId>org.opendaylight.yangtools.model</groupId>
157 <artifactId>yang-ext</artifactId>
160 <groupId>io.netty</groupId>
161 <artifactId>netty-buffer</artifactId>
164 <groupId>junit</groupId>
165 <artifactId>junit</artifactId>
169 <groupId>org.mockito</groupId>
170 <artifactId>mockito-all</artifactId>