Use bnd for including resources to workaround infinite Eclipse builds (#75)

When "Build Automatically" is enabled in Eclipse, the build never ends.
It seems there is a bnd issue with the way resources are defined in the reactor POM.
The workaround seems to be to include all resources using bnd.

See also:

* https://github.com/bndtools/bnd/issues/3220
* https://github.com/openhab/openhab2-addons/issues/5554

Signed-off-by: Wouter Born <github@maindrain.net>
pull/78/head
Wouter Born 2019-06-01 19:20:06 +02:00 committed by Kai Kreuzer
parent dcf9eb5c2b
commit 8112e09934
1 changed files with 1 additions and 12 deletions

13
pom.xml
View File

@ -67,18 +67,6 @@
</properties>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<directory>.</directory>
<includes>
<include>NOTICE</include> <!-- general -->
<include>*.xsd</include> <!-- only a very rare -->
</includes>
</resource>
</resources>
<pluginManagement>
<plugins>
@ -108,6 +96,7 @@ Import-Package: \\
org.openhab.*
-sources: false
-contract: *
-includeresource: -${.}/NOTICE, -${.}/*.xsd
]]></bnd>
<!--
-dsannotations-options: norequirements