Skip to content

Commit

Permalink
feat(bom): add javax.persistence-api in bom (#2690)
Browse files Browse the repository at this point in the history
Adds `javax.persistence.javax.peristence-api` dependency in the BOM.
It is a transitive dependency of hibernate-core.

It is required to build bdm-dao-client module without warnings during a Bonita project build.
  • Loading branch information
rbioteau authored Aug 23, 2023
1 parent 1a90a87 commit f44943d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions bonita-engine/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ dependencyManagement {
dependency("org.hibernate:hibernate-ehcache:${Deps.hibernateVersion}") {
exclude 'net.sf.ehcache:ehcache'
}
dependency "javax.persistence:javax.persistence-api:${Deps.javaxPersistenceApiVersion}"
dependency "commons-io:commons-io:${Deps.commonsIOVersion}"
dependency "commons-fileupload:commons-fileupload:${Deps.commonsFileupload}"
dependency("commons-beanutils:commons-beanutils:${Deps.commonsBeanutilsVersion}") { exclude 'commons-collections:commons-collections' }
Expand Down
2 changes: 2 additions & 0 deletions buildSrc/src/main/groovy/Deps.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ class Deps {
public static String hazelcastVersion = "5.1.5"
//Last version compatible with hibernate 5
public static String hazelcastHibernateVersion = "2.1.1"
// javax.persistence-api used by hibernate
public static String javaxPersistenceApiVersion = "2.2"

public static String guavaVersion = "32.1.2-jre"
public static String antlr4RuntimeVersion = "4.7.2"
Expand Down

0 comments on commit f44943d

Please sign in to comment.