4f10299907a7826ac35113b957109848603783bb
[openflowplugin.git] / extension / openflowplugin-extension-nicira / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3
4     <modelVersion>4.0.0</modelVersion>
5     <parent>
6         <groupId>org.opendaylight.openflowplugin</groupId>
7         <artifactId>openflowplugin-extension-parent</artifactId>
8         <version>0.0.3-SNAPSHOT</version>
9         <relativePath>../</relativePath>
10     </parent>
11
12     <artifactId>openflowplugin-extension-nicira</artifactId>
13     <packaging>bundle</packaging>
14     
15     <build>
16         <plugins>
17             <plugin>
18                 <groupId>org.apache.felix</groupId>
19                 <artifactId>maven-bundle-plugin</artifactId>
20             </plugin>
21             
22             <plugin>
23                 <groupId>org.opendaylight.yangtools</groupId>
24                 <artifactId>yang-maven-plugin</artifactId>
25                 <executions>
26                     <execution>
27                         <goals>
28                             <goal>generate-sources</goal>
29                         </goals>
30                         <configuration>
31                             <codeGenerators>
32                                 <generator>
33                                     <codeGeneratorClass>
34                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
35                                     </codeGeneratorClass>
36                                     <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
37                                     <additionalConfiguration>
38                                         <namespaceToPackage1>
39                                             urn:opendaylight:params:xml:ns:yang:controller:config==org.opendaylight.controller.config.yang
40                                         </namespaceToPackage1>
41                                     </additionalConfiguration>
42                                 </generator>
43                                 <generator>
44                                     <codeGeneratorClass>
45                                         org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
46                                     </codeGeneratorClass>
47                                     <outputBaseDir>${project.build.directory}/generated-sources/sal</outputBaseDir>
48                                 </generator>
49                                 <generator>
50                                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
51                                     <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
52                                 </generator>
53                             </codeGenerators>
54                             <inspectDependencies>true</inspectDependencies>
55                         </configuration>
56                     </execution>
57                 </executions>
58                 <dependencies>
59                     <dependency>
60                         <groupId>org.opendaylight.controller</groupId>
61                         <artifactId>yang-jmx-generator-plugin</artifactId>
62                         <version>${config.parent.version}</version>
63                     </dependency>
64                     <dependency>
65                         <groupId>org.opendaylight.yangtools</groupId>
66                         <artifactId>maven-sal-api-gen-plugin</artifactId>
67                         <version>${yangtools.version}</version>
68                         <type>jar</type>
69                     </dependency>
70                 </dependencies>
71             </plugin>
72         </plugins>
73     </build>
74
75     <dependencies>
76         <dependency>
77             <groupId>${project.groupId}</groupId>
78             <artifactId>openflowplugin-extension-api</artifactId>
79             <version>${project.version}</version>
80         </dependency>
81         <dependency>
82             <groupId>${project.groupId}</groupId>
83             <artifactId>openflowjava-extension-nicira</artifactId>
84         </dependency>
85         <dependency>
86             <groupId>${project.groupId}</groupId>
87             <artifactId>openflowjava-extension-nicira-api</artifactId>
88         </dependency>
89         <dependency>
90             <!-- configSubsystem yang should be moved to API and this would be doomed for removal -->
91             <groupId>org.opendaylight.openflowplugin</groupId>
92             <artifactId>openflowplugin</artifactId>
93             <version>${project.version}</version>
94         </dependency>
95
96         <!-- MD-SAL models -->
97         <dependency>
98             <groupId>org.opendaylight.controller.model</groupId>
99             <artifactId>model-flow-base</artifactId>
100         </dependency>
101         <dependency>
102             <groupId>org.opendaylight.controller.model</groupId>
103             <artifactId>model-flow-service</artifactId>
104         </dependency>
105         <dependency>
106             <groupId>org.opendaylight.controller.model</groupId>
107             <artifactId>model-flow-statistics</artifactId>
108         </dependency>
109         <dependency>
110             <groupId>org.opendaylight.controller.model</groupId>
111             <artifactId>model-inventory</artifactId>
112         </dependency>
113
114         <!-- OpenFlowJava-API models -->
115         <dependency>
116             <groupId>org.opendaylight.openflowjava</groupId>
117             <artifactId>openflow-protocol-api</artifactId>
118         </dependency>
119         <dependency>
120             <groupId>org.opendaylight.openflowjava</groupId>
121             <artifactId>openflow-protocol-impl</artifactId>
122         </dependency>
123     </dependencies>
124
125 </project>