diff --git a/libraries/tools/kotlin-osgi-bundle/pom.xml b/libraries/tools/kotlin-osgi-bundle/pom.xml
index ec49ace139233..5359fdfbce4d7 100644
--- a/libraries/tools/kotlin-osgi-bundle/pom.xml
+++ b/libraries/tools/kotlin-osgi-bundle/pom.xml
@@ -45,6 +45,19 @@
**/MANIFEST.MF
+
+ unpack-sources
+ generate-sources
+
+ unpack-dependencies
+
+
+ sources
+ compile
+ ${project.parent.groupId}
+ ${project.build.directory}/sources
+
+
@@ -86,15 +99,14 @@
- empty-sources-jar
+ sources-jar
package
jar
- false
sources
- ${basedir}/sources
+ ${project.build.directory}/sources