3e04cce6d0c7f98be3f947bc394ff9efe88b4582
[yangtools.git] / yang / yang-parser-api / 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>2.1.2-SNAPSHOT</version>
16         <relativePath>../../bundle-parent</relativePath>
17     </parent>
18
19     <artifactId>yang-parser-api</artifactId>
20     <packaging>bundle</packaging>
21     <name>${project.artifactId}</name>
22     <description>YANG parser API</description>
23
24     <dependencies>
25         <dependency>
26             <groupId>org.opendaylight.yangtools</groupId>
27             <artifactId>yang-model-api</artifactId>
28         </dependency>
29     </dependencies>
30
31     <build>
32         <plugins>
33             <plugin>
34                 <groupId>org.apache.felix</groupId>
35                 <artifactId>maven-bundle-plugin</artifactId>
36                 <configuration>
37                     <instructions>
38                         <Import-Package>!javax.annotation,*</Import-Package>
39                     </instructions>
40                 </configuration>
41             </plugin>
42             <plugin>
43                 <groupId>org.apache.maven.plugins</groupId>
44                 <artifactId>maven-checkstyle-plugin</artifactId>
45                 <configuration>
46                     <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
47                 </configuration>
48             </plugin>
49             <plugin>
50                 <groupId>com.github.spotbugs</groupId>
51                 <artifactId>spotbugs-maven-plugin</artifactId>
52                 <configuration>
53                     <failOnError>true</failOnError>
54                 </configuration>
55             </plugin>
56         </plugins>
57     </build>
58 </project>