google / google/guice

OSGi manifest imports com.google.errorprone.annotations

Open
#1,611 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
12.7k
Forks
1.7k
Avg merge
11m
Merged PRs (30d)
2

Description

The OSGi manifest of Guice imports the package `com.google.errorprone.annotations` which makes the bundle pretty useless in an OSGi environment:

```
Unresolved requirement: Import-Package: com.google.inject; version="[1.4.0,2.0.0)"
-> Export-Package: com.google.inject; bundle-symbolic-name="com.google.inject"; bundle-version="5.1.0"; version="1.4.0"
com.google.inject [41]
Unresolved requirement: Import-Package: com.google.errorprone.annotations
```

Probably this package is only required at compile-time and should be exluded from the OSGi Import-Package header.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.