Skip to content

Commit

Permalink
Stay on the current major Weld version
Browse files Browse the repository at this point in the history
  • Loading branch information
marko-bekhta committed Dec 17, 2024
1 parent 2229308 commit 7139b9d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ updates:
- dependency-name: "jakarta.enterprise:jakarta.enterprise.cdi-api"
- dependency-name: "jakarta.xml.bind:jakarta.xml.bind-api"
- dependency-name: "net.bytebuddy:*"
# Because we stay on a particular version of CDI that matches the one in ORM
# we don't want always want to get the latest Weld version:
- dependency-name: "org.jboss.weld.se:*"
update-types: ["version-update:semver-major"]
# Sticking to Derby 10.15 for now since later versions require JDK 17+, and we need to test with JDK 11.
# See https://db.apache.org/derby/derby_downloads.html
- dependency-name: "org.apache.derby:*"
Expand Down
6 changes: 3 additions & 3 deletions build/parents/build/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
<!-- slf4j: used by the AWS SDK -->
<version.org.slf4j>1.7.36</version.org.slf4j>

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

<!-- >>> JDBC Drivers -->
<version.com.h2database>2.3.232</version.com.h2database>
Expand Down Expand Up @@ -1056,7 +1056,7 @@
<rules>
<bannedDependencies>
<excludes>
<!-- As we are using ORM 6 and Jakarta we don't want javax dependencies: -->
<!-- As we are using ORM 7 and Jakarta we don't want javax dependencies: -->
<exclude>javax.persistence:javax.persistence-api</exclude>
<exclude>javax.transaction:javax.transaction-api</exclude>
<exclude>javax.enterprise:cdi-api</exclude>
Expand Down

0 comments on commit 7139b9d

Please sign in to comment.