Do not import java.annotation
[yangtools.git] / yang / yang-data-codec-gson / 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     <parent>
12         <groupId>org.opendaylight.odlparent</groupId>
13         <artifactId>bundle-parent</artifactId>
14         <version>4.0.2</version>
15         <relativePath/>
16     </parent>
17
18     <modelVersion>4.0.0</modelVersion>
19     <groupId>org.opendaylight.yangtools</groupId>
20     <artifactId>yang-data-codec-gson</artifactId>
21     <version>2.1.2-SNAPSHOT</version>
22     <packaging>bundle</packaging>
23     <name>${project.artifactId}</name>
24     <description>${project.artifactId}</description>
25
26     <dependencyManagement>
27         <dependencies>
28             <dependency>
29                 <groupId>org.opendaylight.yangtools</groupId>
30                 <artifactId>yangtools-artifacts</artifactId>
31                 <version>2.1.2-SNAPSHOT</version>
32                 <scope>import</scope>
33                 <type>pom</type>
34             </dependency>
35         </dependencies>
36     </dependencyManagement>
37
38     <dependencies>
39         <dependency>
40             <groupId>org.opendaylight.yangtools</groupId>
41             <artifactId>yang-data-api</artifactId>
42         </dependency>
43         <dependency>
44             <groupId>com.google.code.gson</groupId>
45             <artifactId>gson</artifactId>
46         </dependency>
47         <dependency>
48             <groupId>org.opendaylight.yangtools</groupId>
49             <artifactId>yang-data-impl</artifactId>
50         </dependency>
51         <dependency>
52             <groupId>org.opendaylight.yangtools</groupId>
53             <artifactId>yang-data-util</artifactId>
54         </dependency>
55
56         <dependency>
57             <groupId>org.opendaylight.yangtools</groupId>
58             <artifactId>yang-data-codec-xml</artifactId>
59             <scope>test</scope>
60         </dependency>
61         <dependency>
62             <groupId>org.opendaylight.yangtools</groupId>
63             <artifactId>yang-parser-impl</artifactId>
64             <scope>test</scope>
65         </dependency>
66         <dependency>
67             <groupId>org.opendaylight.yangtools</groupId>
68             <artifactId>yang-test-util</artifactId>
69             <scope>test</scope>
70         </dependency>
71         <dependency>
72             <groupId>org.opendaylight.yangtools</groupId>
73             <artifactId>mockito-configuration</artifactId>
74         </dependency>
75     </dependencies>
76
77     <build>
78         <plugins>
79             <plugin>
80                 <groupId>org.apache.felix</groupId>
81                 <artifactId>maven-bundle-plugin</artifactId>
82                 <configuration>
83                     <instructions>
84                         <Import-Package>!javax.annotation,*</Import-Package>
85                     </instructions>
86                 </configuration>
87             </plugin>
88             <plugin>
89                 <groupId>org.apache.maven.plugins</groupId>
90                 <artifactId>maven-checkstyle-plugin</artifactId>
91                 <configuration>
92                     <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
93                 </configuration>
94             </plugin>
95             <plugin>
96                 <groupId>com.github.spotbugs</groupId>
97                 <artifactId>spotbugs-maven-plugin</artifactId>
98                 <configuration>
99                     <failOnError>true</failOnError>
100                 </configuration>
101             </plugin>
102         </plugins>
103     </build>
104
105 </project>