From 363a4373476a2f88b908d5dfd6589bc74eb2a6ae Mon Sep 17 00:00:00 2001 From: Markus Rathgeb Date: Mon, 18 Feb 2019 15:29:55 +0000 Subject: [PATCH] workround m2e indexer hickup, build local openhab index (#584) Signed-off-by: Markus Rathgeb --- bom/openhab-core-index/pom.xml | 18 ++++++++++++++++++ demo/app/app.bndrun | 2 +- itests/itest-common.bndrun | 2 +- 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/bom/openhab-core-index/pom.xml b/bom/openhab-core-index/pom.xml index 5d1b63b75..2600e6f44 100644 --- a/bom/openhab-core-index/pom.xml +++ b/bom/openhab-core-index/pom.xml @@ -34,6 +34,24 @@ biz.aQute.bnd bnd-indexer-maven-plugin + + + simple-local-index + + local-index + + process-resources + + ${project.basedir}/../../bundles + ${project.build.directory}/local-index.xml + + */target/*.jar + */target/*-javadoc.jar + */target/*-sources.jar + + + + diff --git a/demo/app/app.bndrun b/demo/app/app.bndrun index 7a790f86e..9d6903582 100644 --- a/demo/app/app.bndrun +++ b/demo/app/app.bndrun @@ -1,6 +1,6 @@ -standalone: \ ../../bom/runtime-index/target/index.xml;name="org.openhab.core.bom.runtime-index",\ - ../../bom/openhab-core-index/target/index.xml;name="org.openhab.core.bom.openhab-core-index" + ../../bom/openhab-core-index/target/local-index.xml;name="org.openhab.core.bom.openhab-core-index" -resolve.effective: active diff --git a/itests/itest-common.bndrun b/itests/itest-common.bndrun index 585b724b1..ee2404261 100644 --- a/itests/itest-common.bndrun +++ b/itests/itest-common.bndrun @@ -1,7 +1,7 @@ -standalone: \ ../../bom/runtime-index/target/index.xml;name="org.openhab.core.bom.runtime-index",\ ../../bom/test-index/target/index.xml;name="org.openhab.core.bom.test-index",\ - ../../bom/openhab-core-index/target/index.xml;name="org.openhab.core.bom.openhab-core-index",\ + ../../bom/openhab-core-index/target/local-index.xml;name="org.openhab.core.bom.openhab-core-index",\ target/index.xml;name="self" -resolve.effective: active