2b54f136a3cd4095b0fc590b841a737c249e2cc6
[openflowplugin.git] / openflowplugin-api / 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-parent</artifactId>
8         <version>0.6.0-SNAPSHOT</version>
9         <relativePath>../parent</relativePath>
10     </parent>
11
12     <artifactId>openflowplugin-api</artifactId>
13     <packaging>bundle</packaging>
14     <build>
15         <plugins>
16             <plugin>
17                 <groupId>org.apache.felix</groupId>
18                 <artifactId>maven-bundle-plugin</artifactId>
19             </plugin>
20             <plugin>
21                 <groupId>org.apache.maven.plugins</groupId>
22                 <artifactId>maven-checkstyle-plugin</artifactId>
23                 <configuration>
24                     <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
25                 </configuration>
26             </plugin>
27             <plugin>
28                 <groupId>org.opendaylight.yangtools</groupId>
29                 <artifactId>yang-maven-plugin</artifactId>
30                 <executions>
31                     <execution>
32                         <goals>
33                             <goal>generate-sources</goal>
34                         </goals>
35                         <configuration>
36                             <codeGenerators>
37                                 <generator>
38                                     <codeGeneratorClass>
39                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
40                                     </codeGeneratorClass>
41                                     <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
42                                     <additionalConfiguration>
43                                         <namespaceToPackage1>
44                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
45                                         </namespaceToPackage1>
46                                     </additionalConfiguration>
47                                 </generator>
48                                 <generator>
49                                     <codeGeneratorClass>
50                                         org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl
51                                     </codeGeneratorClass>
52                                     <outputBaseDir>${project.build.directory}/generated-sources/sal</outputBaseDir>
53                                 </generator>
54                                 <generator>
55                                     <codeGeneratorClass>org.opendaylight.mdsal.binding.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
56                                     <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
57                                 </generator>
58                             </codeGenerators>
59                             <inspectDependencies>true</inspectDependencies>
60                         </configuration>
61                     </execution>
62                 </executions>
63                 <dependencies>
64                     <dependency>
65                         <groupId>org.opendaylight.controller</groupId>
66                         <artifactId>yang-jmx-generator-plugin</artifactId>
67                         <version>${config.version}</version>
68                     </dependency>
69                     <dependency>
70                         <groupId>org.opendaylight.mdsal</groupId>
71                         <artifactId>maven-sal-api-gen-plugin</artifactId>
72                         <version>${mdsal.model.version}</version>
73                         <type>jar</type>
74                     </dependency>
75                 </dependencies>
76             </plugin>
77         </plugins>
78     </build>
79
80     <dependencies>
81         <dependency>
82             <groupId>${project.groupId}.model</groupId>
83             <artifactId>model-flow-service</artifactId>
84         </dependency>
85         <dependency>
86             <groupId>${project.groupId}.model</groupId>
87             <artifactId>model-flow-statistics</artifactId>
88         </dependency>
89         <dependency>
90             <groupId>org.opendaylight.controller</groupId>
91             <artifactId>sal-binding-api</artifactId>
92         </dependency>
93         <dependency>
94             <groupId>${project.groupId}.openflowjava</groupId>
95             <artifactId>openflow-protocol-api</artifactId>
96         </dependency>
97         <dependency>
98             <groupId>${project.groupId}.openflowjava</groupId>
99             <artifactId>openflow-protocol-spi</artifactId>
100         </dependency>
101         <dependency>
102             <groupId>org.opendaylight.controller</groupId>
103             <artifactId>sal-common-api</artifactId>
104         </dependency>
105         <dependency>
106             <groupId>org.opendaylight.mdsal</groupId>
107             <artifactId>mdsal-singleton-common-api</artifactId>
108         </dependency>
109     </dependencies>
110
111 </project>