Skip to content

Commit

Permalink
Upgrade to Karaf 4.4.5 and Xtext 2.34 (#4133)
Browse files Browse the repository at this point in the history
* Upgrade to Karaf 4.4.5 and Xtext 2.34

Upgrade Karaf from 4.4.4 to 4.4.5:
* Sync runtime dependencies with Karaf 4.4.5, most notably:
  * Jetty 9.4.53.v20231009
  * JNA 5.14.0
  * Pax Logging 2.2.6
  * Pax Web 8.0.24
  * ASM 9.6
* Resolve itest runbundles

Upgrade Xtext from 2.32 to 2.34
* Sync depencencies, most notably:
  * Guava 33.0.0
  * classgraph 4.8.165 changing provider to io.github.classgraph
* Migrate old Xtext generator xtext.generator to xtext.xtext.generator
  as xtext.generator has been removed from Xtext, affecting
  org.openhab.core.model.lazygen

* resolve runbundles
* Remove org.openhab.core.model.lazygen
  No longer in use since 2017, see eclipse-archived/smarthome#4122.

Signed-off-by: Holger Friedrich <[email protected]>
  • Loading branch information
holgerfriedrich authored Mar 17, 2024
1 parent 9c1c885 commit 3850599
Show file tree
Hide file tree
Showing 51 changed files with 574 additions and 1,027 deletions.
8 changes: 4 additions & 4 deletions bom/compile-model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<dependencies>
<dependency>
<groupId>org.eclipse.xtext</groupId>
<artifactId>org.eclipse.xtext.generator</artifactId>
<artifactId>org.eclipse.xtext.xtext.generator</artifactId>
<version>${xtext.version}</version>
<scope>compile</scope>
<exclusions>
Expand Down Expand Up @@ -132,9 +132,9 @@

<!-- Classgraph -->
<dependency>
<groupId>org.eclipse.orbit.bundles</groupId>
<artifactId>io.github.classgraph</artifactId>
<version>4.8.149.v20220915-0556</version>
<groupId>io.github.classgraph</groupId>
<artifactId>classgraph</artifactId>
<version>4.8.165</version>
<scope>compile</scope>
</dependency>

Expand Down
10 changes: 5 additions & 5 deletions bom/compile/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@

<properties>
<californium.version>2.7.4</californium.version>
<jetty.version>9.4.52.v20230823</jetty.version>
<pax.web.version>8.0.22</pax.web.version>
<jetty.version>9.4.53.v20231009</jetty.version>
<pax.web.version>8.0.24</pax.web.version>
<swagger.version>2.2.15</swagger.version>
</properties>

Expand Down Expand Up @@ -84,7 +84,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.12.0</version>
<version>3.14.0</version>
<scope>compile</scope>
</dependency>

Expand Down Expand Up @@ -418,13 +418,13 @@
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
<version>5.13.0</version>
<version>5.14.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna-platform</artifactId>
<version>5.13.0</version>
<version>5.14.0</version>
<scope>compile</scope>
</dependency>

Expand Down
29 changes: 15 additions & 14 deletions bom/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
<californium.version>2.7.4</californium.version>
<cxf.version>3.6.2</cxf.version>
<jackson.version>2.16.0</jackson.version>
<jetty.version>9.4.52.v20230823</jetty.version>
<pax.logging.version>2.2.3</pax.logging.version>
<pax.web.version>8.0.22</pax.web.version>
<jetty.version>9.4.53.v20231009</jetty.version>
<pax.logging.version>2.2.6</pax.logging.version>
<pax.web.version>8.0.24</pax.web.version>
<swagger.version>2.2.15</swagger.version>
</properties>

Expand Down Expand Up @@ -326,7 +326,7 @@
<dependency>
<groupId>org.apache.aries.spifly</groupId>
<artifactId>org.apache.aries.spifly.dynamic.bundle</artifactId>
<version>1.3.6</version>
<version>1.3.7</version>
</dependency>

<!-- END: Slightly modified EnRoute implementation index artifacts -->
Expand Down Expand Up @@ -404,12 +404,12 @@
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.13.0</version>
<version>2.15.1</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.12.0</version>
<version>3.14.0</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -780,21 +780,21 @@
<dependency>
<groupId>org.apache.xbean</groupId>
<artifactId>xbean-bundleutils</artifactId>
<version>4.23</version>
<version>4.24</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.xbean</groupId>
<artifactId>xbean-finder</artifactId>
<version>4.23</version>
<version>4.24</version>
<scope>compile</scope>
</dependency>

<!-- Google Commons / Guava -->
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>32.1.2-jre</version>
<version>33.0.0-jre</version>
<scope>compile</scope>
</dependency>

Expand All @@ -806,9 +806,9 @@
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.eclipse.orbit.bundles</groupId>
<artifactId>io.github.classgraph</artifactId>
<version>4.8.149.v20220915-0556</version>
<groupId>io.github.classgraph</groupId>
<artifactId>classgraph</artifactId>
<version>4.8.165</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -906,6 +906,7 @@
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
<version>9.6</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -1065,13 +1066,13 @@
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
<version>5.13.0</version>
<version>5.14.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna-platform</artifactId>
<version>5.13.0</version>
<version>5.14.0</version>
<scope>compile</scope>
</dependency>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna-platform</artifactId>
<version>5.13.0</version>
<version>5.14.0</version>
</dependency>
</dependencies>

Expand Down
5 changes: 2 additions & 3 deletions bundles/org.openhab.core.model.item/bnd.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,9 @@ Require-Bundle: com.ibm.icu;resolution:=optional,\
org.eclipse.emf.ecore;visibility:=reexport,\
org.eclipse.emf.mwe.utils;resolution:=optional,\
org.eclipse.emf.mwe2.launch;resolution:=optional,\
org.openhab.core.model.lazygen;resolution:=optional,\
org.eclipse.xtend.lib;resolution:=optional,\
org.eclipse.xtext,\
org.eclipse.xtext.common.types,\
org.eclipse.xtext.generator;resolution:=optional,\
org.eclipse.xtext.xtext.generator;resolution:=optional,\
org.eclipse.xtext.util,\
org.eclipse.xtext.xbase.lib;bundle-version="2.26.0"
org.eclipse.xtext.xbase.lib;bundle-version="2.34.0"
27 changes: 0 additions & 27 deletions bundles/org.openhab.core.model.lazygen/.classpath

This file was deleted.

23 changes: 0 additions & 23 deletions bundles/org.openhab.core.model.lazygen/.project

This file was deleted.

14 changes: 0 additions & 14 deletions bundles/org.openhab.core.model.lazygen/NOTICE

This file was deleted.

Empty file.
17 changes: 0 additions & 17 deletions bundles/org.openhab.core.model.lazygen/pom.xml

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 3850599

Please sign in to comment.