Disable SpotBugs enforcement on select artifacts
[yangtools.git] / yang / yang-data-impl / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!-- Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
4     This program and the accompanying materials are made available under the
5     terms of the Eclipse Public License v1.0 which accompanies this distribution,
6     and is available at http://www.eclipse.org/legal/epl-v10.html -->
7 <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">
8     <modelVersion>4.0.0</modelVersion>
9     <parent>
10         <groupId>org.opendaylight.yangtools</groupId>
11         <artifactId>bundle-parent</artifactId>
12         <version>4.0.0-SNAPSHOT</version>
13         <relativePath>../../bundle-parent</relativePath>
14     </parent>
15
16     <artifactId>yang-data-impl</artifactId>
17     <packaging>bundle</packaging>
18     <name>${project.artifactId}</name>
19     <description>${project.artifactId}</description>
20
21     <properties>
22         <!-- FIXME: workaround for MJAVADOC-586 -->
23         <maven.compiler.release>8</maven.compiler.release>
24
25         <!-- FIXME: antlr-generated code does not pass SB -->
26         <odlparent.spotbugs.enforce>false</odlparent.spotbugs.enforce>
27     </properties>
28
29     <build>
30         <plugins>
31             <plugin>
32                 <groupId>org.antlr</groupId>
33                 <artifactId>antlr4-maven-plugin</artifactId>
34                 <executions>
35                     <execution>
36                         <goals>
37                             <goal>antlr4</goal>
38                         </goals>
39                     </execution>
40                 </executions>
41                 <configuration>
42                     <sourceDirectory>src/main/antlr</sourceDirectory>
43                     <outputDirectory>target/generated-sources/parser/org/opendaylight/yangtools/yang/data/impl/leafref</outputDirectory>
44                     <visitor>true</visitor>
45                     <listener>true</listener>
46                 </configuration>
47             </plugin>
48             <plugin>
49                 <groupId>org.apache.maven.plugins</groupId>
50                 <artifactId>maven-surefire-plugin</artifactId>
51                 <configuration>
52                 <argLine>-Dlog4j.configuration=log4j-test.xml
53                     -Xmx1500m ${jacoco.agent.ut.arg}</argLine>
54                     <redirectTestOutputToFile>true</redirectTestOutputToFile>
55                 </configuration>
56             </plugin>
57             <plugin>
58                 <groupId>org.apache.felix</groupId>
59                 <artifactId>maven-bundle-plugin</artifactId>
60                 <extensions>true</extensions>
61                 <configuration>
62                     <instructions>
63                         <Automatic-Module-Name>org.opendaylight.yangtools.yang.data.impl</Automatic-Module-Name>
64                         <Export-Package>
65                             {local-packages},
66                             org.opendaylight.yangtools.yang.data.impl.*,
67                             ;-split-package:=error
68                         </Export-Package>
69                         <Bundle-Activator>org.opendaylight.yangtools.yang.data.impl.osgi.Activator</Bundle-Activator>
70                     </instructions>
71                 </configuration>
72             </plugin>
73             <plugin>
74                 <groupId>org.jacoco</groupId>
75                 <artifactId>jacoco-maven-plugin</artifactId>
76                 <executions>
77                     <execution>
78                         <id>pre-unit-test</id>
79                         <goals>
80                             <goal>prepare-agent</goal>
81                         </goals>
82                         <configuration>
83                             <propertyName>jacoco.agent.ut.arg</propertyName>
84                         </configuration>
85                     </execution>
86                     <execution>
87                         <id>prepare-it-agent</id>
88                         <phase>pre-integration-test</phase>
89                         <goals>
90                             <goal>prepare-agent</goal>
91                         </goals>
92                         <configuration>
93                             <propertyName>jacoco.agent.it.arg</propertyName>
94                         </configuration>
95                     </execution>
96                 </executions>
97             </plugin>
98             <plugin>
99                 <groupId>org.apache.maven.plugins</groupId>
100                 <artifactId>maven-checkstyle-plugin</artifactId>
101                 <configuration>
102                     <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
103                 </configuration>
104             </plugin>
105         </plugins>
106     </build>
107
108     <dependencies>
109         <dependency>
110             <groupId>org.opendaylight.yangtools</groupId>
111             <artifactId>util</artifactId>
112         </dependency>
113         <dependency>
114             <groupId>org.opendaylight.yangtools</groupId>
115             <artifactId>yang-common</artifactId>
116         </dependency>
117         <dependency>
118             <groupId>org.opendaylight.yangtools</groupId>
119             <artifactId>yang-data-api</artifactId>
120         </dependency>
121         <dependency>
122             <groupId>org.opendaylight.yangtools</groupId>
123             <artifactId>yang-data-util</artifactId>
124         </dependency>
125         <dependency>
126             <groupId>org.opendaylight.yangtools</groupId>
127             <artifactId>yang-model-api</artifactId>
128         </dependency>
129         <dependency>
130             <groupId>org.opendaylight.yangtools</groupId>
131             <artifactId>yang-model-util</artifactId>
132         </dependency>
133         <dependency>
134             <groupId>org.opendaylight.yangtools</groupId>
135             <artifactId>rfc7952-data-util</artifactId>
136         </dependency>
137         <dependency>
138             <groupId>org.opendaylight.yangtools</groupId>
139             <artifactId>rfc8528-data-util</artifactId>
140         </dependency>
141         <dependency>
142             <groupId>com.google.guava</groupId>
143             <artifactId>guava</artifactId>
144         </dependency>
145         <dependency>
146             <groupId>org.antlr</groupId>
147             <artifactId>antlr4-runtime</artifactId>
148         </dependency>
149         <dependency>
150             <groupId>javax.xml.bind</groupId>
151             <artifactId>jaxb-api</artifactId>
152         </dependency>
153
154         <dependency>
155             <groupId>org.kohsuke.metainf-services</groupId>
156             <artifactId>metainf-services</artifactId>
157         </dependency>
158         <dependency>
159             <groupId>org.osgi</groupId>
160             <artifactId>org.osgi.core</artifactId>
161         </dependency>
162
163         <dependency>
164             <groupId>org.slf4j</groupId>
165             <artifactId>slf4j-log4j12</artifactId>
166             <scope>test</scope>
167         </dependency>
168         <dependency>
169             <groupId>org.xmlunit</groupId>
170             <artifactId>xmlunit-legacy</artifactId>
171         </dependency>
172         <dependency>
173             <groupId>org.opendaylight.yangtools</groupId>
174             <artifactId>yang-parser-impl</artifactId>
175             <scope>test</scope>
176         </dependency>
177         <dependency>
178             <groupId>org.opendaylight.yangtools</groupId>
179             <artifactId>yang-test-util</artifactId>
180             <scope>test</scope>
181         </dependency>
182     </dependencies>
183
184 </project>