Commit Graph

51 Commits (3.2.x)

Author SHA1 Message Date
Kai Kreuzer a19e223f10 Switch to snapshot 2022-02-01 18:28:31 +01:00
Kai Kreuzer 81721dea20 bumped version to 3.2.1
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2022-01-31 21:36:35 +01:00
openhab-bot c4347b0b19 Preparation for tag creation (Tag name: '3.2.0'). 2021-12-20 03:46:03 +00:00
Wouter Born af48d85457
Upgrade to Karaf 4.3.4 (#1228)
Syncs the karaf.version so the new Maven plugin is used.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-12-18 11:01:04 +01:00
Wouter Born 51a6d6a20a
Update bnd to 6.1.0 (#1216)
For release notes, see:

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

Related to openhab/openhab-core#2583

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-28 21:58:25 +01:00
Wouter Born 5774f29e64
Upgrade SAT to 0.12.0 (#1193)
See the [0.12.0 milestone](https://github.com/openhab/static-code-analysis/milestone/18?closed=1) for all changes in this release.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-14 17:35:14 +01:00
Wouter Born 8d2ecaaa27
Configure default timeout of 15 minutes for all testable and lifecycle methods (#1195)
This helps to identify what tests cause builds to get stuck and it will more quickly end such builds.
When builds get stuck in tests, they would keep running for hours and then eventually when a timeout occurs, the job is killed without knowing why it got stuck.
Furhermore precious Jenkins executors will not keep being occupied by such jobs.

See: https://junit.org/junit5/docs/current/user-guide/#writing-tests-declarative-timeouts

It helps with identifying the root cause of issues like openhab/openhab-core#2551

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-14 17:30:30 +01:00
Wouter Born a65fb3792e
Suppress bnd warnings for unused imports/exports (#1196)
Ignores warnings like:

```
Warning:  /home/runner/work/openhab-addons/openhab-addons/bom/runtime-index/pom.xml [0:0]: Unused Export-Package instructions: [org.openhab.*]
Warning:  /home/runner/work/openhab-addons/openhab-addons/bom/runtime-index/pom.xml [0:0]: Unused Import-Package instructions: [io.swagger.v3.oas.annotations.*,
```

These are safe to ignore because the import/export packages are globally defined and not every bundle imports/exports all these packages.

The `skipIfEmpty` configuration furthermore prevents warnings when the bnd-maven-plugin runs on projects that don't have any code like BOMs.

More important compiler/SAT warnings standout more when there are fewer useless warnings.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-14 17:30:01 +01:00
Wouter Born 48a95faae4
Update bnd to 6.0.0 (#1176)
For release notes, see:

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

Related to openhab/openhab-core#2514

Signed-off-by: Wouter Born <github@maindrain.net>
2021-10-23 13:15:03 +02:00
Wouter Born c6bc42e7a9
Upgrade to Karaf 4.3.3 (#1163)
Syncs the karaf.version so the new Maven plugin is used.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-09-18 16:13:26 +02:00
Wouter Born ffbd450cd0
Apply Spotless (#1123)
Signed-off-by: Wouter Born <github@maindrain.net>
2021-06-28 19:24:46 +02:00
jenkins 2bd5bafd04 [unleash-maven-plugin] Preparation for next development cycle. 2021-06-27 19:54:38 +00:00
Wouter Born 067f9d8f03
Use SAT 0.11.1 (#1031)
* Use SAT 0.11.1
* Remove HABot config description

Signed-off-by: Wouter Born <github@maindrain.net>
2021-05-19 14:53:22 +02:00
Wouter Born 8662580f9f
Upgrade to Karaf 4.3.2 (#1051)
Syncs the karaf.version so the new Maven plugin is used.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-05-18 07:58:01 +02:00
Kai Kreuzer ab99bf7c2b
Adapted url for Artifactory (#1010)
* Adapted url for Artifactory

Related to https://github.com/openhab/openhab-distro/issues/1256

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-04-20 21:33:46 +02:00
Wouter Born ebd4b04c57
Upgrade Karaf to 4.3.1 (#984)
Related to openhab/openhab-distro#1167

Signed-off-by: Wouter Born <github@maindrain.net>
2021-04-02 15:52:06 +02:00
Kai Kreuzer fb26c31786
fixed distribution repo (#853) 2021-03-30 19:11:55 +02:00
Wouter Born aa2cf26d2c
Upgrade lastnpe EEA to 2.3.0 (#978)
For release notes, see:

https://github.com/lastnpe/eclipse-null-eea-augments/releases/tag/v2.3.0

Signed-off-by: Wouter Born <github@maindrain.net>
2021-03-30 19:11:12 +02:00
Wouter Born 4b2159713a
Update bnd to 5.3.0 (#930)
See: https://github.com/bndtools/bnd/wiki/Changes-in-5.3.0

Related to https://github.com/openhab/openhab-core/pull/2217

Signed-off-by: Wouter Born <github@maindrain.net>
2021-02-28 21:34:01 +01:00
Wouter Born e270d759ca
Update bnd to 5.2.0 (#790)
See: https://github.com/bndtools/bnd/wiki/Changes-in-5.2.0

Signed-off-by: Wouter Born <github@maindrain.net>
2021-01-13 09:08:00 +01:00
Wouter Born abcc52e7cc
Update license headers to 2021 (#739)
Signed-off-by: Wouter Born <github@maindrain.net>
2021-01-02 00:00:39 +01:00
Wouter Born a06a3371e8
Apply Spotless (#680)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-12-22 13:06:53 +01:00
jenkins 8c0a5c1639 [unleash-maven-plugin] Preparation for next development cycle. 2020-12-21 13:06:46 +00:00
Wouter Born 43b7f52798
Update LastNPE EEAs to 2.2.1 (#517)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-11-30 12:21:30 +01:00
Wouter Born 3b31d23976
[infrastructure] add external null-annotations (#470)
Add EEAs and fix null analysis errors.

Related to:

* openhab/openhab-core#888
* openhab/openhab-core#1775
* openhab/openhab-addons#8848

Signed-off-by: Wouter Born <github@maindrain.net>
2020-11-04 15:23:34 +01:00
Wouter Born a3d3d90854
Upgrade Maven compiler (#366)
Upgrades the compiler and its dependencies so the compiler results of Maven builds are more similar to those generated in recent Eclipse versions.

Signed-off-by: Wouter Born <github@maindrain.net>
2020-10-03 14:03:43 +02:00
Wouter Born 6f370941d3
Update spotless to 2.0.3 (#314)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-08-24 15:56:15 +02:00
Wouter Born 3ca51b0e35
Migrate to JUnit 5 (#300)
* Migrates all tests to the JUnit 5 Jupiter API
* Updates bnd to 5.1.2
* Updates maven-surefire-plugin to 3.0.0-M5
* Removes org.openhab.core.boot POM dependencies

Signed-off-by: Wouter Born <github@maindrain.net>
2020-08-09 16:44:02 +02:00
Wouter Born 7453955770
Migrate to OpenAPI 3 annotations (#299)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-08-02 16:14:55 +02:00
Wouter Born 937cf2456c
Infra improvements (#240)
* Update to SAT 0.10.0
* Add sortpom-maven-plugin configuration
* Sort POMs
* Add spotless-maven-plugin configuration
* Apply Spotless changes

Signed-off-by: Wouter Born <github@maindrain.net>
2020-05-08 21:33:24 +02:00
Wouter Born 2dec14c257 Upgrade to SAT 0.9.0 (#176)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-01-18 09:31:49 +01:00
Wouter Born e4460f5500 Switch to Java 11 and drop Java 8 support (#160)
* Switch to Java 11 and drop Java 8 support

Signed-off-by: Wouter Born <github@maindrain.net>
2020-01-12 22:33:58 +01:00
Wouter Born 553c4b4deb Update copyright headers to 2020 (#161)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-01-01 18:04:49 +01:00
Kai Kreuzer 0a8ca96d6d
refactored namespace to org.openhab (#157)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2019-12-29 18:09:25 +01:00
jenkins 30dfe0d9ee [unleash-maven-plugin] Preparation for next development cycle. 2019-12-15 18:52:07 +00:00
Wouter Born c13c0055e7 Upgrade bnd to 4.3.0 (#140)
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>
2019-11-11 20:01:29 +01:00
Wouter Born 556d6ff261 Upgrade to Karaf 4.2.7 (#139)
For Karaf 4.2.7 release notes, see:

https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311140&version=12345539

Signed-off-by: Wouter Born <github@maindrain.net>
2019-11-10 17:03:01 +01:00
Wouter Born bd9b5db691 Update to SAT 0.8.0 (#137)
Signed-off-by: Wouter Born <github@maindrain.net>
2019-11-03 22:38:24 +01:00
Wouter Born a45c187018 Use SAT 0.7.0, fix errors and feature file warning (#131)
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-21 22:39:10 +02:00
Christoph Weitkamp bb1f8e6a44 Fixed POM XML Shema Definition path (#125)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-10-12 10:21:28 +02:00
Wouter Born a179057e55 Upgrade Karaf to 4.2.6 (#79)
For Karaf 4.2.5 release notes, see:
  https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311140&version=12345153

For Karaf 4.2.6 release notes, see:
  https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311140&version=12345365

Signed-off-by: Wouter Born <github@maindrain.net>
2019-06-10 19:17:12 +02:00
Wouter Born 8112e09934 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>
2019-06-01 19:20:06 +02:00
Patrick Fink ad14f0e582 Inherit from openHAB Super POM (#73)
Signed-off-by: Patrick Fink <mail@pfink.de>
2019-05-29 08:30:42 +02:00
Wouter Born a037f8f87e Remove p2 repo (#71)
Fixes #47

Signed-off-by: Wouter Born <github@maindrain.net>
2019-05-27 19:15:39 +02:00
Markus Rathgeb 398859671b add BOM for the UI bundles (#59)
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-04-15 23:38:01 +02:00
Wouter Born 893780b8d8 Upgrade to Karaf 4.2.4 (#56)
For Karaf 4.2.3 release notes, see:
  https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311140&version=12344587

For Karaf 4.2.4 release notes, see:
  https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12344856&projectId=12311140

Signed-off-by: Wouter Born <github@maindrain.net>
2019-04-15 23:29:58 +02:00
Markus Rathgeb dc1480397b fix some group IDs (#52)
* fix iconset feature by using new groupId
* Fix SAT configuration
* fix further group IDs

Also-by: Wouter Born <github@maindrain.net>
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-04-11 10:27:35 +02:00
Markus Rathgeb e4c696dea2 enable SAT
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-04-05 15:28:46 +02:00
Markus Rathgeb 249e33b2f8 improve Maven + Bnd layout and settings (#44)
https://github.com/openhab/openhab-webui/issues/38

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-04-05 08:28:49 +02:00
Wouter Born f41db57870 Remove unused ohdr.version, add missing pluginRepositories
Signed-off-by: Wouter Born <github@maindrain.net>
2019-03-17 09:04:16 +01:00