From abcf5616f7ad477fc9e0a9aa4b3555ab52090564 Mon Sep 17 00:00:00 2001 From: Leonid Shalupov Date: Mon, 8 Jul 2013 02:25:04 +0400 Subject: [PATCH] KT-3725 attach empty javadocs to all artifacts except compiler and runtime --- libraries/lib/empty-javadoc.jar | Bin 0 -> 237 bytes libraries/pom.xml | 46 ++++++++++++++++++++++++ libraries/tools/kotlin-compiler/pom.xml | 46 +++++++++++++++--------- libraries/tools/runtime/pom.xml | 19 ++++++++++ 4 files changed, 95 insertions(+), 16 deletions(-) create mode 100644 libraries/lib/empty-javadoc.jar diff --git a/libraries/lib/empty-javadoc.jar b/libraries/lib/empty-javadoc.jar new file mode 100644 index 0000000000000000000000000000000000000000..d845ab23acafb7eb0b387393dcc0ba8def6f5b9c GIT binary patch literal 237 zcmWIWW@Zs#U}E54aOQmB#PKYRyPSc6p%;j`fH=t2(Z$zQucV^H^o$|jAp;(Vi?%`U z9&k_K;h1n^hV>y7}IsC7deXCo%PUg`YwJX-`F-Kjs?7B<79M0WtFWYzD vGr7v3E8;U_fHxzP2m@{h0^P{K$e;kCfB@m#0B=?{kO(6XS^(+!APxfn*7`>0 literal 0 HcmV?d00001 diff --git a/libraries/pom.xml b/libraries/pom.xml index a70b878593c..2ed566aa5a8 100644 --- a/libraries/pom.xml +++ b/libraries/pom.xml @@ -138,6 +138,11 @@ maven-javadoc-plugin 2.9 + + org.codehaus.mojo + build-helper-maven-plugin + 1.7 + @@ -177,6 +182,47 @@ + + org.codehaus.mojo + build-helper-maven-plugin + + + attach-empty-javadoc + prepare-package + + attach-artifact + + + + + ${highest-basedir}/lib/empty-javadoc.jar + jar + javadoc + + + + + + + + + org.commonjava.maven.plugins + directory-maven-plugin + 0.1 + + + directories + + highest-basedir + + initialize + + highest-basedir + + + + + diff --git a/libraries/tools/kotlin-compiler/pom.xml b/libraries/tools/kotlin-compiler/pom.xml index 28c389d7020..8838086c50d 100644 --- a/libraries/tools/kotlin-compiler/pom.xml +++ b/libraries/tools/kotlin-compiler/pom.xml @@ -50,26 +50,40 @@ + + + attach-empty-javadoc + prepare-package + + attach-artifact + + + true + + + - org.apache.maven.plugins - maven-antrun-plugin - - - copy-jar - package - - - - - - - run - - - + org.apache.maven.plugins + maven-antrun-plugin + + + copy-jar + package + + + + + + + run + + + diff --git a/libraries/tools/runtime/pom.xml b/libraries/tools/runtime/pom.xml index 5c8219e2209..ab580b622ce 100644 --- a/libraries/tools/runtime/pom.xml +++ b/libraries/tools/runtime/pom.xml @@ -56,6 +56,25 @@ + + + org.codehaus.mojo + build-helper-maven-plugin + 1.7 + + + attach-empty-javadoc + prepare-package + + attach-artifact + + + true + + + + +