Disable SpotBugs enforcement on select artifacts
[yangtools.git] / yang / yang-xpath-impl / 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-xpath-impl</artifactId>
20     <version>2.0.0-SNAPSHOT</version>
21     <packaging>bundle</packaging>
22     <name>${project.artifactId}</name>
23     <description>YANG XPath parser</description>
24
25     <properties>
26         <!-- FIXME: workaround for MJAVADOC-586 -->
27         <maven.compiler.release>8</maven.compiler.release>
28
29         <!-- FIXME: antlr-generated code does not pass SB -->
30         <odlparent.spotbugs.enforce>false</odlparent.spotbugs.enforce>
31     </properties>
32
33     <dependencies>
34         <dependency>
35             <groupId>com.google.guava</groupId>
36             <artifactId>guava</artifactId>
37         </dependency>
38         <dependency>
39             <groupId>org.opendaylight.yangtools</groupId>
40             <artifactId>concepts</artifactId>
41         </dependency>
42         <dependency>
43             <groupId>org.opendaylight.yangtools</groupId>
44             <artifactId>yang-common</artifactId>
45         </dependency>
46         <dependency>
47             <groupId>org.opendaylight.yangtools</groupId>
48             <artifactId>yang-xpath-api</artifactId>
49         </dependency>
50
51         <dependency>
52             <groupId>org.antlr</groupId>
53             <artifactId>antlr4-runtime</artifactId>
54         </dependency>
55         <dependency>
56             <groupId>org.kohsuke.metainf-services</groupId>
57             <artifactId>metainf-services</artifactId>
58         </dependency>
59         <dependency>
60             <groupId>org.osgi</groupId>
61             <artifactId>org.osgi.core</artifactId>
62         </dependency>
63     </dependencies>
64
65     <build>
66         <plugins>
67             <plugin>
68                 <groupId>org.antlr</groupId>
69                 <artifactId>antlr4-maven-plugin</artifactId>
70                 <executions>
71                     <execution>
72                         <goals>
73                             <goal>antlr4</goal>
74                         </goals>
75                     </execution>
76                 </executions>
77                 <configuration>
78                     <sourceDirectory>src/main/antlr</sourceDirectory>
79                     <outputDirectory>${project.build.directory}/generated-sources/antlr/org/opendaylight/yangtools/yang/xpath/impl</outputDirectory>
80                     <visitor>false</visitor>
81                     <listener>false</listener>
82                 </configuration>
83             </plugin>
84             <plugin>
85                 <groupId>org.apache.felix</groupId>
86                 <artifactId>maven-bundle-plugin</artifactId>
87                 <extensions>true</extensions>
88                 <configuration>
89                     <instructions>
90                         <Automatic-Module-Name>org.opendaylight.yangtools.yang.xpath.impl</Automatic-Module-Name>
91                         <Bundle-Activator>org.opendaylight.yangtools.yang.xpath.impl.Activator</Bundle-Activator>
92                     </instructions>
93                 </configuration>
94             </plugin>
95             <plugin>
96                 <groupId>org.apache.maven.plugins</groupId>
97                 <artifactId>maven-checkstyle-plugin</artifactId>
98                 <configuration>
99                     <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
100                 </configuration>
101             </plugin>
102         </plugins>
103     </build>
104
105 </project>