Switch to spotbugs
[yangtools.git] / yang / yang-parser-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
12     <parent>
13         <groupId>org.opendaylight.odlparent</groupId>
14         <artifactId>bundle-parent</artifactId>
15         <version>4.0.0</version>
16         <relativePath/>
17     </parent>
18
19     <modelVersion>4.0.0</modelVersion>
20     <groupId>org.opendaylight.yangtools</groupId>
21     <artifactId>yang-parser-impl</artifactId>
22     <version>2.1.0-SNAPSHOT</version>
23     <packaging>bundle</packaging>
24     <name>${project.artifactId}</name>
25     <description>YANG parser</description>
26
27     <properties>
28         <sonar.jacoco.reportPath>${project.basedir}/../../target/jacoco.exec</sonar.jacoco.reportPath>
29     </properties>
30
31     <dependencyManagement>
32         <dependencies>
33             <dependency>
34                 <groupId>org.opendaylight.yangtools</groupId>
35                 <artifactId>yangtools-artifacts</artifactId>
36                 <version>2.1.0-SNAPSHOT</version>
37                 <scope>import</scope>
38                 <type>pom</type>
39             </dependency>
40         </dependencies>
41     </dependencyManagement>
42
43     <dependencies>
44         <dependency>
45             <groupId>${project.groupId}</groupId>
46             <artifactId>concepts</artifactId>
47         </dependency>
48         <dependency>
49             <groupId>${project.groupId}</groupId>
50             <artifactId>yang-common</artifactId>
51         </dependency>
52         <dependency>
53             <groupId>${project.groupId}</groupId>
54             <artifactId>yang-model-api</artifactId>
55         </dependency>
56         <dependency>
57             <groupId>${project.groupId}</groupId>
58             <artifactId>yang-parser-api</artifactId>
59         </dependency>
60         <dependency>
61             <groupId>${project.groupId}</groupId>
62             <artifactId>yang-parser-reactor</artifactId>
63         </dependency>
64         <dependency>
65             <groupId>${project.groupId}</groupId>
66             <artifactId>yang-parser-spi</artifactId>
67         </dependency>
68         <dependency>
69             <groupId>${project.groupId}</groupId>
70             <artifactId>yang-model-util</artifactId>
71         </dependency>
72
73         <!-- Base RFC6020/RFC7950 reactor support -->
74         <dependency>
75             <groupId>${project.groupId}</groupId>
76             <artifactId>yang-parser-rfc7950</artifactId>
77         </dependency>
78
79         <!-- Various extension reactor supports -->
80         <dependency>
81             <groupId>${project.groupId}</groupId>
82             <artifactId>odlext-model-api</artifactId>
83         </dependency>
84         <dependency>
85             <groupId>${project.groupId}</groupId>
86             <artifactId>odlext-parser-support</artifactId>
87         </dependency>
88         <dependency>
89             <groupId>${project.groupId}</groupId>
90             <artifactId>openconfig-model-api</artifactId>
91         </dependency>
92         <dependency>
93             <groupId>${project.groupId}</groupId>
94             <artifactId>openconfig-parser-support</artifactId>
95         </dependency>
96         <dependency>
97             <groupId>${project.groupId}</groupId>
98             <artifactId>rfc6536-model-api</artifactId>
99         </dependency>
100         <dependency>
101             <groupId>${project.groupId}</groupId>
102             <artifactId>rfc6536-parser-support</artifactId>
103         </dependency>
104         <dependency>
105             <groupId>${project.groupId}</groupId>
106             <artifactId>rfc7952-model-api</artifactId>
107         </dependency>
108         <dependency>
109             <groupId>${project.groupId}</groupId>
110             <artifactId>rfc7952-parser-support</artifactId>
111         </dependency>
112         <dependency>
113             <groupId>${project.groupId}</groupId>
114             <artifactId>rfc8040-model-api</artifactId>
115         </dependency>
116         <dependency>
117             <groupId>${project.groupId}</groupId>
118             <artifactId>rfc8040-parser-support</artifactId>
119         </dependency>
120
121         <dependency>
122             <groupId>com.google.guava</groupId>
123             <artifactId>guava</artifactId>
124         </dependency>
125         <dependency>
126             <groupId>org.kohsuke.metainf-services</groupId>
127             <artifactId>metainf-services</artifactId>
128         </dependency>
129         <dependency>
130             <groupId>org.osgi</groupId>
131             <artifactId>org.osgi.core</artifactId>
132         </dependency>
133     </dependencies>
134
135     <build>
136         <plugins>
137             <plugin>
138                 <groupId>org.codehaus.mojo</groupId>
139                 <artifactId>build-helper-maven-plugin</artifactId>
140             </plugin>
141             <plugin>
142                 <groupId>org.apache.maven.plugins</groupId>
143                 <artifactId>maven-checkstyle-plugin</artifactId>
144                 <configuration>
145                     <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
146                 </configuration>
147             </plugin>
148             <plugin>
149                 <groupId>com.github.spotbugs</groupId>
150                 <artifactId>spotbugs-maven-plugin</artifactId>
151                 <configuration>
152                     <failOnError>true</failOnError>
153                 </configuration>
154             </plugin>
155             <plugin>
156                 <groupId>org.apache.felix</groupId>
157                 <artifactId>maven-bundle-plugin</artifactId>
158                 <extensions>true</extensions>
159                 <configuration>
160                     <instructions>
161                         <Include-Resource>{META-INF/services=${project.build.directory}/classes/META-INF/services}</Include-Resource>
162                         <Bundle-Activator>org.opendaylight.yangtools.yang.parser.impl.osgi.Activator</Bundle-Activator>
163                     </instructions>
164                 </configuration>
165             </plugin>
166         </plugins>
167     </build>
168
169 </project>