From e5fd456075b3318eb7092ff0169a30d1298086d6 Mon Sep 17 00:00:00 2001 From: Alexander Udalov Date: Thu, 12 May 2016 21:16:57 +0300 Subject: [PATCH] Add empty source jars to kotlin-build-common Maven artifacts Maven Central requires all artifacts to have sources and javadocs --- .../tools/kotlin-build-common-test/pom.xml | 19 +++++++++++++++++ libraries/tools/kotlin-build-common/pom.xml | 21 ++++++++++++++++++- 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/libraries/tools/kotlin-build-common-test/pom.xml b/libraries/tools/kotlin-build-common-test/pom.xml index 83fe30596a6a6..f8df5c0d83ef9 100644 --- a/libraries/tools/kotlin-build-common-test/pom.xml +++ b/libraries/tools/kotlin-build-common-test/pom.xml @@ -23,6 +23,25 @@ + + org.apache.maven.plugins + maven-jar-plugin + 2.6 + + + empty-sources-jar + package + + jar + + + false + sources + ${basedir}/sources + + + + org.apache.maven.plugins maven-antrun-plugin diff --git a/libraries/tools/kotlin-build-common/pom.xml b/libraries/tools/kotlin-build-common/pom.xml index 70229aacb5179..a704fa0ea515e 100644 --- a/libraries/tools/kotlin-build-common/pom.xml +++ b/libraries/tools/kotlin-build-common/pom.xml @@ -48,6 +48,26 @@ --> + + org.apache.maven.plugins + maven-jar-plugin + 2.6 + + + empty-sources-jar + package + + jar + + + false + sources + ${basedir}/sources + + + + + org.apache.maven.plugins maven-antrun-plugin @@ -68,7 +88,6 @@ -