diff --git a/platform/api.annotations.common/nbproject/project.properties b/platform/api.annotations.common/nbproject/project.properties
index c3d99dfe108e..26b0aaf1372e 100644
--- a/platform/api.annotations.common/nbproject/project.properties
+++ b/platform/api.annotations.common/nbproject/project.properties
@@ -23,3 +23,4 @@ javadoc.arch=${basedir}/arch.xml
javadoc.apichanges=${basedir}/apichanges.xml
cp.extra=external/jsr305-3.0.2.jar
+release.external/jsr305-3.0.2.jar=modules/ext/jsr305-3.0.2.jar
\ No newline at end of file
diff --git a/platform/api.annotations.common/nbproject/project.xml b/platform/api.annotations.common/nbproject/project.xml
index 54c7c9706d15..565163d1e966 100644
--- a/platform/api.annotations.common/nbproject/project.xml
+++ b/platform/api.annotations.common/nbproject/project.xml
@@ -26,8 +26,15 @@
org.netbeans.api.annotations.common
+ javax.annotation
+ javax.annotation.concurrent
+ javax.annotation.meta
org.netbeans.api.annotations.common
+
+ ext/jsr305-3.0.2.jar
+ external/jsr305-3.0.2.jar
+