OpenDaylight Beryllium-SR4 release
[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.7.4-Beryllium-SR4</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                     <Export-Package>
27                       org.opendaylight.openflowjava.protocol.spi*,
28                       org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow._switch.connection.provider.*
29                     </Export-Package>
30                 </instructions>
31               </configuration>
32             </plugin>
33             <plugin>
34                 <groupId>org.opendaylight.yangtools</groupId>
35                 <artifactId>yang-maven-plugin</artifactId>
36                 <executions>
37                     <execution>
38                         <goals>
39                             <goal>generate-sources</goal>
40                         </goals>
41                         <configuration>
42                             <codeGenerators>
43                                 <generator>
44                                     <codeGeneratorClass>
45                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
46                                     </codeGeneratorClass>
47                                     <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
48                                     <additionalConfiguration>
49                                         <namespaceToPackage1>
50                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
51                                         </namespaceToPackage1>
52                                     </additionalConfiguration>
53                                 </generator>
54                                 <generator>
55                                     <codeGeneratorClass>
56                                         org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
57                                     </codeGeneratorClass>
58                                     <outputBaseDir>${salGeneratorPath}</outputBaseDir>
59                                 </generator>
60                                 <generator>
61                                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
62                                     <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
63                                 </generator>
64                             </codeGenerators>
65                             <inspectDependencies>true</inspectDependencies>
66                         </configuration>
67                     </execution>
68                 </executions>
69                 <dependencies>
70                     <dependency>
71                         <groupId>org.opendaylight.controller</groupId>
72                         <artifactId>yang-jmx-generator-plugin</artifactId>
73                         <version>${config.version}</version>
74                     </dependency>
75                     <dependency>
76                         <groupId>org.opendaylight.mdsal</groupId>
77                         <artifactId>maven-sal-api-gen-plugin</artifactId>
78                         <version>${yangtools.version}</version>
79                         <type>jar</type>
80                     </dependency>
81                 </dependencies>
82             </plugin>
83         </plugins>
84     </build>
85
86     <dependencies>
87         <dependency>
88             <groupId>${project.groupId}</groupId>
89             <artifactId>openflow-protocol-api</artifactId>
90         </dependency>
91         <dependency>
92             <groupId>org.opendaylight.controller</groupId>
93             <artifactId>config-api</artifactId>
94         </dependency>
95     </dependencies>
96 </project>