Fix checkstyle violations in messagebus
[controller.git] / opendaylight / md-sal / parent / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  Copyright (c) 2018 Inocybe Technologies and others.  All rights reserved.
4
5  This program and the accompanying materials are made available under the
6  terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <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">
10   <modelVersion>4.0.0</modelVersion>
11   <parent>
12     <groupId>org.opendaylight.mdsal</groupId>
13     <artifactId>binding-parent</artifactId>
14     <version>0.13.0-SNAPSHOT</version>
15     <relativePath/>
16   </parent>
17
18   <groupId>org.opendaylight.controller</groupId>
19   <artifactId>mdsal-parent</artifactId>
20   <version>1.8.0-SNAPSHOT</version>
21   <packaging>pom</packaging>
22
23   <properties>
24     <jmxGeneratorPath>${project.build.directory}/generated-sources/config-binding</jmxGeneratorPath>
25   </properties>
26
27   <dependencyManagement>
28     <dependencies>
29       <dependency>
30         <groupId>org.opendaylight.controller</groupId>
31         <artifactId>mdsal-artifacts</artifactId>
32         <version>1.8.0-SNAPSHOT</version>
33         <type>pom</type>
34         <scope>import</scope>
35       </dependency>
36       <dependency>
37         <groupId>org.opendaylight.controller</groupId>
38         <artifactId>config-artifacts</artifactId>
39         <version>0.9.0-SNAPSHOT</version>
40         <type>pom</type>
41         <scope>import</scope>
42       </dependency>
43     </dependencies>
44   </dependencyManagement>
45
46   <dependencies>
47     <dependency>
48       <groupId>org.opendaylight.yangtools</groupId>
49       <artifactId>yang-common</artifactId>
50     </dependency>
51     <dependency>
52       <groupId>org.opendaylight.controller</groupId>
53       <artifactId>config-api</artifactId>
54     </dependency>
55   </dependencies>
56
57   <build>
58     <plugins>
59       <plugin>
60         <groupId>org.opendaylight.yangtools</groupId>
61         <artifactId>yang-maven-plugin</artifactId>
62         <version>2.0.1</version>
63         <dependencies>
64           <dependency>
65             <groupId>org.opendaylight.controller</groupId>
66             <artifactId>yang-jmx-generator-plugin</artifactId>
67             <version>0.9.0-SNAPSHOT</version>
68           </dependency>
69         </dependencies>
70         <executions>
71           <execution>
72             <id>config</id>
73             <goals>
74               <goal>generate-sources</goal>
75             </goals>
76             <configuration>
77               <codeGenerators>
78                 <generator>
79                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
80                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
81                   <additionalConfiguration>
82                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
83                   </additionalConfiguration>
84                 </generator>
85               </codeGenerators>
86               <inspectDependencies>true</inspectDependencies>
87             </configuration>
88           </execution>
89         </executions>
90       </plugin>
91       <plugin>
92         <artifactId>maven-clean-plugin</artifactId>
93         <configuration>
94           <filesets>
95             <fileset>
96               <directory>${jmxGeneratorPath}</directory>
97                 <includes>
98                   <include>**</include>
99                 </includes>
100               </fileset>
101               <fileset>
102                 <directory>${salGeneratorPath}</directory>
103                 <includes>
104                   <include>**</include>
105               </includes>
106             </fileset>
107           </filesets>
108         </configuration>
109       </plugin>
110 <!--
111       <plugin>
112         <groupId>org.apache.maven.plugins</groupId>
113         <artifactId>maven-checkstyle-plugin</artifactId>
114         <configuration>
115           <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
116         </configuration>
117       </plugin>
118 -->
119 <!--
120       <plugin>
121         <groupId>org.codehaus.mojo</groupId>
122         <artifactId>findbugs-maven-plugin</artifactId>
123         <configuration>
124           <failOnError>true</failOnError>
125         </configuration>
126       </plugin>
127 -->
128     </plugins>
129   </build>
130 </project>