Release Boron-SR4
[openflowjava.git] / openflow-protocol-impl / 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.4-Boron-SR4</version>
7         <relativePath>../parent</relativePath>
8     </parent>
9     <artifactId>openflow-protocol-impl</artifactId>
10     <packaging>bundle</packaging>
11     <name>Openflow Protocol Library - IMPL</name>
12     <scm>
13         <url>https://wiki.opendaylight.org/view/Openflow_Protocol_Library:Main</url>
14       <tag>HEAD</tag>
15   </scm>
16
17     <build>
18         <plugins>
19             <plugin>
20               <groupId>org.apache.felix</groupId>
21               <artifactId>maven-bundle-plugin</artifactId>
22               <extensions>true</extensions>
23               <configuration>
24                 <instructions>
25                     <Export-Package>
26                       org.opendaylight.openflowjava.protocol.impl.*,
27                       org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow._switch.connection.provider.impl.*
28                     </Export-Package>
29                 </instructions>
30               </configuration>
31             </plugin>
32             <plugin>
33                 <groupId>org.opendaylight.yangtools</groupId>
34                 <artifactId>yang-maven-plugin</artifactId>
35                 <executions>
36                     <execution>
37                         <goals>
38                             <goal>generate-sources</goal>
39                         </goals>
40                         <configuration>
41                             <codeGenerators>
42                                 <generator>
43                                     <codeGeneratorClass>
44                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
45                                     </codeGeneratorClass>
46                                     <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
47                                     <additionalConfiguration>
48                                         <namespaceToPackage1>
49                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
50                                         </namespaceToPackage1>
51                                     </additionalConfiguration>
52                                 </generator>
53                                 <generator>
54                                     <codeGeneratorClass>
55                                         org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
56                                     </codeGeneratorClass>
57                                     <outputBaseDir>${salGeneratorPath}</outputBaseDir>
58                                 </generator>
59                                 <generator>
60                                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
61                                     <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
62                                 </generator>
63                             </codeGenerators>
64                             <inspectDependencies>true</inspectDependencies>
65                         </configuration>
66                     </execution>
67                 </executions>
68                 <dependencies>
69                     <dependency>
70                         <groupId>org.opendaylight.controller</groupId>
71                         <artifactId>yang-jmx-generator-plugin</artifactId>
72                         <version>${config.version}</version>
73                     </dependency>
74                     <dependency>
75                         <groupId>org.opendaylight.mdsal</groupId>
76                         <artifactId>maven-sal-api-gen-plugin</artifactId>
77                         <version>${mdsal.model.version}</version>
78                         <type>jar</type>
79                     </dependency>
80                 </dependencies>
81             </plugin>
82             <plugin>
83                 <groupId>org.apache.maven.plugins</groupId>
84                 <artifactId>maven-jar-plugin</artifactId>
85                 <executions>
86                     <execution>
87                         <goals>
88                             <goal>test-jar</goal>
89                         </goals>
90                     </execution>
91                 </executions>
92             </plugin>
93         </plugins>
94     </build>
95
96     <dependencies>
97         <dependency>
98             <groupId>${project.groupId}</groupId>
99             <artifactId>openflow-protocol-api</artifactId>
100         </dependency>
101         <dependency>
102             <groupId>${project.groupId}</groupId>
103             <artifactId>openflow-protocol-spi</artifactId>
104         </dependency>
105         <dependency>
106             <groupId>org.opendaylight.openflowjava</groupId>
107             <artifactId>openflowjava-util</artifactId>
108         </dependency>
109         <dependency>
110             <groupId>org.opendaylight.controller</groupId>
111             <artifactId>sal-common-util</artifactId>
112             <exclusions>
113                 <exclusion>
114                     <groupId>org.opendaylight.controller</groupId>
115                     <artifactId>sal-common-api</artifactId>
116                 </exclusion>
117                 <exclusion>
118                     <groupId>org.opendaylight.yangtools</groupId>
119                     <artifactId>concepts</artifactId>
120                 </exclusion>
121             </exclusions>
122         </dependency>
123         <dependency>
124             <groupId>io.netty</groupId>
125             <artifactId>netty-handler</artifactId>
126         </dependency>
127         <dependency>
128             <groupId>org.osgi</groupId>
129             <artifactId>org.osgi.core</artifactId>
130         </dependency>
131         <dependency>
132             <groupId>org.slf4j</groupId>
133             <artifactId>slf4j-log4j12</artifactId>
134             <scope>test</scope>
135         </dependency>
136         <dependency>
137             <groupId>com.google.guava</groupId>
138             <artifactId>guava</artifactId>
139         </dependency>
140         <dependency>
141             <groupId>junit</groupId>
142             <artifactId>junit</artifactId>
143             <scope>test</scope>
144         </dependency>
145         <dependency>
146             <groupId>org.mockito</groupId>
147             <artifactId>mockito-all</artifactId>
148         </dependency>
149         <dependency>
150             <groupId>org.opendaylight.controller</groupId>
151             <artifactId>config-api</artifactId>
152         </dependency>
153         <dependency>
154             <groupId>io.netty</groupId>
155             <artifactId>netty-transport-native-epoll</artifactId>
156             <!-- Explicitly bring in the linux classifier, test may fail on 32-bit linux -->
157             <classifier>linux-x86_64</classifier>
158         </dependency>
159     </dependencies>
160 </project>