Release Boron-SR1
[openflowjava.git] / openflow-protocol-spi / 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>openflowjava-parent</artifactId>
6         <version>0.8.1-Boron-SR1</version>
7         <relativePath>../parent</relativePath>
8     </parent>
9     <artifactId>openflow-protocol-spi</artifactId>
10     <packaging>bundle</packaging>
11
12     <name>Openflow Protocol Library - SPI</name>
13     <scm>
14         <url>https://wiki.opendaylight.org/view/Openflow_Protocol_Library:Main</url>
15       <tag>HEAD</tag>
16   </scm>
17
18   <build>
19         <plugins>
20             <plugin>
21               <groupId>org.apache.felix</groupId>
22               <artifactId>maven-bundle-plugin</artifactId>
23               <extensions>true</extensions>
24               <configuration>
25                 <instructions>
26                   <Import-Package>org.opendaylight.openflowjava.protocol.api.keys,*</Import-Package>
27                 </instructions>
28               </configuration>
29             </plugin>
30             <plugin>
31                 <groupId>org.opendaylight.yangtools</groupId>
32                 <artifactId>yang-maven-plugin</artifactId>
33                 <executions>
34                     <execution>
35                         <goals>
36                             <goal>generate-sources</goal>
37                         </goals>
38                         <configuration>
39                             <codeGenerators>
40                                 <generator>
41                                     <codeGeneratorClass>
42                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
43                                     </codeGeneratorClass>
44                                     <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
45                                     <additionalConfiguration>
46                                         <namespaceToPackage1>
47                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
48                                         </namespaceToPackage1>
49                                     </additionalConfiguration>
50                                 </generator>
51                                 <generator>
52                                     <codeGeneratorClass>
53                                         org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
54                                     </codeGeneratorClass>
55                                     <outputBaseDir>${salGeneratorPath}</outputBaseDir>
56                                 </generator>
57                                 <generator>
58                                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
59                                     <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
60                                 </generator>
61                             </codeGenerators>
62                             <inspectDependencies>true</inspectDependencies>
63                         </configuration>
64                     </execution>
65                 </executions>
66                 <dependencies>
67                     <dependency>
68                         <groupId>org.opendaylight.controller</groupId>
69                         <artifactId>yang-jmx-generator-plugin</artifactId>
70                         <version>${config.version}</version>
71                     </dependency>
72                     <dependency>
73                         <groupId>org.opendaylight.mdsal</groupId>
74                         <artifactId>maven-sal-api-gen-plugin</artifactId>
75                         <version>${mdsal.model.version}</version>
76                         <type>jar</type>
77                     </dependency>
78                 </dependencies>
79             </plugin>
80         </plugins>
81     </build>
82
83     <dependencies>
84         <dependency>
85             <groupId>${project.groupId}</groupId>
86             <artifactId>openflow-protocol-api</artifactId>
87         </dependency>
88         <dependency>
89             <groupId>org.opendaylight.controller</groupId>
90             <artifactId>config-api</artifactId>
91         </dependency>
92     </dependencies>
93 </project>