Skip to content

Commit

Permalink
Upgrade bnd to 4.3.0
Browse files Browse the repository at this point in the history
For bnd 4.3.0 release notes, see:

https://github.com/bndtools/bnd/wiki/Changes-in-4.3.0

Also note:

    The Bnd Maven plugins are now marked thread safe and can be used with -T.

It seems to work well so far as long as the features are build after the bundles so I've added the bundles BOM as dependency to the features POM.
We still need to make SAT thread safe (openhab/static-code-analysis#200).

When disabling SAT you can build using one thread per processor core by executing:

    mvn clean install -DskipChecks -T 1C

This significantly speeds up Maven builds and puts all your processor cores to good use. :-)

Signed-off-by: Wouter Born <github@maindrain.net>
  • Loading branch information
wborn committed Nov 10, 2019
1 parent 556d6ff commit 6e8c007
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions features/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,16 @@
<name>openHAB UI :: Features</name>
<description>openHAB UI Features</description>

<dependencies>
<!-- BOM, so features are build after bundles in parallel builds -->
<dependency>
<groupId>org.openhab.ui.bom</groupId>
<artifactId>org.openhab.ui.bom.openhab-ui</artifactId>
<version>${project.version}</version>
<type>pom</type>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</scm>

<issueManagement>
<system>Github</system>
<system>GitHub</system>
<url>https://github.com/openhab/openhab-webui/issues</url>
</issueManagement>

Expand All @@ -61,7 +61,7 @@
<maven.compiler.target>${oh.java.version}</maven.compiler.target>
<maven.compiler.compilerVersion>${oh.java.version}</maven.compiler.compilerVersion>

<bnd.version>4.2.0</bnd.version>
<bnd.version>4.3.0</bnd.version>
<karaf.version>4.2.7</karaf.version>
<sat.version>0.8.0</sat.version>
</properties>
Expand Down

0 comments on commit 6e8c007

Please sign in to comment.