diff --git a/annotations/pom.xml b/annotations/pom.xml
index e68d412cbc2..62ebfe88a40 100644
--- a/annotations/pom.xml
+++ b/annotations/pom.xml
@@ -90,6 +90,40 @@
+
+ biz.aQute.bnd
+ bnd-maven-plugin
+ 6.4.0
+
+
+ generate-OSGi-manifest
+ none
+
+
+ generate-OSGi-manifest-annotations
+
+ bnd-process
+
+
+
+
+
+
+
+
diff --git a/annotations/src/main/java/module-info.java b/annotations/src/main/java/module-info.java
index 532f2758a07..3dccd229104 100644
--- a/annotations/src/main/java/module-info.java
+++ b/annotations/src/main/java/module-info.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-open module com.google.errorprone.annotation {
+open module com.google.errorprone.annotations {
requires java.compiler;
exports com.google.errorprone.annotations;
diff --git a/pom.xml b/pom.xml
index 3dc704b4f83..f7cad3c75bd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -150,10 +150,9 @@
;_;.>
Automatic-Module-Name: $
- -exportcontents: com.google.errorprone*,!META-INF.*
+ -exportcontents: com.google.errorprone*
-noextraheaders: true
-removeheaders: Private-Package
- -fixupmessages: ^Classes found in the wrong directory: .*
]]>