Integrate OpenFlowJava into OpenFlowPlugin build
[openflowplugin.git] / extension / openflowjava-extension-nicira / pom.xml
1 <?xml version="1.0"?>
2 <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
3     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4     <modelVersion>4.0.0</modelVersion>
5     <parent>
6         <groupId>org.opendaylight.openflowplugin</groupId>
7         <artifactId>openflowplugin-extension-parent</artifactId>
8         <version>0.5.0-SNAPSHOT</version>
9         <relativePath>../</relativePath>
10     </parent>
11     <artifactId>openflowjava-extension-nicira</artifactId>
12     <packaging>bundle</packaging>
13
14     <build>
15         <plugins>
16             <plugin>
17                 <groupId>org.apache.felix</groupId>
18                 <artifactId>maven-bundle-plugin</artifactId>
19             </plugin>
20
21             <plugin>
22                 <groupId>org.opendaylight.yangtools</groupId>
23                 <artifactId>yang-maven-plugin</artifactId>
24                 <executions>
25                     <execution>
26                         <goals>
27                             <goal>generate-sources</goal>
28                         </goals>
29                         <configuration>
30                             <codeGenerators>
31                                 <generator>
32                                     <codeGeneratorClass>
33                                         org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl
34                                     </codeGeneratorClass>
35                                     <outputBaseDir>${project.build.directory}/generated-sources/sal</outputBaseDir>
36                                 </generator>
37                                 <generator>
38                                     <codeGeneratorClass>org.opendaylight.mdsal.binding.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
39                                     <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
40                                 </generator>
41                             </codeGenerators>
42                             <inspectDependencies>true</inspectDependencies>
43                         </configuration>
44                     </execution>
45                 </executions>
46                 <dependencies>
47                     <dependency>
48                         <groupId>org.opendaylight.controller</groupId>
49                         <artifactId>yang-jmx-generator-plugin</artifactId>
50                         <version>${config.version}</version>
51                     </dependency>
52                     <dependency>
53                         <groupId>org.opendaylight.mdsal</groupId>
54                         <artifactId>maven-sal-api-gen-plugin</artifactId>
55                         <version>${mdsal.model.version}</version>
56                         <type>jar</type>
57                     </dependency>
58                 </dependencies>
59             </plugin>
60         </plugins>
61     </build>
62
63
64     <dependencies>
65         <dependency>
66             <groupId>${project.groupId}.openflowjava</groupId>
67             <artifactId>openflow-protocol-api</artifactId>
68         </dependency>
69         <dependency>
70             <groupId>${project.groupId}.openflowjava</groupId>
71             <artifactId>openflow-protocol-spi</artifactId>
72         </dependency>
73         <dependency>
74             <groupId>${project.groupId}.openflowjava</groupId>
75             <artifactId>openflowjava-util</artifactId>
76         </dependency>
77         <dependency>
78             <groupId>${project.groupId}</groupId>
79             <artifactId>openflowjava-extension-nicira-api</artifactId>
80         </dependency>
81         <dependency>
82             <groupId>io.netty</groupId>
83             <artifactId>netty-buffer</artifactId>
84         </dependency>
85         <dependency>
86             <groupId>junit</groupId>
87             <artifactId>junit</artifactId>
88             <scope>test</scope>
89         </dependency>
90         <dependency>
91             <groupId>org.slf4j</groupId>
92             <artifactId>slf4j-log4j12</artifactId>
93             <scope>test</scope>
94         </dependency>
95         <dependency>
96             <groupId>org.opendaylight.controller</groupId>
97             <artifactId>config-api</artifactId>
98         </dependency>
99         <dependency>
100             <groupId>org.mockito</groupId>
101             <artifactId>mockito-core</artifactId>
102             <scope>test</scope>
103         </dependency>
104     </dependencies>
105 </project>