Skip to content

Commit 7139b9d

Browse files
committed
Stay on the current major Weld version
1 parent 2229308 commit 7139b9d

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@ updates:
100100
- dependency-name: "jakarta.enterprise:jakarta.enterprise.cdi-api"
101101
- dependency-name: "jakarta.xml.bind:jakarta.xml.bind-api"
102102
- dependency-name: "net.bytebuddy:*"
103+
# Because we stay on a particular version of CDI that matches the one in ORM
104+
# we don't want always want to get the latest Weld version:
105+
- dependency-name: "org.jboss.weld.se:*"
106+
update-types: ["version-update:semver-major"]
103107
# Sticking to Derby 10.15 for now since later versions require JDK 17+, and we need to test with JDK 11.
104108
# See https://db.apache.org/derby/derby_downloads.html
105109
- dependency-name: "org.apache.derby:*"

build/parents/build/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
<!-- slf4j: used by the AWS SDK -->
8989
<version.org.slf4j>1.7.36</version.org.slf4j>
9090

91-
<!-- >>> ORM 6 with Jakarta Persistence -->
91+
<!-- >>> ORM 7 with Jakarta Persistence -->
9292
<!-- IMPORTANT: Make sure that version.jakarta.persistence aligns with the imported version! -->
9393
<!--
9494
NOTE: when Hibernate ORM updates Byte Buddy, make sure to check Jenkinsfile to see if
@@ -156,7 +156,7 @@
156156
- remove and generate the files in mapper/orm-outbox-polling/src/main/avro/generated
157157
-->
158158
<version.org.apache.avro>1.12.0</version.org.apache.avro>
159-
<version.org.jboss.weld>6.0.0.Final</version.org.jboss.weld>
159+
<version.org.jboss.weld>5.1.4.Final</version.org.jboss.weld>
160160

161161
<!-- >>> JDBC Drivers -->
162162
<version.com.h2database>2.3.232</version.com.h2database>
@@ -1056,7 +1056,7 @@
10561056
<rules>
10571057
<bannedDependencies>
10581058
<excludes>
1059-
<!-- As we are using ORM 6 and Jakarta we don't want javax dependencies: -->
1059+
<!-- As we are using ORM 7 and Jakarta we don't want javax dependencies: -->
10601060
<exclude>javax.persistence:javax.persistence-api</exclude>
10611061
<exclude>javax.transaction:javax.transaction-api</exclude>
10621062
<exclude>javax.enterprise:cdi-api</exclude>

0 commit comments

Comments
 (0)