Code Review
/
yangtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Do not import java.annotation
[yangtools.git]
/
yang
/
yang-parser-api
/
pom.xml
diff --git
a/yang/yang-parser-api/pom.xml
b/yang/yang-parser-api/pom.xml
index bb87f7494c72d38b20bde500478740dc58e4acf8..33f2a40f42beba7bfd380d5e429462731561bffc 100644
(file)
--- a/
yang/yang-parser-api/pom.xml
+++ b/
yang/yang-parser-api/pom.xml
@@
-19,7
+19,7
@@
<modelVersion>4.0.0</modelVersion>
<groupId>org.opendaylight.yangtools</groupId>
<artifactId>yang-parser-api</artifactId>
<modelVersion>4.0.0</modelVersion>
<groupId>org.opendaylight.yangtools</groupId>
<artifactId>yang-parser-api</artifactId>
- <version>2.1.
1
-SNAPSHOT</version>
+ <version>2.1.
2
-SNAPSHOT</version>
<packaging>bundle</packaging>
<name>${project.artifactId}</name>
<description>YANG parser API</description>
<packaging>bundle</packaging>
<name>${project.artifactId}</name>
<description>YANG parser API</description>
@@
-29,7
+29,7
@@
<dependency>
<groupId>org.opendaylight.yangtools</groupId>
<artifactId>yangtools-artifacts</artifactId>
<dependency>
<groupId>org.opendaylight.yangtools</groupId>
<artifactId>yangtools-artifacts</artifactId>
- <version>2.1.
1
-SNAPSHOT</version>
+ <version>2.1.
2
-SNAPSHOT</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<scope>import</scope>
<type>pom</type>
</dependency>
@@
-45,6
+45,15
@@
<build>
<plugins>
<build>
<plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <configuration>
+ <instructions>
+ <Import-Package>!javax.annotation,*</Import-Package>
+ </instructions>
+ </configuration>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>