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