From fd586e3541a51d0a647bcccee3c0a019679d833a Mon Sep 17 00:00:00 2001 From: Daniel Grigore Date: Wed, 10 Jul 2024 16:08:32 +0300 Subject: [PATCH 01/10] feat: update spring-boot to 3.3.1 --- cosmo-api/pom.xml | 11 +- cosmo-core/pom.xml | 65 +----- .../test/unit/resources/application-test.yaml | 3 +- pom.xml | 191 +++++++++++++----- 4 files changed, 156 insertions(+), 114 deletions(-) diff --git a/cosmo-api/pom.xml b/cosmo-api/pom.xml index a17e7120..d90b7d84 100644 --- a/cosmo-api/pom.xml +++ b/cosmo-api/pom.xml @@ -4,7 +4,7 @@ net.oneandone.cosmo cosmo-multimodule - 6.0.3-SNAPSHOT + 7.0.0-SNAPSHOT cosmo-api @@ -24,7 +24,6 @@ org.apache.commons commons-lang3 - 3.14.0 jakarta.servlet @@ -34,13 +33,7 @@ org.mnode.ical4j - ical4j - - - commons-codec - commons-codec - - + ical4j org.springframework.security diff --git a/cosmo-core/pom.xml b/cosmo-core/pom.xml index c0fceea8..965978eb 100644 --- a/cosmo-core/pom.xml +++ b/cosmo-core/pom.xml @@ -12,25 +12,12 @@ net.oneandone.cosmo cosmo-multimodule - 6.0.3-SNAPSHOT + 7.0.0-SNAPSHOT 4.0.0 cosmo-core - - - 2.5 - 2.8 - 2.1.1 - 2.2 - 2.2.2 - false - - - - - - + org.springframework.boot spring-boot-starter-web @@ -61,18 +48,15 @@ org.apache.commons - commons-lang3 - 3.14.0 + commons-lang3 org.apache.commons - commons-text - 1.11.0 + commons-text commons-io - commons-io - 2.15.1 + commons-io commons-codec @@ -95,10 +79,7 @@ xerces xercesImpl - + org.mariadb.jdbc @@ -119,36 +100,18 @@ parsing eTags. --> org.apache.abdera - abdera-core - - - commons-codec - commons-codec - - + abdera-core org.apache.abdera - abdera-i18n - - - commons-codec - commons-codec - - + abdera-i18n org.mnode.ical4j - ical4j - - - commons-codec - commons-codec - - + ical4j @@ -217,18 +180,12 @@ org.hibernate.validator hibernate-validator - - - - org.apache.httpcomponents - httpclient - + org.junit.jupiter - junit-jupiter - test + junit-jupiter diff --git a/cosmo-core/src/test/unit/resources/application-test.yaml b/cosmo-core/src/test/unit/resources/application-test.yaml index 489e9032..735076cb 100644 --- a/cosmo-core/src/test/unit/resources/application-test.yaml +++ b/cosmo-core/src/test/unit/resources/application-test.yaml @@ -59,8 +59,7 @@ spring: datasource: url: jdbc:mariadb://localhost:33060/test?autoReconnect=true username: root - password: - driver-class-name: org.mariadb.jdbc.Driver + password: hikari: maximum-pool-size: 10 jpa: diff --git a/pom.xml b/pom.xml index 2e514c4c..35c6fdb8 100644 --- a/pom.xml +++ b/pom.xml @@ -10,15 +10,9 @@ 4.0.0 - - net.oneandone.maven.poms - foss-parent - 1.6.1 - - net.oneandone.cosmo cosmo-multimodule - 6.0.3-SNAPSHOT + 7.0.0-SNAPSHOT pom @@ -33,8 +27,7 @@ false UTF-8 - 3.1.0 - 5.8.3 + 3.3.1 6.2.2.Final 8.0.0.Final @@ -44,22 +37,18 @@ 1.9.2 2.0.7 - 1.4.8 + 1.5.6 3.1.4 2.12.0 1.6.1 1.0.1 4.0.6 - 4.5.12 - 2.11.0 + + 2.17.1 1.1.3 5.9.2 - - 4.7.3.4 - 3.6.0 - true true @@ -69,6 +58,18 @@ false true + + 4.7.3.4 + 3.6.0 + 2.5.3 + 3.0.1 + 3.0.1 + 1.6 + 3.0 + 3.2.5 + 3.4.0 + 3.13.0 + @@ -147,6 +148,10 @@ org.slf4j slf4j-log4j12 + + commons-codec + commons-codec + @@ -179,24 +184,7 @@ hibernate-validator ${hibernate-validator.version} - - - org.springframework.security - spring-security-config - ${org.springframework.security.version} - runtime - - - org.springframework - spring-expression - - - commons-logging - commons-logging - - - - + org.aspectj aspectjweaver @@ -229,6 +217,10 @@ commons-logging + commons-codec + commons-codec + + org.apache.geronimo.specs geronimo-activation_1.1_spec @@ -248,6 +240,10 @@ commons-logging + commons-codec + commons-codec + + org.apache.geronimo.specs geronimo-activation_1.1_spec @@ -280,11 +276,6 @@ runtime ${logback.version} - - org.apache.httpcomponents - httpclient - ${httpclient.version} - com.fasterxml.jackson.core jackson-core @@ -295,6 +286,17 @@ jackson-databind ${jackson.version} + + + org.apache.commons + commons-text + 1.12.0 + + + commons-io + commons-io + 2.16.1 + @@ -312,6 +314,7 @@ org.apache.maven.plugins maven-checkstyle-plugin + ${maven-checkstyle-plugin.version} true checkstyle-suppressions.xml @@ -321,6 +324,7 @@ com.mycila license-maven-plugin + ${maven-license-plugin.version}
${maven-license-plugin.header}
false @@ -332,19 +336,13 @@ SLASHSTAR_STYLE -
- - - net.oneandone.maven.poms - foss-configs - ${foss-configs.version} - - +
org.apache.maven.plugins maven-javadoc-plugin + ${maven-javadoc-plugin.version} none true @@ -353,14 +351,35 @@ org.apache.maven.plugins - maven-compiler-plugin + maven-compiler-plugin + ${maven-compiler-plugin.version} true -parameters - + + org.apache.maven.plugins + maven-gpg-plugin + ${maven-gpg-plugin.version} + + + + org.apache.maven.plugins + maven-release-plugin + ${maven-release-plugin.version} + true + + + forked-path + true + + + @@ -383,5 +402,79 @@ https://github.com/1and1/ HEAD + + + + sonatype-nexus-snapshots + https://oss.sonatype.org/content/repositories/snapshots/ + + + sonatype-nexus-staging + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + + + + + + release-sign-artifacts + + + performRelease + true + + + + + + org.apache.maven.plugins + maven-gpg-plugin + + + sign-artifacts + verify + + sign + + + + + + com.mycila + license-maven-plugin + + + + check + + + + + + + + + + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + + danielgrigore + Daniel Grigore + 1 & 1 Internet AG + ${project.url} + https://github.com/danielgrigore + +1 + + developer + + + + From 4a854b197c75b8fa1b30d41407425af4e337813a Mon Sep 17 00:00:00 2001 From: Daniel Grigore Date: Wed, 10 Jul 2024 16:32:52 +0300 Subject: [PATCH 02/10] Update maven.yml --- .github/workflows/maven.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 8d0f3605..ee43df0d 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -27,5 +27,7 @@ jobs: java-version: '17' distribution: 'temurin' cache: maven - - name: Build with Maven + - name: Show maven version + run: mvn --version + - name: Build with Maven run: mvn -B package --file pom.xml From 0a7d42dfe3e82e63803d5685c7729907c4b3b8ac Mon Sep 17 00:00:00 2001 From: Daniel Grigore Date: Wed, 10 Jul 2024 16:48:53 +0300 Subject: [PATCH 03/10] chore: set maven version --- .github/workflows/maven.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index ee43df0d..04dccb3a 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -22,10 +22,11 @@ jobs: steps: - uses: actions/checkout@v3 - name: run tests in java 17 - uses: actions/setup-java@v3 + uses: s4u/setup-maven-action@v1.7.0 with: java-version: '17' distribution: 'temurin' + maven-version: 3.9.4 cache: maven - name: Show maven version run: mvn --version From 04f5fd36e097ed7fb57d1ae19052d3fa684dc3ff Mon Sep 17 00:00:00 2001 From: Daniel Grigore Date: Wed, 10 Jul 2024 16:57:02 +0300 Subject: [PATCH 04/10] chore: format xml --- pom.xml | 86 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 43 insertions(+), 43 deletions(-) diff --git a/pom.xml b/pom.xml index 35c6fdb8..341c2f05 100644 --- a/pom.xml +++ b/pom.xml @@ -59,16 +59,16 @@ true - 4.7.3.4 - 3.6.0 - 2.5.3 - 3.0.1 - 3.0.1 - 1.6 - 3.0 - 3.2.5 - 3.4.0 - 3.13.0 + 4.7.3.4 + 3.6.0 + 2.5.3 + 3.0.1 + 3.0.1 + 1.6 + 3.0 + 3.2.5 + 3.4.0 + 3.13.0 @@ -217,9 +217,9 @@ commons-logging - commons-codec - commons-codec - + commons-codec + commons-codec + org.apache.geronimo.specs geronimo-activation_1.1_spec @@ -240,9 +240,9 @@ commons-logging - commons-codec - commons-codec - + commons-codec + commons-codec + org.apache.geronimo.specs geronimo-activation_1.1_spec @@ -288,15 +288,15 @@
- org.apache.commons - commons-text - 1.12.0 - - - commons-io - commons-io - 2.16.1 - + org.apache.commons + commons-text + 1.12.0 + + + commons-io + commons-io + 2.16.1 + @@ -360,25 +360,25 @@ - org.apache.maven.plugins - maven-gpg-plugin - ${maven-gpg-plugin.version} - + org.apache.maven.plugins + maven-gpg-plugin + ${maven-gpg-plugin.version} + - - org.apache.maven.plugins - maven-release-plugin - ${maven-release-plugin.version} - true - - - forked-path - true - - + + org.apache.maven.plugins + maven-release-plugin + ${maven-release-plugin.version} + true + + + forked-path + true + + From b127f545089985bd13fe1c9c0fba29fc1c16f9ae Mon Sep 17 00:00:00 2001 From: Daniel Grigore Date: Wed, 10 Jul 2024 17:04:52 +0300 Subject: [PATCH 05/10] chore: update versions --- .github/workflows/maven.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 04dccb3a..800d58a7 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -20,14 +20,13 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: run tests in java 17 - uses: s4u/setup-maven-action@v1.7.0 + uses: s4u/setup-maven-action@v1.14.0 with: java-version: '17' distribution: 'temurin' maven-version: 3.9.4 - cache: maven - name: Show maven version run: mvn --version - name: Build with Maven From a3b1e1cc17d0f1ea5bcfe90cefd314bca30b0c69 Mon Sep 17 00:00:00 2001 From: Daniel Grigore Date: Wed, 10 Jul 2024 17:08:09 +0300 Subject: [PATCH 06/10] chore: use setuo-java v.4.2.1 --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 800d58a7..eeb4ebbc 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -22,7 +22,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: run tests in java 17 - uses: s4u/setup-maven-action@v1.14.0 + uses: actions/setup-java@v4.2.1 with: java-version: '17' distribution: 'temurin' From 111081d5a8a0f4935f81c369c6645801ab9a3983 Mon Sep 17 00:00:00 2001 From: Daniel Grigore Date: Wed, 10 Jul 2024 17:09:47 +0300 Subject: [PATCH 07/10] fix: use setup-maven-action --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index eeb4ebbc..800d58a7 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -22,7 +22,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: run tests in java 17 - uses: actions/setup-java@v4.2.1 + uses: s4u/setup-maven-action@v1.14.0 with: java-version: '17' distribution: 'temurin' From 3331d4798befdc7ed74e10de9ce62cb8bafacf83 Mon Sep 17 00:00:00 2001 From: Daniel Grigore Date: Thu, 11 Jul 2024 11:44:11 +0300 Subject: [PATCH 08/10] chore: remove logback versions --- cosmo-core/pom.xml | 11 ----------- pom.xml | 30 +----------------------------- 2 files changed, 1 insertion(+), 40 deletions(-) diff --git a/cosmo-core/pom.xml b/cosmo-core/pom.xml index 965978eb..f1ed5035 100644 --- a/cosmo-core/pom.xml +++ b/cosmo-core/pom.xml @@ -62,18 +62,7 @@ commons-codec commons-codec - - - - ch.qos.logback - logback-classic - - - ch.qos.logback - logback-core - - xerces diff --git a/pom.xml b/pom.xml index 341c2f05..9e5a4edd 100644 --- a/pom.xml +++ b/pom.xml @@ -36,8 +36,6 @@ 3.2.14 1.9.2 - 2.0.7 - 1.5.6 3.1.4 2.12.0 @@ -249,33 +247,7 @@ - - - - org.slf4j - jcl-over-slf4j - runtime - ${slf4j.version} - - - org.slf4j - slf4j-api - compile - ${slf4j.version} - - - - ch.qos.logback - logback-classic - runtime - ${logback.version} - - - ch.qos.logback - logback-core - runtime - ${logback.version} - + com.fasterxml.jackson.core jackson-core From 2ff6c2bfb2570bee460de306f99b69d8413e28dc Mon Sep 17 00:00:00 2001 From: Daniel Grigore Date: Thu, 11 Jul 2024 15:10:13 +0300 Subject: [PATCH 09/10] chore: library updates --- .../hibernate/HibCalendarCollectionStamp.java | 8 ++--- .../hibernate/HibEventExceptionStamp.java | 8 ++--- .../cosmo/model/hibernate/HibEventStamp.java | 8 ++--- .../model/hibernate/HibMessageStamp.java | 1 - .../cosmo/model/hibernate/HibTaskStamp.java | 9 ++---- .../test/unit/resources/application-test.yaml | 3 +- cosmo-webapp/pom.xml | 4 +-- .../src/main/resources/application.yaml | 1 - pom.xml | 29 +++++++++---------- 9 files changed, 26 insertions(+), 45 deletions(-) diff --git a/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibCalendarCollectionStamp.java b/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibCalendarCollectionStamp.java index 4fd49b16..cdc8e699 100644 --- a/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibCalendarCollectionStamp.java +++ b/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibCalendarCollectionStamp.java @@ -19,11 +19,6 @@ import java.util.Iterator; import java.util.Set; -import jakarta.persistence.DiscriminatorValue; -import jakarta.persistence.Entity; - -import org.hibernate.annotations.Cache; -import org.hibernate.annotations.CacheConcurrencyStrategy; import org.unitedinternet.cosmo.hibernate.validator.Color; import org.unitedinternet.cosmo.hibernate.validator.DisplayName; import org.unitedinternet.cosmo.hibernate.validator.Timezone; @@ -35,6 +30,8 @@ import org.unitedinternet.cosmo.model.QName; import org.unitedinternet.cosmo.model.Stamp; +import jakarta.persistence.DiscriminatorValue; +import jakarta.persistence.Entity; import net.fortuna.ical4j.model.Calendar; import net.fortuna.ical4j.model.Component; import net.fortuna.ical4j.model.Property; @@ -48,7 +45,6 @@ */ @Entity @DiscriminatorValue("calendar") -@Cache(usage = CacheConcurrencyStrategy.READ_WRITE) public class HibCalendarCollectionStamp extends HibStamp implements ICalendarConstants, CalendarCollectionStamp { private static final long serialVersionUID = 4397868099410967516L; diff --git a/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibEventExceptionStamp.java b/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibEventExceptionStamp.java index 5cbc9f17..b27a68da 100644 --- a/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibEventExceptionStamp.java +++ b/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibEventExceptionStamp.java @@ -15,11 +15,6 @@ */ package org.unitedinternet.cosmo.model.hibernate; -import jakarta.persistence.DiscriminatorValue; -import jakarta.persistence.Entity; - -import org.hibernate.annotations.Cache; -import org.hibernate.annotations.CacheConcurrencyStrategy; import org.unitedinternet.cosmo.CosmoException; import org.unitedinternet.cosmo.calendar.ICalendarUtils; import org.unitedinternet.cosmo.hibernate.validator.EventException; @@ -29,6 +24,8 @@ import org.unitedinternet.cosmo.model.NoteItem; import org.unitedinternet.cosmo.model.Stamp; +import jakarta.persistence.DiscriminatorValue; +import jakarta.persistence.Entity; import net.fortuna.ical4j.model.Calendar; import net.fortuna.ical4j.model.Component; import net.fortuna.ical4j.model.component.VEvent; @@ -38,7 +35,6 @@ */ @Entity @DiscriminatorValue("eventexception") -@Cache(usage = CacheConcurrencyStrategy.READ_WRITE) public class HibEventExceptionStamp extends HibBaseEventStamp implements EventExceptionStamp { private static final long serialVersionUID = 3992468809776886156L; diff --git a/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibEventStamp.java b/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibEventStamp.java index 374770cb..1fcbd507 100644 --- a/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibEventStamp.java +++ b/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibEventStamp.java @@ -18,11 +18,6 @@ import java.util.ArrayList; import java.util.List; -import jakarta.persistence.DiscriminatorValue; -import jakarta.persistence.Entity; - -import org.hibernate.annotations.Cache; -import org.hibernate.annotations.CacheConcurrencyStrategy; import org.unitedinternet.cosmo.CosmoException; import org.unitedinternet.cosmo.calendar.ICalendarUtils; import org.unitedinternet.cosmo.hibernate.validator.Event; @@ -32,6 +27,8 @@ import org.unitedinternet.cosmo.model.NoteItem; import org.unitedinternet.cosmo.model.Stamp; +import jakarta.persistence.DiscriminatorValue; +import jakarta.persistence.Entity; import net.fortuna.ical4j.model.Calendar; import net.fortuna.ical4j.model.Component; import net.fortuna.ical4j.model.component.VEvent; @@ -42,7 +39,6 @@ */ @Entity @DiscriminatorValue("event") -@Cache(usage = CacheConcurrencyStrategy.READ_WRITE) public class HibEventStamp extends HibBaseEventStamp implements EventStamp { /** diff --git a/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibMessageStamp.java b/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibMessageStamp.java index e74c1e8b..b0e1b090 100644 --- a/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibMessageStamp.java +++ b/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibMessageStamp.java @@ -33,7 +33,6 @@ */ @Entity @DiscriminatorValue("message") -@Cache(usage = CacheConcurrencyStrategy.READ_WRITE) public class HibMessageStamp extends HibStamp implements MessageStamp { private static final long serialVersionUID = -6100568628972081120L; diff --git a/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibTaskStamp.java b/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibTaskStamp.java index 6fcd222a..a63ebe6e 100644 --- a/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibTaskStamp.java +++ b/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibTaskStamp.java @@ -15,23 +15,20 @@ */ package org.unitedinternet.cosmo.model.hibernate; -import jakarta.persistence.DiscriminatorValue; -import jakarta.persistence.Entity; - -import org.hibernate.annotations.Cache; -import org.hibernate.annotations.CacheConcurrencyStrategy; import org.unitedinternet.cosmo.model.Item; import org.unitedinternet.cosmo.model.QName; import org.unitedinternet.cosmo.model.Stamp; import org.unitedinternet.cosmo.model.TaskStamp; +import jakarta.persistence.DiscriminatorValue; +import jakarta.persistence.Entity; + /** * Hibernate persistent TaskStamp. */ @Entity @DiscriminatorValue("task") -@Cache(usage = CacheConcurrencyStrategy.READ_WRITE) public class HibTaskStamp extends HibStamp implements TaskStamp { private static final long serialVersionUID = -6197756070431706553L; diff --git a/cosmo-core/src/test/unit/resources/application-test.yaml b/cosmo-core/src/test/unit/resources/application-test.yaml index 735076cb..ce6838b0 100644 --- a/cosmo-core/src/test/unit/resources/application-test.yaml +++ b/cosmo-core/src/test/unit/resources/application-test.yaml @@ -63,8 +63,7 @@ spring: hikari: maximum-pool-size: 10 jpa: - properties: - hibernate.dialect: org.hibernate.dialect.MariaDB103Dialect + properties: hibernate.cache.use_query_cache: false hibernate.cache.use_second_level_cache: false hibernate.show_sql: false diff --git a/cosmo-webapp/pom.xml b/cosmo-webapp/pom.xml index 1c0c223b..b4c5a1ba 100644 --- a/cosmo-webapp/pom.xml +++ b/cosmo-webapp/pom.xml @@ -5,7 +5,7 @@ cosmo-multimodule net.oneandone.cosmo - 6.0.2 + 7.0.0-SNAPSHOT 4.0.0 @@ -17,7 +17,7 @@ net.oneandone.cosmo cosmo-core - 6.0.2 + 7.0.0-SNAPSHOT diff --git a/cosmo-webapp/src/main/resources/application.yaml b/cosmo-webapp/src/main/resources/application.yaml index 2708cabb..b8b28213 100644 --- a/cosmo-webapp/src/main/resources/application.yaml +++ b/cosmo-webapp/src/main/resources/application.yaml @@ -70,7 +70,6 @@ spring: maximum-pool-size: 10 jpa: properties: - hibernate.dialect: org.hibernate.dialect.MariaDB103Dialect hibernate.cache.use_query_cache: false hibernate.cache.use_second_level_cache: false hibernate.show_sql: false diff --git a/pom.xml b/pom.xml index 9e5a4edd..db08d8ad 100644 --- a/pom.xml +++ b/pom.xml @@ -28,24 +28,23 @@ UTF-8 3.3.1 - 6.2.2.Final - 8.0.0.Final - - 2.2.4 + 6.5.2.Final + 8.0.1.Final + 3.0.1 3.2.14 - 1.9.2 + 1.9.22.1 - 3.1.4 - 2.12.0 + 3.4.0 + 2.12.2 1.6.1 1.0.1 4.0.6 - 2.17.1 + 2.17.2 1.1.3 - 5.9.2 + 5.10.3 true @@ -59,13 +58,13 @@ 4.7.3.4 3.6.0 - 2.5.3 + 2.5.3 3.0.1 - 3.0.1 - 1.6 + 3.0.1 + 1.6 3.0 - 3.2.5 - 3.4.0 + 3.2.5 + 3.4.0 3.13.0 @@ -122,7 +121,7 @@ dev.atchison.mariaDB4j mariaDB4j test - 2.7.1 + 2.7.2 From 33fe9563baf8799cd8cf2f7fee8ad70d6d274e34 Mon Sep 17 00:00:00 2001 From: Daniel Grigore Date: Thu, 11 Jul 2024 15:43:55 +0300 Subject: [PATCH 10/10] chore: remove hibernate/validator versions --- .../model/hibernate/HibMessageStamp.java | 8 +++----- pom.xml | 20 ++----------------- 2 files changed, 5 insertions(+), 23 deletions(-) diff --git a/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibMessageStamp.java b/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibMessageStamp.java index b0e1b090..b0d34f7b 100644 --- a/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibMessageStamp.java +++ b/cosmo-core/src/main/java/org/unitedinternet/cosmo/model/hibernate/HibMessageStamp.java @@ -17,16 +17,14 @@ import java.io.Reader; -import jakarta.persistence.DiscriminatorValue; -import jakarta.persistence.Entity; - -import org.hibernate.annotations.Cache; -import org.hibernate.annotations.CacheConcurrencyStrategy; import org.unitedinternet.cosmo.model.Item; import org.unitedinternet.cosmo.model.MessageStamp; import org.unitedinternet.cosmo.model.QName; import org.unitedinternet.cosmo.model.Stamp; +import jakarta.persistence.DiscriminatorValue; +import jakarta.persistence.Entity; + /** * Hibernate persistent MessageStamp. diff --git a/pom.xml b/pom.xml index db08d8ad..e1a15ca4 100644 --- a/pom.xml +++ b/pom.xml @@ -28,8 +28,6 @@ UTF-8 3.3.1 - 6.5.2.Final - 8.0.1.Final 3.0.1 3.2.14 @@ -42,7 +40,7 @@ 1.0.1 4.0.6 - 2.17.2 + 2.17.2 1.1.3 5.10.3 @@ -167,21 +165,7 @@ - - - - - org.hibernate.orm - hibernate-core - ${hibernate.core.version} - - - - org.hibernate.validator - hibernate-validator - ${hibernate-validator.version} - - + org.aspectj aspectjweaver