diff --git a/build.xml b/build.xml
index 9376d85ee25..acd0809bada 100644
--- a/build.xml
+++ b/build.xml
@@ -801,7 +801,7 @@
-
+
@@ -832,6 +832,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/libraries/tools/kotlin-compiler-client-embeddable/pom.xml b/libraries/tools/kotlin-compiler-client-embeddable/pom.xml
index 010f6da3401..163d3370e37 100644
--- a/libraries/tools/kotlin-compiler-client-embeddable/pom.xml
+++ b/libraries/tools/kotlin-compiler-client-embeddable/pom.xml
@@ -24,22 +24,34 @@
- org.apache.maven.plugins
- maven-jar-plugin
- 2.6
+ org.codehaus.mojo
+ build-helper-maven-plugin
+ 1.7
- empty-sources-jar
- package
+ attach-artifacts
+ compile
- jar
+ attach-artifact
- false
- sources
- ${basedir}/sources
+
+
+ ${kotlin-dist}/kotlin-compiler-client-embeddable-sources.jar
+ jar
+ sources
+
+
+
+
+ attach-empty-javadoc
+ prepare-package
+
+ attach-artifact
+
+
diff --git a/libraries/tools/kotlin-daemon-client/pom.xml b/libraries/tools/kotlin-daemon-client/pom.xml
index e136a3e3cc8..e57d95f4785 100644
--- a/libraries/tools/kotlin-daemon-client/pom.xml
+++ b/libraries/tools/kotlin-daemon-client/pom.xml
@@ -25,22 +25,34 @@
- org.apache.maven.plugins
- maven-jar-plugin
- 2.6
+ org.codehaus.mojo
+ build-helper-maven-plugin
+ 1.7
- empty-sources-jar
- package
+ attach-artifacts
+ compile
- jar
+ attach-artifact
- false
- sources
- ${basedir}/sources
+
+
+ ${kotlin-dist}/kotlin-daemon-client-sources.jar
+ jar
+ sources
+
+
+
+
+ attach-empty-javadoc
+ prepare-package
+
+ attach-artifact
+
+