Merge "FindBugs enforcement in module openflowplugin-api/"
[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.codehaus.mojo</groupId>
29               <artifactId>findbugs-maven-plugin</artifactId>
30               <configuration>
31                 <failOnError>true</failOnError>
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.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl
47                                     </codeGeneratorClass>
48                                     <outputBaseDir>${project.build.directory}/generated-sources/sal</outputBaseDir>
49                                 </generator>
50                                 <generator>
51                                     <codeGeneratorClass>org.opendaylight.mdsal.binding.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
52                                     <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
53                                 </generator>
54                             </codeGenerators>
55                             <inspectDependencies>true</inspectDependencies>
56                         </configuration>
57                     </execution>
58                 </executions>
59                 <dependencies>
60                     <dependency>
61                         <groupId>org.opendaylight.mdsal</groupId>
62                         <artifactId>maven-sal-api-gen-plugin</artifactId>
63                         <version>${mdsal.model.version}</version>
64                         <type>jar</type>
65                     </dependency>
66                 </dependencies>
67             </plugin>
68         </plugins>
69     </build>
70
71     <dependencies>
72         <dependency>
73             <groupId>${project.groupId}.model</groupId>
74             <artifactId>model-flow-service</artifactId>
75         </dependency>
76         <dependency>
77             <groupId>${project.groupId}.model</groupId>
78             <artifactId>model-flow-statistics</artifactId>
79         </dependency>
80         <dependency>
81             <groupId>org.opendaylight.controller</groupId>
82             <artifactId>sal-binding-api</artifactId>
83         </dependency>
84         <dependency>
85             <groupId>${project.groupId}.openflowjava</groupId>
86             <artifactId>openflow-protocol-api</artifactId>
87         </dependency>
88         <dependency>
89             <groupId>${project.groupId}.openflowjava</groupId>
90             <artifactId>openflow-protocol-spi</artifactId>
91         </dependency>
92         <dependency>
93             <groupId>org.opendaylight.controller</groupId>
94             <artifactId>sal-common-api</artifactId>
95         </dependency>
96         <dependency>
97             <groupId>org.opendaylight.mdsal</groupId>
98             <artifactId>mdsal-singleton-common-api</artifactId>
99         </dependency>
100         <dependency>
101             <groupId>org.opendaylight.infrautils</groupId>
102             <artifactId>diagstatus-api</artifactId>
103             <version>${infrautils.version}</version>
104         </dependency>
105     </dependencies>
106
107 </project>