From a8e3ee9190d26f5e4220cd688aa0be2635346e38 Mon Sep 17 00:00:00 2001 From: Sergey Mashkov Date: Tue, 29 Sep 2015 20:31:12 +0300 Subject: [PATCH] KT-6264 Introduce kotlin-osgi-bundle The bundle is a mix of kotlin-runtime, kotlin-stdlib and kotlin-reflect. The main reason to do so intead of adding corresponding modules is that there is so called "split package" issue that couldn't be easily resolved --- libraries/pom.xml | 1 + libraries/tools/kotlin-osgi-bundle/pom.xml | 103 +++++++++++++++++++++ 2 files changed, 104 insertions(+) create mode 100644 libraries/tools/kotlin-osgi-bundle/pom.xml diff --git a/libraries/pom.xml b/libraries/pom.xml index b8adf342bda..a748ab0472f 100644 --- a/libraries/pom.xml +++ b/libraries/pom.xml @@ -80,6 +80,7 @@ tools/runtime stdlib tools/kotlin-reflect + tools/kotlin-osgi-bundle diff --git a/libraries/tools/kotlin-osgi-bundle/pom.xml b/libraries/tools/kotlin-osgi-bundle/pom.xml new file mode 100644 index 00000000000..4a188cedaef --- /dev/null +++ b/libraries/tools/kotlin-osgi-bundle/pom.xml @@ -0,0 +1,103 @@ + + + + kotlin-project + org.jetbrains.kotlin + 0.1-SNAPSHOT + ../../pom.xml + + 4.0.0 + + kotlin-osgi-bundle + + + + org.jetbrains.kotlin + kotlin-reflect + ${project.version} + provided + + + org.jetbrains.kotlin + kotlin-stdlib + ${project.version} + provided + + + + + + + maven-dependency-plugin + + + unpack-everything + generate-resources + + unpack-dependencies + + + compile + ${project.parent.groupId} + ${build.outputDirectory} + **/MANIFEST.MF + + + + + + + org.apache.felix + maven-bundle-plugin + true + + + bundle-manifest + prepare-package + + manifest + + + true + + !kotlin.*,* + *.internal,* + + + + + + + + org.apache.maven.plugins + maven-jar-plugin + 2.6 + + + default-jar + + jar + + + true + + + + empty-javadoc-jar + package + + jar + + + false + javadoc + ${basedir}/javadoc + + + + + + +