workround m2e indexer hickup, build local openhab index (#584)

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
This commit is contained in:
Markus Rathgeb 2019-02-18 15:29:55 +00:00 committed by Kai Kreuzer
parent 09e2292a58
commit 363a437347
3 changed files with 20 additions and 2 deletions

View File

@ -34,6 +34,24 @@
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-indexer-maven-plugin</artifactId>
<executions>
<execution>
<id>simple-local-index</id>
<goals>
<goal>local-index</goal>
</goals>
<phase>process-resources</phase>
<configuration>
<inputDir>${project.basedir}/../../bundles</inputDir>
<outputFile>${project.build.directory}/local-index.xml</outputFile>
<indexFiles>
<include>*/target/*.jar</include>
<exclude>*/target/*-javadoc.jar</exclude>
<exclude>*/target/*-sources.jar</exclude>
</indexFiles>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

View File

@ -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

View File

@ -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