Disable SpotBugs enforcement on select artifacts
[yangtools.git] / yang / yang-parser-rfc7950 / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <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">
11     <modelVersion>4.0.0</modelVersion>
12     <parent>
13         <groupId>org.opendaylight.yangtools</groupId>
14         <artifactId>bundle-parent</artifactId>
15         <version>4.0.0-SNAPSHOT</version>
16         <relativePath>../../bundle-parent</relativePath>
17     </parent>
18
19     <artifactId>yang-parser-rfc7950</artifactId>
20     <packaging>bundle</packaging>
21     <name>${project.artifactId}</name>
22     <description>RFC6020/RFC7950 parser support</description>
23
24     <properties>
25         <!-- FIXME: workaround for MJAVADOC-586 -->
26         <maven.compiler.release>8</maven.compiler.release>
27
28         <!-- FIXME: antlr-generated code does not pass SB -->
29         <odlparent.spotbugs.enforce>false</odlparent.spotbugs.enforce>
30     </properties>
31
32     <dependencies>
33         <dependency>
34             <groupId>com.google.guava</groupId>
35             <artifactId>guava</artifactId>
36         </dependency>
37         <dependency>
38             <groupId>org.opendaylight.yangtools</groupId>
39             <artifactId>concepts</artifactId>
40         </dependency>
41         <dependency>
42             <groupId>org.opendaylight.yangtools</groupId>
43             <artifactId>yang-common</artifactId>
44         </dependency>
45         <dependency>
46             <groupId>org.opendaylight.yangtools</groupId>
47             <artifactId>yang-model-api</artifactId>
48         </dependency>
49         <dependency>
50             <groupId>org.opendaylight.yangtools</groupId>
51             <artifactId>yang-parser-api</artifactId>
52         </dependency>
53         <dependency>
54             <groupId>org.opendaylight.yangtools</groupId>
55             <artifactId>yang-parser-reactor</artifactId>
56         </dependency>
57         <dependency>
58             <groupId>org.opendaylight.yangtools</groupId>
59             <artifactId>yang-parser-spi</artifactId>
60         </dependency>
61         <dependency>
62             <groupId>org.opendaylight.yangtools</groupId>
63             <artifactId>yang-model-util</artifactId>
64         </dependency>
65         <dependency>
66             <groupId>org.opendaylight.yangtools</groupId>
67             <artifactId>openconfig-model-api</artifactId>
68         </dependency>
69
70         <dependency>
71             <groupId>org.antlr</groupId>
72             <artifactId>antlr4-runtime</artifactId>
73         </dependency>
74
75         <dependency>
76             <groupId>ch.qos.logback</groupId>
77             <artifactId>logback-classic</artifactId>
78             <scope>test</scope>
79         </dependency>
80     </dependencies>
81
82     <build>
83         <plugins>
84             <plugin>
85                 <groupId>org.antlr</groupId>
86                 <artifactId>antlr4-maven-plugin</artifactId>
87                 <executions>
88                     <execution>
89                         <goals>
90                             <goal>antlr4</goal>
91                         </goals>
92                     </execution>
93                 </executions>
94                 <configuration>
95                     <sourceDirectory>src/main/antlr</sourceDirectory>
96                     <outputDirectory>${project.build.directory}/generated-sources/parser/org/opendaylight/yangtools/antlrv4/code/gen</outputDirectory>
97                     <visitor>true</visitor>
98                     <listener>false</listener>
99                 </configuration>
100             </plugin>
101             <plugin>
102                 <groupId>org.apache.felix</groupId>
103                 <artifactId>maven-bundle-plugin</artifactId>
104                 <configuration>
105                     <instructions>
106                         <Automatic-Module-Name>org.opendaylight.yangtools.yang.parser.rfc7950</Automatic-Module-Name>
107                     </instructions>
108                 </configuration>
109             </plugin>
110             <plugin>
111                 <groupId>org.codehaus.mojo</groupId>
112                 <artifactId>build-helper-maven-plugin</artifactId>
113             </plugin>
114             <plugin>
115                 <groupId>org.apache.maven.plugins</groupId>
116                 <artifactId>maven-checkstyle-plugin</artifactId>
117                 <configuration>
118                     <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
119                 </configuration>
120             </plugin>
121         </plugins>
122     </build>
123
124 </project>