Do not import javax.annotation
[mdsal.git] / binding2 / mdsal-binding2-spi / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  Copyright © 2018 Red Hat, Inc. and others.
4
5  This program and the accompanying materials are made available under the
6  terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <project xmlns="http://maven.apache.org/POM/4.0.0"
10          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12     <modelVersion>4.0.0</modelVersion>
13     <parent>
14         <groupId>org.opendaylight.mdsal</groupId>
15         <artifactId>dom-parent</artifactId>
16         <version>3.0.3-SNAPSHOT</version>
17         <relativePath>../../dom/dom-parent</relativePath>
18     </parent>
19
20     <artifactId>mdsal-binding2-spi</artifactId>
21     <version>0.15.3-SNAPSHOT</version>
22     <packaging>bundle</packaging>
23
24     <dependencies>
25         <dependency>
26             <groupId>org.opendaylight.mdsal</groupId>
27             <artifactId>mdsal-binding2-api</artifactId>
28         </dependency>
29         <dependency>
30             <groupId>org.opendaylight.mdsal</groupId>
31             <artifactId>mdsal-binding2-spec</artifactId>
32         </dependency>
33         <dependency>
34             <groupId>org.opendaylight.mdsal</groupId>
35             <artifactId>mdsal-common-api</artifactId>
36         </dependency>
37         <dependency>
38             <groupId>org.opendaylight.yangtools</groupId>
39             <artifactId>concepts</artifactId>
40         </dependency>
41         <dependency>
42             <groupId>com.google.guava</groupId>
43             <artifactId>guava</artifactId>
44         </dependency>
45     </dependencies>
46
47     <build>
48         <plugins>
49             <plugin>
50                 <groupId>org.apache.felix</groupId>
51                 <artifactId>maven-bundle-plugin</artifactId>
52                 <extensions>true</extensions>
53                 <configuration>
54                     <instructions>
55                         <Import-Package>
56                             !javax.annotation,
57                             *
58                         </Import-Package>
59                     </instructions>
60                 </configuration>
61             </plugin>
62             <plugin>
63                 <groupId>org.apache.maven.plugins</groupId>
64                 <artifactId>maven-checkstyle-plugin</artifactId>
65                 <configuration>
66                     <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
67                 </configuration>
68             </plugin>
69         </plugins>
70     </build>
71
72 </project>