(james-project) branch postgresql-backup updated (bf5f99e455 -> b18ca30f2c)
This is an automated email from the ASF dual-hosted git repository. rcordier pushed a change to branch postgresql-backup in repository https://gitbox.apache.org/repos/asf/james-project.git omit bf5f99e455 JAMES-2586 Plug PreDeletionHooks omit bf9a4b1d00 JAMES-2586 PostgresDeletedMessageVaultIntegrationTest omit de96f76fd9 JAMES-2586 Plug DeletedMessageVaultDeletionCallback into DeleteMessageListener omit 55a09898a5 JAMES-2586 Guice binding + module chooser + sample config for Postgres DeletedMessageVault omit c2dbfc579f JAMES-2586 Implement PostgresDeletedMessageMetadataVault omit c43b2c544e JAMES-2586 Refactor the way initPostgres of PostgresTableManager omit 46af7b1cfa Guice InitializationOperation support priority when init module omit 81b412e3d3 JAMES-2586 - Fix BUG - DeleteMessageListener - not work correctly when enabling RLS omit 7941d71733 JAMES-2586 - Update test cases for Delete message listener - when enabling Row level security omit 3db14637e1 JAMES-2586 Bump r2dbc-postgresql to 1.0.3.RELEASE omit c58e619d34 JAMES-2586 Bump jOOQ to 3.16.23 omit 602faa9980 JAMES-3777 [FIX] ReadProjection was not correctly used (#1899) omit e6ff72c754 JAMES-2586 Adopt Postgres 16.1 (#1897) omit d279e01dcc JAMES-2586 [PGSQL] Guice binding Postgres BlobStore & Adapt to BlobStoreModulesChooser omit 42ccbca1b8 JAMES-2586 Disable concurrent test of PostgresBlobStoreDAO omit 5c125e46e2 JAMES-2586 Implement PostgresBlobStoreDAO omit 8a85f704f2 JAMES-3817 Only perform JMAP event bus dead letter health check if JMAP is used omit 0ea2767f7c JAMES-2586 Add a health check integration test omit 42cb00e2b3 JAMES-2586 Add missing license omit 72861a5b4f JAMES-2586 Fix flaky test DistributedPostgresJamesServerTest.guiceServerShouldUpdateQuota omit 3e86c78b58 JAMES-2586 Implement PostgresEventDeadLetters omit 23be5d2b63 JAMES-2586 Fixup search overrides - Using Postgres Factory Executor replace to invoke DAO directly (#1880) omit 3af35b7f99 JAMES-2586 Implement DeleteMessageListener for postgres (#1869) omit 174278eb53 JAMES-2586 Plug RabbitMQ EventBus into Postgres-app omit e4d992ba71 JAMES-2586 Moving RabbitMQExtension from distributed-app to queue-rabbitmq-guice omit 6d1c45fcc6 JAMES-2586 Unnecessary join on deleted uid search queries in postgresql omit a177afee3b JAMES-2586 Refactor search overrides tests for postgresql omit 41f476362d JAMES-2586 Correct search overrides documentation in opensearch.properties omit b367787dae JAMES-2586 Implement UnseenSearchOverrideTest for Postgresql omit bd650deb7e JAMES-2586 Implement UidSearchOverride for Postgresql omit c95f95e221 JAMES-2586 Implement NotDeletedWithRangeSearchOverride for Postgresql omit 6aee4e9297 JAMES-2586 Implement DeletedWithRangeSearchOverride for Postgresql omit 4621b0ad62 JAMES-2586 Implement DeletedSearchOverride for Postgresql omit 931fccc8d5 JAMES-2586 Implement AllSearchOverride for Postgresql omit 77ca11653c JAMES-2586 Remove james-server-cassandra-app direct dependency (#1875) omit ee731c57ba JAMES-2586 Message body deduplication (#1873) omit 64d524375a JAMES-2586 Module chooser: S3, file blobStore omit 77b4291cc5 JAMES-2586 Rework README for Postgres-app and rework the docker compose with only Postgresql after adding search module chooser omit b83e6a79c1 JAMES-2586 Add docker compose distributed with OpenSearch for postgres app omit bc35746b50 JAMES-2586 Add search module chooser for Postgres app omit 1f1582ddcd [PGSQL] ADR on PGSQL flags update concurrency control mechanism (#1867) omit 3e837a2951 JAMES-2586 Fix [PGSQL] Concurrency control for flags updates (#1858) omit 23b3efa252 JAMES-2586 Add an Id for SieveScript (#1863) omit e0ded32754 JAMES-2586 add missing RLS tests omit d3162c0726 JAMES-2586 Fix repositoryPath in postgres-app mailetcontainer.xml omit 4020a3904e JAMES-2586 Fix compilation errors omit a47923646a JAMES-2586 Add an `addAdditionalAlterQueries` option when declaring Postgres table omit a0d56c7862 JAMES-2586 Finally remove the rest of JPA in postgres-app omit a61ce58027 JAMES-2586 Updating postgres-app default configuration to PostgresMailRepository omit f488c1d6b4 JAMES-2586 Documentation for PostgresMailRepository omit 3ea0846a0c JAMES-2586 Guice binding for PostgresMailRepository + remove related JPA code omit 6741396e91 JAMES-2586 Implement PostgresMailRepository omit 2059be497e JAMES-2586 Guice binding for PostgresSieveScriptDAO omit c3ee8db7ee JAMES-2586 Delete JPASieveScript.java omit 4e56c426df JAMES-2586 Implement PostgresSieveScriptDAO + PostgresSieveRepository omit b6ef595fc3 JAMES-2586 ADR for Posgres mailbox tables structure (#1857) omit 6d3c27eda4 JAMES-3967 Store mails when relay is exceeded omit 9132406cb6 JAMES-2586 Implement and bind PostgresHealthCheck omit
Re: [PR] Create AttachmentIdFactory [james-project]
quantranhong1999 commented on PR #2133: URL: https://github.com/apache/james-project/pull/2133#issuecomment-2008600988 > Should I put JAMES-2586 to this? The purpose of this PR is only refactoring code in master and creating AttachmentIdFactory so that I can implement new AttachmentId for postgres app My guess that is OK. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org
Re: [PR] Create AttachmentIdFactory [james-project]
hungphan227 commented on PR #2133: URL: https://github.com/apache/james-project/pull/2133#issuecomment-2008598263 > Any ticket number or tag for this work? Should I put JAMES-2586 to this? The purpose of this PR is only refactoring code in master and creating AttachmentIdFactory so that I can implement new AttachmentId for postgres app -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org
Re: [PR] Create AttachmentIdFactory [james-project]
quantranhong1999 commented on PR #2133: URL: https://github.com/apache/james-project/pull/2133#issuecomment-2008584603 Any ticket number or tag for this work? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org
Re: [PR] Create AttachmentIdFactory [james-project]
Arsnael commented on PR #2133: URL: https://github.com/apache/james-project/pull/2133#issuecomment-2008569245 ``` 12:15:19,569 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.3.0:check (check-style) on project apache-james-mailbox-jpa: You have 2 Checkstyle violations. -> [Help 1] ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org
[PR] [FIX] IMAP APPEND file leak [james-project]
chibenwa opened a new pull request, #2134: URL: https://github.com/apache/james-project/pull/2134 This exception: ``` java.util.NoSuchElementException: framer ``` Was unmanaged (reactor subscriber in the stacktrace) Followed immediatly by: ``` org.apache.james.lifecycle.api.Disposable$LeakAwareFinalizer "message":"Leak detected! Resource org.apache.james.imapserver.netty.ImapRequestFrameDecoder$FileHolderInner@3d635737 was not released before its referent was garbage-collected. Resource management needs to be reviewed: ensure to always call dispose() for disposable objects you work with. Consider enabling advanced leak detection to further identify the problem. ``` In such case catching and propagating the exception as well as releasing the file seems like a good idea. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org
(james-project) branch dtm-workqueue updated (93903ded0e -> ea55fca4d0)
This is an automated email from the ASF dual-hosted git repository. btellier pushed a change to branch dtm-workqueue in repository https://gitbox.apache.org/repos/asf/james-project.git from 93903ded0e fixup! fixup! fixup! fixup! [ENHANCEMENT] Workqueue for the deleted message vault add ea55fca4d0 fixup! fixup! fixup! fixup! fixup! [ENHANCEMENT] Workqueue for the deleted message vault No new revisions were added by this update. Summary of changes: .../james/modules/mailbox/DistributedDeletedMessageVaultModule.java| 3 --- 1 file changed, 3 deletions(-) - To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org
(james-project) branch dtm-workqueue updated (7082160d7a -> 93903ded0e)
This is an automated email from the ASF dual-hosted git repository. btellier pushed a change to branch dtm-workqueue in repository https://gitbox.apache.org/repos/asf/james-project.git from 7082160d7a [ENHANCEMENT] Workqueue for the deleted message vault add 3ee3a6299f fixup! [ENHANCEMENT] Workqueue for the deleted message vault add 2791137c91 fixup! fixup! [ENHANCEMENT] Workqueue for the deleted message vault add f9a3eb5402 fixup! fixup! fixup! [ENHANCEMENT] Workqueue for the deleted message vault add 93903ded0e fixup! fixup! fixup! fixup! [ENHANCEMENT] Workqueue for the deleted message vault No new revisions were added by this update. Summary of changes: .../mailbox/cassandra/DeleteMessageListener.java | 13 +++-- .../DeletedMessageVaultDeletionCallback.java | 2 +- .../org/apache/james/vault/VaultConfiguration.java | 22 -- .../apache/james/vault/VaultConfigurationTest.java | 12 ++-- .../james/CassandraRabbitMQJamesServerMain.java| 8 +++- .../james/DistributedPOP3JamesServerMain.java | 8 +++- ...ributedDeletedMessageVaultDeletionCallback.java | 13 - .../DistributedDeletedMessageVaultModule.java | 12 ...EnabledDeletedMessageVaultIntegrationTest.java} | 4 ++-- 9 files changed, 66 insertions(+), 28 deletions(-) copy server/protocols/webadmin-integration-test/distributed-webadmin-integration-test/src/test/java/org/apache/james/webadmin/integration/rabbitmq/vault/{RabbitMQDeletedMessageVaultIntegrationTest.java => WorkQueueEnabledDeletedMessageVaultIntegrationTest.java} (95%) - To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org
[PR] Create AttachmentIdFactory [james-project]
hungphan227 opened a new pull request, #2133: URL: https://github.com/apache/james-project/pull/2133 (no comment) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org
[PR] JAMES-2586 [REFACTORING] - PostgresTableManager - fix incorrect log... [james-project]
vttranlina opened a new pull request, #2132: URL: https://github.com/apache/james-project/pull/2132 **JAMES-2586 [REFACTORING] - PostgresTableManager - fix incorrect log** To avoid incorrect logs for each startup James. The fact is James does nothing when the table, index already exist ``` 09:19:33.286 [INFO ] o.a.j.b.p.PostgresTableManager - Table users created 2024-03-19T09:19:33.294965068Z 09:19:33.294 [INFO ] o.a.j.b.p.PostgresTableManager - Table blob_storage created 2024-03-19T09:19:33.305075602Z 09:19:33.305 [INFO ] o.a.j.b.p.PostgresTableManager - Table mailbox created ... 09:19:33.584 [INFO ] o.a.j.b.p.PostgresTableManager - Index push_subscription_username_index created 2024-03-19T09:19:33.588015366Z 09:19:33.587 [INFO ] o.a.j.b.p.PostgresTableManager - Index push_subscription_username_id_index created 2024-03-19T09:19:33.592813365Z 09:19:33.592 [INFO ] o.a.j.b.p.PostgresTableManager - Index custom_identity_username_index created ... ``` **JAMES-2586 Refactor the handle way duplicate value on constraint index to avoid noise log (Mailbox and User table)** To avoid noise log from JOOQ library -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org
Re: [PR] [ENHANCEMENT] Workqueue for the deleted message vault [james-project]
chibenwa commented on PR #2131: URL: https://github.com/apache/james-project/pull/2131#issuecomment-2006170277 Main issue with this design is that it requires "dedup" to work, as otherwise the blob payload may not be accessible. Reflact this into the module chooser? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org
(james-project) 10/18: JAMES-3961 AssertJ bean introspection
This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git commit 7c471f0967a869059f4b28bba2e5c369562cd0b6 Author: Benoit TELLIER AuthorDate: Thu Jan 11 13:25:35 2024 +0100 JAMES-3961 AssertJ bean introspection --- .../apache/james/JsonSerializationVerifier.java| 22 - ...omputeMailboxCountersTaskSerializationTest.java | 4 +++- .../SolveMailboxInconsistenciesServiceTest.java| 5 +++- ...essageInconsistenciesTaskSerializationTest.java | 8 +-- mailbox/jpa/pom.xml| 6 + mailbox/memory/pom.xml | 6 + ...rorRecoveryIndexationTaskSerializationTest.java | 7 -- .../FullReindexingTaskSerializationTest.java | 7 -- ...ngleMailboxReindexingTaskSerializationTest.java | 7 -- .../UserReindexingTaskSerializationTest.java | 8 --- .../RecomputeCurrentQuotasServiceContract.java | 5 +++- ...ecomputeCurrentQuotasTaskSerializationTest.java | 7 -- .../BlobGCTaskAdditionalInformationDTOTest.java| 4 +++- .../deduplication/BlobGCTaskSerializationTest.java | 5 ++-- .../james/jmap/cassandra/filtering/DTOTest.java| 28 +++--- .../change/StateChangeEventSerializerTest.scala| 5 ...sandraMappingsSolveInconsistenciesTaskTest.java | 15 +++- ...ctionItemsTaskAdditionalInformationDTOTest.java | 5 ++-- ...stViewProjectionItemsTaskSerializationTest.java | 4 +++- ...ctionItemsTaskAdditionalInformationDTOTest.java | 4 +++- ...stViewProjectionItemsTaskSerializationTest.java | 4 +++- .../service/ReprocessingAllMailsTaskTest.java | 16 + .../service/ReprocessingOneMailTaskTest.java | 8 --- 23 files changed, 147 insertions(+), 43 deletions(-) diff --git a/json/src/test/java/org/apache/james/JsonSerializationVerifier.java b/json/src/test/java/org/apache/james/JsonSerializationVerifier.java index 09cf2a8934..19c965b4ab 100644 --- a/json/src/test/java/org/apache/james/JsonSerializationVerifier.java +++ b/json/src/test/java/org/apache/james/JsonSerializationVerifier.java @@ -23,19 +23,38 @@ import static net.javacrumbs.jsonunit.assertj.JsonAssertions.assertThatJson; import static org.assertj.core.api.Assertions.assertThat; import java.io.IOException; +import java.util.Comparator; import java.util.List; import java.util.Optional; +import java.util.concurrent.atomic.AtomicBoolean; +import java.util.concurrent.atomic.AtomicInteger; +import java.util.concurrent.atomic.AtomicLong; import java.util.function.BiConsumer; +import java.util.function.BiPredicate; +import java.util.regex.Pattern; import org.apache.commons.lang3.tuple.Pair; import org.apache.james.json.DTO; import org.apache.james.json.DTOModule; import org.apache.james.json.JsonGenericSerializer; +import org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration; import com.github.fge.lambdas.Throwing; import com.google.common.collect.ImmutableList; public class JsonSerializationVerifier { + +public static final RecursiveComparisonConfiguration recursiveComparisonConfiguration = new RecursiveComparisonConfiguration(); + +static { + recursiveComparisonConfiguration.registerComparatorForType(Comparator.comparingInt(AtomicInteger::get), AtomicInteger.class); + recursiveComparisonConfiguration.registerComparatorForType(Comparator.comparingLong(AtomicLong::get), AtomicLong.class); +recursiveComparisonConfiguration.registerEqualsForType((o, o2) -> o.get() == o2.get(), AtomicInteger.class); +recursiveComparisonConfiguration.registerEqualsForType((o, o2) -> o.get() == o2.get(), AtomicLong.class); +recursiveComparisonConfiguration.registerEqualsForType((o, o2) -> o.get() == o2.get(), AtomicBoolean.class); +recursiveComparisonConfiguration.registerEqualsForType((o, o2) -> o.toString().equalsIgnoreCase(o2.toString()), Pattern.class); +} + @FunctionalInterface public interface RequireJson { JsonSerializationVerifier json(String json); @@ -61,7 +80,8 @@ public class JsonSerializationVerifier { private static EqualityTester defaultEqualityTester() { return (a, b) -> assertThat(a) .describedAs("Deserialization test [" + b + "]") -.isEqualToComparingFieldByFieldRecursively(b); +.usingRecursiveComparison(recursiveComparisonConfiguration) +.isEqualTo(b); } private final List> testValues; diff --git a/mailbox/cassandra/src/test/java/org/apache/james/mailbox/cassandra/mail/task/RecomputeMailboxCountersTaskSerializationTest.java b/mailbox/cassandra/src/test/java/org/apache/james/mailbox/cassandra/mail/task/RecomputeMailboxCountersTaskSerializationTest.java index 948471073e..948ad9bf86 100644 ---
(james-project) 18/18: JAMES-3961 Cucumber tests should not fail the unstable test phase
This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git commit 1afab2124813fd5c11d337fe35e7c6ac7b8990c3 Author: Quan Tran AuthorDate: Wed Jan 31 13:23:03 2024 +0700 JAMES-3961 Cucumber tests should not fail the unstable test phase Actually, the Cucumber tests already run in the stable test phase. But with the `@Suite` annotation, the `maven-surefire-plugin` pulled the Cucumber tests into the unstable tests phase as well. Somehow during the unstable tests phase, the maven plugin could not detect any cucumber tests and failed the entire unstable test phase. --- .../src/test/java/org/apache/james/rrt/cassandra/RewriteTablesTest.java | 2 +- .../src/test/java/org/apache/james/rrt/jpa/RewriteTablesTest.java | 2 +- .../src/test/java/org/apache/james/rrt/memory/RewriteTablesTest.java| 2 +- .../james/jmap/memory/cucumber/MemoryDownloadEnpointCucumberTest.java | 2 +- .../james/jmap/memory/cucumber/MemoryDownloadGetCucumberTest.java | 2 +- .../james/jmap/memory/cucumber/MemoryDownloadPostCucumberTest.java | 2 +- .../apache/james/jmap/memory/cucumber/MemoryGetMessagesMethodTest.java | 2 +- .../jmap/memory/cucumber/MemoryIMAPKeywordsInconsistenciesTest.java | 2 +- .../jmap/memory/cucumber/MemoryIMAPSetMessagesCompatibilityTest.java| 2 +- .../jmap/memory/cucumber/MemorySetMailboxesMethodCucumberTest.java | 2 +- .../james/jmap/memory/cucumber/MemorySetMessagesMethodCucumberTest.java | 2 +- .../java/org/apache/james/jmap/memory/cucumber/MemorySharingTest.java | 2 +- .../org/apache/james/jmap/memory/cucumber/MemoryUploadCucumberTest.java | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/server/data/data-cassandra/src/test/java/org/apache/james/rrt/cassandra/RewriteTablesTest.java b/server/data/data-cassandra/src/test/java/org/apache/james/rrt/cassandra/RewriteTablesTest.java index 5223d5e5bf..a23f8bc61e 100644 --- a/server/data/data-cassandra/src/test/java/org/apache/james/rrt/cassandra/RewriteTablesTest.java +++ b/server/data/data-cassandra/src/test/java/org/apache/james/rrt/cassandra/RewriteTablesTest.java @@ -25,7 +25,7 @@ import org.junit.platform.suite.api.IncludeEngines; import org.junit.platform.suite.api.SelectClasspathResource; import org.junit.platform.suite.api.Suite; -@Suite +@Suite(failIfNoTests = false) @IncludeEngines("cucumber") @SelectClasspathResource("cucumber") @ConfigurationParameter(key = GLUE_PROPERTY_NAME, value = "org.apache.james.rrt.lib,org.apache.james.rrt.cassandra") diff --git a/server/data/data-jpa/src/test/java/org/apache/james/rrt/jpa/RewriteTablesTest.java b/server/data/data-jpa/src/test/java/org/apache/james/rrt/jpa/RewriteTablesTest.java index 35fcc586b4..a4269d3e40 100644 --- a/server/data/data-jpa/src/test/java/org/apache/james/rrt/jpa/RewriteTablesTest.java +++ b/server/data/data-jpa/src/test/java/org/apache/james/rrt/jpa/RewriteTablesTest.java @@ -25,7 +25,7 @@ import org.junit.platform.suite.api.IncludeEngines; import org.junit.platform.suite.api.SelectClasspathResource; import org.junit.platform.suite.api.Suite; -@Suite +@Suite(failIfNoTests = false) @IncludeEngines("cucumber") @SelectClasspathResource("cucumber") @ConfigurationParameter(key = GLUE_PROPERTY_NAME, value = "org.apache.james.rrt.lib,org.apache.james.rrt.jpa") diff --git a/server/data/data-memory/src/test/java/org/apache/james/rrt/memory/RewriteTablesTest.java b/server/data/data-memory/src/test/java/org/apache/james/rrt/memory/RewriteTablesTest.java index aba5dc7f3d..ad9e3a7e57 100644 --- a/server/data/data-memory/src/test/java/org/apache/james/rrt/memory/RewriteTablesTest.java +++ b/server/data/data-memory/src/test/java/org/apache/james/rrt/memory/RewriteTablesTest.java @@ -25,7 +25,7 @@ import org.junit.platform.suite.api.IncludeEngines; import org.junit.platform.suite.api.SelectClasspathResource; import org.junit.platform.suite.api.Suite; -@Suite +@Suite(failIfNoTests = false) @IncludeEngines("cucumber") @SelectClasspathResource("cucumber") @ConfigurationParameter(key = GLUE_PROPERTY_NAME, value = "org.apache.james.rrt.lib,org.apache.james.rrt.memory") diff --git a/server/protocols/jmap-draft-integration-testing/memory-jmap-draft-integration-testing/src/test/java/org/apache/james/jmap/memory/cucumber/MemoryDownloadEnpointCucumberTest.java b/server/protocols/jmap-draft-integration-testing/memory-jmap-draft-integration-testing/src/test/java/org/apache/james/jmap/memory/cucumber/MemoryDownloadEnpointCucumberTest.java index 59b62c5c50..f47529bc1c 100644 --- a/server/protocols/jmap-draft-integration-testing/memory-jmap-draft-integration-testing/src/test/java/org/apache/james/jmap/memory/cucumber/MemoryDownloadEnpointCucumberTest.java +++
(james-project) 13/18: JAMES-3961 Cucumber update for JMAP draft integration tests
This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git commit 65acac3d2ce1e7bbbae7fa2017e52a5d458d63b4 Author: Benoit TELLIER AuthorDate: Tue Jan 16 11:36:12 2024 +0100 JAMES-3961 Cucumber update for JMAP draft integration tests --- pom.xml| 6 +- server/data/data-cassandra/pom.xml | 5 + server/data/data-jpa/pom.xml | 5 + server/data/data-library/pom.xml | 5 + server/data/data-memory/pom.xml| 5 + .../cucumber/GetMessageListMethodStepdefs.java | 13 ++- .../cucumber/GetMessagesMethodStepdefs.java| 72 +++- .../cucumber/SetMessagesMethodStepdefs.java| 15 +-- .../methods/integration/cucumber/UserStepdefs.java | 9 +- .../resources/cucumber/DownloadEndpoint.feature| 2 +- .../test/resources/cucumber/DownloadGet.feature| 2 +- .../test/resources/cucumber/GetMessages.feature| 110 +-- .../cucumber/ImapKeywordsConsistency.feature | 8 +- .../cucumber/sharing/CopyAndSharing.feature| 2 +- .../cucumber/sharing/DownloadAndSharing.feature| 2 +- .../cucumber/sharing/GetMessageAndSharing.feature | 8 +- .../KeywordsConsistencyOnDelegationMailbox.feature | 26 ++--- .../sharing/MailboxCreationAndSharing.feature | 2 +- .../cucumber/sharing/MoveMailboxAndSharing.feature | 2 +- .../cucumber/sharing/MoveMessageAndSharing.feature | 2 +- .../sharing/RenamingMailboxAndSharing.feature | 2 +- .../cucumber/sharing/SetFlagAndSharing.feature | 2 +- .../sharing/SetMessagesOnSharedMailbox.feature | 2 +- ...ringParentMailboxWithAndWithoutChildren.feature | 12 +- ...java => MemoryDownloadEnpointCucumberTest.java} | 4 +- .../cucumber/MemoryDownloadGetCucumberTest.java} | 13 +-- .../cucumber/MemoryDownloadPostCucumberTest.java} | 13 +-- .../MemorySetMailboxesMethodCucumberTest.java | 2 +- .../cucumber/awss3/CucumberAwsS3Singleton.java | 27 - .../cucumber/awss3/CucumberCassandraSingleton.java | 27 - .../awss3/CucumberOpenSearchSingleton.java | 27 - .../cucumber/awss3/CucumberRabbitMQSingleton.java | 26 - .../cucumber/awss3/RabbitMQAwsS3Stepdefs.java | 121 - .../awss3/RabbitMQDownloadCucumberTest.java| 40 --- .../awss3/RabbitMQGetMessagesMethodTest.java | 40 --- .../RabbitMQSetMailboxesMethodCucumberTest.java| 40 --- .../RabbitMQSetMessagesMethodCucumberTest.java | 40 --- .../cucumber/awss3/RabbitMQSharingTest.java| 40 --- .../cucumber/awss3/RabbitMQUploadCucumberTest.java | 40 --- 39 files changed, 193 insertions(+), 626 deletions(-) diff --git a/pom.xml b/pom.xml index 2000ff18f8..cad9398faf 100644 --- a/pom.xml +++ b/pom.xml @@ -2350,12 +2350,16 @@ cucumber-junit-platform-engine ${cucumber.version} - io.cucumber cucumber-picocontainer ${cucumber.version} + +io.cucumber +messages +22.0.0 + io.dropwizard.metrics metrics-core diff --git a/server/data/data-cassandra/pom.xml b/server/data/data-cassandra/pom.xml index c5199c86dd..801ccb2017 100644 --- a/server/data/data-cassandra/pom.xml +++ b/server/data/data-cassandra/pom.xml @@ -115,6 +115,11 @@ cucumber-picocontainer test + +io.cucumber +messages +test + net.javacrumbs.json-unit json-unit-assertj diff --git a/server/data/data-jpa/pom.xml b/server/data/data-jpa/pom.xml index 00656337b8..dbd51824d8 100644 --- a/server/data/data-jpa/pom.xml +++ b/server/data/data-jpa/pom.xml @@ -119,6 +119,11 @@ cucumber-picocontainer test + +io.cucumber +messages +test + org.apache.commons commons-configuration2 diff --git a/server/data/data-library/pom.xml b/server/data/data-library/pom.xml index 5f984c7ec9..5170eacf17 100644 --- a/server/data/data-library/pom.xml +++ b/server/data/data-library/pom.xml @@ -91,6 +91,11 @@ cucumber-junit test + +io.cucumber +messages +test + javax.annotation javax.annotation-api diff --git a/server/data/data-memory/pom.xml b/server/data/data-memory/pom.xml index b2e99fefab..a5aa36887b 100644 --- a/server/data/data-memory/pom.xml +++ b/server/data/data-memory/pom.xml @@ -93,6 +93,11 @@ cucumber-picocontainer
(james-project) 04/18: JAMES-3961 Upgrade mockito: 5.2.0 -> 5.10.0
This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git commit b56204abb60131aaa193b2ee30b9d152ab987238 Author: Benoit TELLIER AuthorDate: Fri Dec 1 20:56:21 2023 +0100 JAMES-3961 Upgrade mockito: 5.2.0 -> 5.10.0 This allows mockito to run with Java 21. mockito-inline was unused btw. --- pom.xml| 7 +-- server/protocols/webadmin/webadmin-http-client/pom.xml | 5 - 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/pom.xml b/pom.xml index c92e108a0c..54a911858b 100644 --- a/pom.xml +++ b/pom.xml @@ -658,7 +658,7 @@ ${scala.base}.11 5.0.0 none -5.2.0 +5.10.0 0.8.9 2.38.0 @@ -2826,11 +2826,6 @@ mockito-core ${mockito.version} - -org.mockito -mockito-inline -${mockito.version} - org.scala-lang scala-library diff --git a/server/protocols/webadmin/webadmin-http-client/pom.xml b/server/protocols/webadmin/webadmin-http-client/pom.xml index 36819869b8..77d7fb56f3 100644 --- a/server/protocols/webadmin/webadmin-http-client/pom.xml +++ b/server/protocols/webadmin/webadmin-http-client/pom.xml @@ -58,11 +58,6 @@ mockito-core test - -org.mockito -mockito-inline -test - - To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org
(james-project) 12/18: JAMES-3961 Java 21 error message change
This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git commit 021cc5df448ed84da7a2870eaaa7acb3c0866c44 Author: Benoit TELLIER AuthorDate: Mon Jan 15 10:35:25 2024 +0100 JAMES-3961 Java 21 error message change --- .../james/jmap/rfc8621/contract/PushSubscriptionSetMethodContract.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/protocols/jmap-rfc-8621-integration-tests/jmap-rfc-8621-integration-tests-common/src/main/scala/org/apache/james/jmap/rfc8621/contract/PushSubscriptionSetMethodContract.scala b/server/protocols/jmap-rfc-8621-integration-tests/jmap-rfc-8621-integration-tests-common/src/main/scala/org/apache/james/jmap/rfc8621/contract/PushSubscriptionSetMethodContract.scala index 6e3e4a883d..054f6bdf38 100644 --- a/server/protocols/jmap-rfc-8621-integration-tests/jmap-rfc-8621-integration-tests-common/src/main/scala/org/apache/james/jmap/rfc8621/contract/PushSubscriptionSetMethodContract.scala +++ b/server/protocols/jmap-rfc-8621-integration-tests/jmap-rfc-8621-integration-tests-common/src/main/scala/org/apache/james/jmap/rfc8621/contract/PushSubscriptionSetMethodContract.scala @@ -1577,7 +1577,7 @@ trait PushSubscriptionSetMethodContract { |"notCreated": { |"4f29": { |"type": "invalidArguments", - |"description": "java.security.spec.InvalidKeySpecException: java.security.InvalidKeyException: IOException: null" + |"description": "java.security.spec.InvalidKeySpecException: java.security.InvalidKeyException: IOException: Unable to decode key" |} |} |}, - To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org
(james-project) 16/18: JAMES-3961 Adopt eclipse-temurin:21-jre-jammy as a base docker image
This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git commit e63283960fc90b676a3f16a5e79818f9df79a046 Author: Benoit TELLIER AuthorDate: Mon Jan 22 11:53:20 2024 +0100 JAMES-3961 Adopt eclipse-temurin:21-jre-jammy as a base docker image --- server/apps/cassandra-app/pom.xml| 2 +- server/apps/distributed-app/pom.xml | 2 +- server/apps/distributed-pop3-app/pom.xml | 2 +- server/apps/jpa-app/pom.xml | 2 +- server/apps/jpa-smtp-app/pom.xml | 2 +- server/apps/memory-app/pom.xml | 2 +- server/apps/scaling-pulsar-smtp/pom.xml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/server/apps/cassandra-app/pom.xml b/server/apps/cassandra-app/pom.xml index 10e4349ce2..4db4acd599 100644 --- a/server/apps/cassandra-app/pom.xml +++ b/server/apps/cassandra-app/pom.xml @@ -340,7 +340,7 @@ jib-maven-plugin -eclipse-temurin:11-jre-jammy +eclipse-temurin:21-jre-jammy apache/james diff --git a/server/apps/distributed-app/pom.xml b/server/apps/distributed-app/pom.xml index de10240467..aedc125853 100644 --- a/server/apps/distributed-app/pom.xml +++ b/server/apps/distributed-app/pom.xml @@ -410,7 +410,7 @@ jib-maven-plugin -eclipse-temurin:11-jre-jammy +eclipse-temurin:21-jre-jammy apache/james diff --git a/server/apps/distributed-pop3-app/pom.xml b/server/apps/distributed-pop3-app/pom.xml index 4d4e1390f3..c5e4d9a949 100644 --- a/server/apps/distributed-pop3-app/pom.xml +++ b/server/apps/distributed-pop3-app/pom.xml @@ -392,7 +392,7 @@ jib-maven-plugin -eclipse-temurin:11-jre-jammy +eclipse-temurin:21-jre-jammy apache/james diff --git a/server/apps/jpa-app/pom.xml b/server/apps/jpa-app/pom.xml index 46dc45246b..6a74c36310 100644 --- a/server/apps/jpa-app/pom.xml +++ b/server/apps/jpa-app/pom.xml @@ -272,7 +272,7 @@ jib-maven-plugin -eclipse-temurin:11-jre-jammy +eclipse-temurin:21-jre-jammy apache/james diff --git a/server/apps/jpa-smtp-app/pom.xml b/server/apps/jpa-smtp-app/pom.xml index fdad84848d..aee8124781 100644 --- a/server/apps/jpa-smtp-app/pom.xml +++ b/server/apps/jpa-smtp-app/pom.xml @@ -255,7 +255,7 @@ jib-maven-plugin -eclipse-temurin:11-jre-jammy +eclipse-temurin:21-jre-jammy apache/james diff --git a/server/apps/memory-app/pom.xml b/server/apps/memory-app/pom.xml index 578902bf25..57574fb4f3 100644 --- a/server/apps/memory-app/pom.xml +++ b/server/apps/memory-app/pom.xml @@ -283,7 +283,7 @@ jib-maven-plugin -eclipse-temurin:11-jre-jammy +eclipse-temurin:21-jre-jammy apache/james diff --git a/server/apps/scaling-pulsar-smtp/pom.xml b/server/apps/scaling-pulsar-smtp/pom.xml index 22b43d0368..aa6890660d 100644 --- a/server/apps/scaling-pulsar-smtp/pom.xml +++ b/server/apps/scaling-pulsar-smtp/pom.xml @@ -283,7 +283,7 @@ jib-maven-plugin -eclipse-temurin:11-jre-focal +eclipse-temurin:21-jre-jammy apache/james - To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org
(james-project) 15/18: JAMES-3961 README: Java 11 -> 21
This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git commit f0a7aeaf886c4cd144ec2fa8b0878771ed25f666 Author: Benoit TELLIER AuthorDate: Mon Jan 22 11:49:33 2024 +0100 JAMES-3961 README: Java 11 -> 21 --- server/apps/cassandra-app/README.adoc| 2 +- server/apps/distributed-app/README.adoc | 2 +- server/apps/distributed-pop3-app/README.adoc | 2 +- server/apps/jpa-app/README.adoc | 2 +- server/apps/jpa-smtp-app/README.adoc | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/server/apps/cassandra-app/README.adoc b/server/apps/cassandra-app/README.adoc index ebfd24df93..8cf26021d0 100644 --- a/server/apps/cassandra-app/README.adoc +++ b/server/apps/cassandra-app/README.adoc @@ -13,7 +13,7 @@ alternatives (namely S3 compatible BlobStores backed by for instance S3, MinIO o == Requirements - * Java 11 SDK + * Java 21 SDK Firstly, create your own user network on Docker for the James environment: diff --git a/server/apps/distributed-app/README.adoc b/server/apps/distributed-app/README.adoc index 8906871e82..35318ea9fd 100644 --- a/server/apps/distributed-app/README.adoc +++ b/server/apps/distributed-app/README.adoc @@ -2,7 +2,7 @@ == Requirements - * Java 11 SDK + * Java 21 SDK Firstly, create your own user network on Docker for the James environment: diff --git a/server/apps/distributed-pop3-app/README.adoc b/server/apps/distributed-pop3-app/README.adoc index 40b034460b..89696773f5 100644 --- a/server/apps/distributed-pop3-app/README.adoc +++ b/server/apps/distributed-pop3-app/README.adoc @@ -5,7 +5,7 @@ thus is multi-datacenter friendly, however comes with a reduced feature set (onl == Requirements - * Java 11 SDK + * Java 21 SDK Firstly, create your own user network on Docker for the James environment: diff --git a/server/apps/jpa-app/README.adoc b/server/apps/jpa-app/README.adoc index ee4555c2a0..5fd2733ef5 100644 --- a/server/apps/jpa-app/README.adoc +++ b/server/apps/jpa-app/README.adoc @@ -4,7 +4,7 @@ This server target single node James deployments. By default, the derby database == Requirements - * Java 11 SDK + * Java 21 SDK == Running diff --git a/server/apps/jpa-smtp-app/README.adoc b/server/apps/jpa-smtp-app/README.adoc index bace0ae490..8f99c3f29f 100644 --- a/server/apps/jpa-smtp-app/README.adoc +++ b/server/apps/jpa-smtp-app/README.adoc @@ -6,7 +6,7 @@ This server acts as a Mail Transfer Agent and do not embed the mailbox component == Requirements -* Java 11 SDK +* Java 21 SDK == Running - To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org
(james-project) branch master updated (8c7fe1ef73 -> 1afab21248)
This is an automated email from the ASF dual-hosted git repository. btellier pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git from 8c7fe1ef73 [Fixup] Fix imap and smtp deployment test after mime4j upgrade to 0.8.11 new 14f28d2dc6 JAMES-3961 Switch to Java 21 new 454d82ea11 JAMES-3961 Upgrade maven-plugin-plugin in order to work with Java 21 new d496df7104 JAMES-3961 Enfoce Maven 3.8.1+ usage new b56204abb6 JAMES-3961 Upgrade mockito: 5.2.0 -> 5.10.0 new 7995f1dcaa JAMES-3961 Update xbean-asm9 to make JPA work with Java 21 new 99d1d0432d JAMES-3961 Fix LeakAware test suite new 7f2fca77ed JAMES-3961 Relax Java modules new 8dab7eb842 JAMES-3691 Exception message change with Java 21 new fdc9fbb9ec JAMES-3691 Update Cucumber to 7.15.0 new 7c471f0967 JAMES-3961 AssertJ bean introspection new 6ea766d82a JAMES-3961 Mockito can no longer Mock EnumSet new 021cc5df44 JAMES-3961 Java 21 error message change new 65acac3d2c JAMES-3961 Cucumber update for JMAP draft integration tests new f659e241ae JAMES-3961 Fix PushSubscriptionSetMethodContract for Java 21 new f0a7aeaf88 JAMES-3961 README: Java 11 -> 21 new e63283960f JAMES-3961 Adopt eclipse-temurin:21-jre-jammy as a base docker image new 0f5d30525d JAMES-3961 Target jdk 11 for JPA modules new 1afab21248 JAMES-3961 Cucumber tests should not fail the unstable test phase The 18 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: Jenkinsfile| 2 +- .../rabbitmq/RabbitMQConnectionFactoryTest.java| 4 +- .../apache/james/JsonSerializationVerifier.java| 22 +++- ...omputeMailboxCountersTaskSerializationTest.java | 4 +- .../SolveMailboxInconsistenciesServiceTest.java| 5 +- ...essageInconsistenciesTaskSerializationTest.java | 8 +- mailbox/jpa/pom.xml| 17 +++ mailbox/memory/pom.xml | 6 + ...rorRecoveryIndexationTaskSerializationTest.java | 7 +- .../FullReindexingTaskSerializationTest.java | 7 +- ...ngleMailboxReindexingTaskSerializationTest.java | 7 +- .../UserReindexingTaskSerializationTest.java | 8 +- .../RecomputeCurrentQuotasServiceContract.java | 5 +- ...ecomputeCurrentQuotasTaskSerializationTest.java | 7 +- pom.xml| 41 +-- server/apps/cassandra-app/README.adoc | 2 +- server/apps/cassandra-app/pom.xml | 2 +- server/apps/distributed-app/README.adoc| 2 +- server/apps/distributed-app/pom.xml| 2 +- server/apps/distributed-pop3-app/README.adoc | 2 +- server/apps/distributed-pop3-app/pom.xml | 2 +- server/apps/jpa-app/README.adoc| 2 +- server/apps/jpa-app/pom.xml| 2 +- server/apps/jpa-smtp-app/README.adoc | 2 +- server/apps/jpa-smtp-app/pom.xml | 2 +- server/apps/memory-app/pom.xml | 2 +- server/apps/scaling-pulsar-smtp/pom.xml| 2 +- .../BlobGCTaskAdditionalInformationDTOTest.java| 4 +- .../deduplication/BlobGCTaskSerializationTest.java | 5 +- .../apache/james/jmap/draft/JMAPModuleTest.java| 42 +++ .../org/apache/james/lifecycle/api/Disposable.java | 2 +- .../apache/james/lifecycle/api/LeakAwareTest.java | 33 ++ server/data/data-cassandra/pom.xml | 12 +- .../james/rrt/cassandra/CassandraStepdefs.java | 4 +- .../james/rrt/cassandra/RewriteTablesTest.java | 17 +-- server/data/data-file/pom.xml | 7 +- .../apache/james/rrt/file/RewriteTablesTest.java | 20 ++-- .../org/apache/james/rrt/file/XMLStepdefs.java | 2 +- .../james/jmap/cassandra/filtering/DTOTest.java| 28 +++-- server/data/data-jpa/pom.xml | 16 ++- .../java/org/apache/james/rrt/jpa/JPAStepdefs.java | 5 +- .../apache/james/rrt/jpa/RewriteTablesTest.java| 17 +-- server/data/data-library/pom.xml | 5 + .../james/rrt/lib/RewriteTablesStepdefs.java | 83 -- server/data/data-memory/pom.xml| 12 +- .../apache/james/rrt/memory/InMemoryStepdefs.java | 2 +- .../apache/james/rrt/memory/RewriteTablesTest.java | 17 +-- .../integration/cucumber/DownloadStepdefs.java | 8 +- .../cucumber/GetMailboxesMethodStepdefs.java | 8 +- .../cucumber/GetMessageListMethodStepdefs.java | 19 ++-- .../cucumber/GetMessagesMethodStepdefs.java| 82 +- .../methods/integration/cucumber/ImapStepdefs.java | 8 +-
(james-project) 06/18: JAMES-3961 Fix LeakAware test suite
This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git commit 99d1d0432d116a3cd5e88a54beb321d2ae9c7a2e Author: Benoit TELLIER AuthorDate: Sat Dec 2 19:31:00 2023 +0100 JAMES-3961 Fix LeakAware test suite --- .../org/apache/james/lifecycle/api/Disposable.java | 2 +- .../apache/james/lifecycle/api/LeakAwareTest.java | 33 -- 2 files changed, 13 insertions(+), 22 deletions(-) diff --git a/server/container/lifecycle-api/src/main/java/org/apache/james/lifecycle/api/Disposable.java b/server/container/lifecycle-api/src/main/java/org/apache/james/lifecycle/api/Disposable.java index aa9d97194b..68da201d4b 100644 --- a/server/container/lifecycle-api/src/main/java/org/apache/james/lifecycle/api/Disposable.java +++ b/server/container/lifecycle-api/src/main/java/org/apache/james/lifecycle/api/Disposable.java @@ -86,7 +86,7 @@ public interface Disposable { public static final ReferenceQueue> REFERENCE_QUEUE = new ReferenceQueue<>(); public static final ConcurrentHashMap REFERENCES_IN_USE = new ConcurrentHashMap<>(); -public static final Level LEVEL = Optional.ofNullable(System.getProperty("james.lifecycle.leak.detection.mode")) +static Level LEVEL = Optional.ofNullable(System.getProperty("james.lifecycle.leak.detection.mode")) .map(Level::parse).orElse(Level.SIMPLE); public static void track() { diff --git a/server/container/lifecycle-api/src/test/java/org/apache/james/lifecycle/api/LeakAwareTest.java b/server/container/lifecycle-api/src/test/java/org/apache/james/lifecycle/api/LeakAwareTest.java index f235c3caf2..bc5ddb0a1d 100644 --- a/server/container/lifecycle-api/src/test/java/org/apache/james/lifecycle/api/LeakAwareTest.java +++ b/server/container/lifecycle-api/src/test/java/org/apache/james/lifecycle/api/LeakAwareTest.java @@ -19,19 +19,16 @@ package org.apache.james.lifecycle.api; +import static org.apache.james.lifecycle.api.Disposable.LeakAware; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.awaitility.Durations.ONE_HUNDRED_MILLISECONDS; import static org.awaitility.Durations.TEN_SECONDS; -import static org.apache.james.lifecycle.api.Disposable.LeakAware; -import java.lang.reflect.Field; -import java.lang.reflect.Modifier; import java.util.concurrent.atomic.AtomicBoolean; import org.awaitility.Awaitility; import org.awaitility.core.ConditionFactory; - import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; @@ -76,22 +73,16 @@ class LeakAwareTest { return loggingEventListAppender; } -private void forceChangeLevel(String level) throws NoSuchFieldException, IllegalAccessException { -forceChangeLevel(LeakAware.Level.parse(level)); +private void forceChangeLevel(String level) { +LeakAware.LEVEL = LeakAware.Level.parse(level); } -// using reflect to change LeakAware.LEVEL value -private static void forceChangeLevel(LeakAware.Level level) throws NoSuchFieldException, IllegalAccessException { -final Field field = LeakAware.class.getDeclaredField("LEVEL"); -field.setAccessible(true); -final Field modifiersField = Field.class.getDeclaredField("modifiers"); -modifiersField.setAccessible(true); -modifiersField.setInt(field, field.getModifiers() & ~Modifier.FINAL); -field.set(null, level); +private static void forceChangeLevel(LeakAware.Level level) { +LeakAware.LEVEL = level; } @Test -void leakDetectionShouldCloseUnclosedResources() throws NoSuchFieldException, IllegalAccessException { +void leakDetectionShouldCloseUnclosedResources() { forceChangeLevel(LeakAware.Level.SIMPLE); AtomicBoolean atomicBoolean = new AtomicBoolean(false); LeakResourceSample resourceSample = LeakResourceSample.create(atomicBoolean); @@ -105,7 +96,7 @@ class LeakAwareTest { } @Test -void leakDetectionShouldNotReportClosedObjects() throws NoSuchFieldException, IllegalAccessException { +void leakDetectionShouldNotReportClosedObjects() { forceChangeLevel(LeakAware.Level.SIMPLE); AtomicBoolean atomicBoolean = new AtomicBoolean(false); LeakResourceSample resourceSample = LeakResourceSample.create(atomicBoolean); @@ -121,7 +112,7 @@ class LeakAwareTest { } @Test -void resourceShouldNotBeDetectedLeakWhenLevelIsNone() throws InterruptedException, NoSuchFieldException, IllegalAccessException { +void resourceShouldNotBeDetectedLeakWhenLevelIsNone() throws InterruptedException { forceChangeLevel(LeakAware.Level.NONE); AtomicBoolean atomicBoolean = new AtomicBoolean(false);
(james-project) 09/18: JAMES-3691 Update Cucumber to 7.15.0
This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git commit fdc9fbb9ec05874b85860ee0a2ca5dc2150f09b6 Author: Benoit TELLIER AuthorDate: Mon Dec 4 14:51:42 2023 +0100 JAMES-3691 Update Cucumber to 7.15.0 Version 2.4.0 does not support Java 21. The updates do the trick. --- pom.xml| 13 +++- server/data/data-cassandra/pom.xml | 7 +- .../james/rrt/cassandra/CassandraStepdefs.java | 4 +- .../james/rrt/cassandra/RewriteTablesTest.java | 17 ++--- server/data/data-file/pom.xml | 7 +- .../apache/james/rrt/file/RewriteTablesTest.java | 20 +++--- .../org/apache/james/rrt/file/XMLStepdefs.java | 2 +- server/data/data-jpa/pom.xml | 7 +- .../java/org/apache/james/rrt/jpa/JPAStepdefs.java | 5 +- .../apache/james/rrt/jpa/RewriteTablesTest.java| 17 ++--- .../james/rrt/lib/RewriteTablesStepdefs.java | 83 ++ server/data/data-memory/pom.xml| 7 +- .../apache/james/rrt/memory/InMemoryStepdefs.java | 2 +- .../apache/james/rrt/memory/RewriteTablesTest.java | 17 ++--- .../integration/cucumber/DownloadStepdefs.java | 8 +-- .../cucumber/GetMailboxesMethodStepdefs.java | 8 +-- .../cucumber/GetMessageListMethodStepdefs.java | 6 +- .../cucumber/GetMessagesMethodStepdefs.java| 10 +-- .../methods/integration/cucumber/ImapStepdefs.java | 8 +-- .../methods/integration/cucumber/MainStepdefs.java | 2 +- .../integration/cucumber/MessageIdStepdefs.java| 2 +- .../cucumber/SetMailboxesMethodStepdefs.java | 8 +-- .../cucumber/SetMessagesMethodStepdefs.java| 8 +-- .../integration/cucumber/UploadStepdefs.java | 9 ++- .../methods/integration/cucumber/UserStepdefs.java | 4 +- .../memory-jmap-draft-integration-testing/pom.xml | 7 +- .../cucumber/MemoryDownloadCucumberTest.java | 19 ++--- .../cucumber/MemoryGetMessagesMethodTest.java | 18 +++-- .../MemoryIMAPKeywordsInconsistenciesTest.java | 18 +++-- .../MemoryIMAPSetMessagesCompatibilityTest.java| 18 +++-- .../MemorySetMailboxesMethodCucumberTest.java | 18 +++-- .../MemorySetMessagesMethodCucumberTest.java | 18 +++-- .../jmap/memory/cucumber/MemorySharingTest.java| 34 +++-- .../james/jmap/memory/cucumber/MemoryStepdefs.java | 8 +-- .../memory/cucumber/MemoryUploadCucumberTest.java | 19 ++--- .../pom.xml| 7 +- .../cucumber/awss3/RabbitMQAwsS3Stepdefs.java | 6 +- .../awss3/RabbitMQDownloadCucumberTest.java| 21 +++--- .../awss3/RabbitMQGetMessagesMethodTest.java | 21 +++--- .../RabbitMQIMAPKeywordsInconsistenciesTest.java | 21 +++--- .../RabbitMQIMAPSetMessagesCompatibilityTest.java | 21 +++--- .../cucumber/awss3/RabbitMQMailboxSharingTest.java | 44 .../cucumber/awss3/RabbitMQMessageSharingTest.java | 45 .../RabbitMQSetMailboxesMethodCucumberTest.java| 21 +++--- .../RabbitMQSetMessagesMethodCucumberTest.java | 21 +++--- ...dCucumberTest.java => RabbitMQSharingTest.java} | 25 --- .../cucumber/awss3/RabbitMQUploadCucumberTest.java | 21 +++--- 47 files changed, 372 insertions(+), 360 deletions(-) diff --git a/pom.xml b/pom.xml index 534f8b1c4d..2000ff18f8 100644 --- a/pom.xml +++ b/pom.xml @@ -620,7 +620,7 @@ 1.3.4 4.21 4.1.101.Final -2.4.0 +7.15.0 1.6.4 2.15.2 @@ -2345,6 +2345,12 @@ cucumber-junit ${cucumber.version} + +io.cucumber +cucumber-junit-platform-engine +${cucumber.version} + + io.cucumber cucumber-picocontainer @@ -2801,6 +2807,11 @@ junit-platform-launcher ${junit.platform.version} + +org.junit.platform +junit-platform-suite +1.9.3 + org.junit.vintage junit-vintage-engine diff --git a/server/data/data-cassandra/pom.xml b/server/data/data-cassandra/pom.xml index fea44f95b0..c5199c86dd 100644 --- a/server/data/data-cassandra/pom.xml +++ b/server/data/data-cassandra/pom.xml @@ -107,7 +107,7 @@ io.cucumber -cucumber-junit +cucumber-junit-platform-engine test @@ -129,6 +129,11 @@ awaitility test + +org.junit.platform +junit-platform-suite +test + org.mockito mockito-core diff --git
(james-project) 14/18: JAMES-3961 Fix PushSubscriptionSetMethodContract for Java 21
This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git commit f659e241aef7afe51bac88a2f2422c8cdafe7a99 Author: Benoit TELLIER AuthorDate: Tue Jan 16 15:32:38 2024 +0100 JAMES-3961 Fix PushSubscriptionSetMethodContract for Java 21 --- .../james/jmap/rfc8621/contract/PushSubscriptionSetMethodContract.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/protocols/jmap-rfc-8621-integration-tests/jmap-rfc-8621-integration-tests-common/src/main/scala/org/apache/james/jmap/rfc8621/contract/PushSubscriptionSetMethodContract.scala b/server/protocols/jmap-rfc-8621-integration-tests/jmap-rfc-8621-integration-tests-common/src/main/scala/org/apache/james/jmap/rfc8621/contract/PushSubscriptionSetMethodContract.scala index 054f6bdf38..fcf062a210 100644 --- a/server/protocols/jmap-rfc-8621-integration-tests/jmap-rfc-8621-integration-tests-common/src/main/scala/org/apache/james/jmap/rfc8621/contract/PushSubscriptionSetMethodContract.scala +++ b/server/protocols/jmap-rfc-8621-integration-tests/jmap-rfc-8621-integration-tests-common/src/main/scala/org/apache/james/jmap/rfc8621/contract/PushSubscriptionSetMethodContract.scala @@ -1577,7 +1577,7 @@ trait PushSubscriptionSetMethodContract { |"notCreated": { |"4f29": { |"type": "invalidArguments", - |"description": "java.security.spec.InvalidKeySpecException: java.security.InvalidKeyException: IOException: Unable to decode key" + |"description": "java.security.spec.InvalidKeySpecException: java.security.InvalidKeyException: Unable to decode key" |} |} |}, - To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org
(james-project) 17/18: JAMES-3961 Target jdk 11 for JPA modules
This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git commit 0f5d30525dbfa33f32ef79a66a7a78ced363d256 Author: Quan Tran AuthorDate: Tue Jan 30 11:14:08 2024 +0700 JAMES-3961 Target jdk 11 for JPA modules As `openjpa-maven-plugin` has been outdated for a while and does not support Java 21 yet... --- mailbox/jpa/pom.xml | 4 server/data/data-jpa/pom.xml | 4 2 files changed, 8 insertions(+) diff --git a/mailbox/jpa/pom.xml b/mailbox/jpa/pom.xml index 9125639b59..a09fc35263 100644 --- a/mailbox/jpa/pom.xml +++ b/mailbox/jpa/pom.xml @@ -31,6 +31,10 @@ jar Apache James :: Mailbox :: JPA + +11 + + ${james.groupId} diff --git a/server/data/data-jpa/pom.xml b/server/data/data-jpa/pom.xml index dbd51824d8..bef4926339 100644 --- a/server/data/data-jpa/pom.xml +++ b/server/data/data-jpa/pom.xml @@ -32,6 +32,10 @@ Apache James :: Server :: Data :: JPA Persistence + +11 + + ${james.groupId} - To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org
(james-project) 08/18: JAMES-3691 Exception message change with Java 21
This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git commit 8dab7eb842b3cda1f47f7f7e2564d809dbf221c9 Author: Benoit TELLIER AuthorDate: Mon Dec 4 08:55:47 2023 +0100 JAMES-3691 Exception message change with Java 21 --- .../apache/james/backends/rabbitmq/RabbitMQConnectionFactoryTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backends-common/rabbitmq/src/test/java/org/apache/james/backends/rabbitmq/RabbitMQConnectionFactoryTest.java b/backends-common/rabbitmq/src/test/java/org/apache/james/backends/rabbitmq/RabbitMQConnectionFactoryTest.java index 208f181ce9..7e1210ad2c 100644 --- a/backends-common/rabbitmq/src/test/java/org/apache/james/backends/rabbitmq/RabbitMQConnectionFactoryTest.java +++ b/backends-common/rabbitmq/src/test/java/org/apache/james/backends/rabbitmq/RabbitMQConnectionFactoryTest.java @@ -106,7 +106,7 @@ class RabbitMQConnectionFactoryTest { assertThatThrownBy(() -> new RabbitMQConnectionFactory(rabbitMQConfiguration)) .isInstanceOf(RuntimeException.class) -.hasCause(new IOException("Short read of DER length")); +.hasCause(new IOException("Tag number over 30 is not supported")); } @Test @@ -151,7 +151,7 @@ class RabbitMQConnectionFactoryTest { assertThatThrownBy(() -> new RabbitMQConnectionFactory(rabbitMQConfiguration)) .isInstanceOf(RuntimeException.class) -.hasCause(new IOException("Short read of DER length")); +.hasCause(new IOException("Tag number over 30 is not supported")); } @Test - To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org
(james-project) 11/18: JAMES-3961 Mockito can no longer Mock EnumSet
This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git commit 6ea766d82aa5342f6a5aba903bce09876da43064 Author: Benoit TELLIER AuthorDate: Thu Jan 11 18:07:39 2024 +0100 JAMES-3961 Mockito can no longer Mock EnumSet --- .../apache/james/jmap/draft/JMAPModuleTest.java| 42 ++ 1 file changed, 18 insertions(+), 24 deletions(-) diff --git a/server/container/guice/protocols/jmap/src/test/java/org/apache/james/jmap/draft/JMAPModuleTest.java b/server/container/guice/protocols/jmap/src/test/java/org/apache/james/jmap/draft/JMAPModuleTest.java index 0375d6ed6a..970da77e7a 100644 --- a/server/container/guice/protocols/jmap/src/test/java/org/apache/james/jmap/draft/JMAPModuleTest.java +++ b/server/container/guice/protocols/jmap/src/test/java/org/apache/james/jmap/draft/JMAPModuleTest.java @@ -39,19 +39,11 @@ class JMAPModuleTest { private RequiredCapabilitiesStartUpCheck testee; private MailboxManager mockMailboxManager; -private EnumSet mockMessageCapabilities; -private EnumSet mockSearchCapabilities; @SuppressWarnings("unchecked") @BeforeEach void beforeEach() { mockMailboxManager = mock(MailboxManager.class); -mockMessageCapabilities = (EnumSet) mock(EnumSet.class); -mockSearchCapabilities = (EnumSet) mock(EnumSet.class); -when(mockMailboxManager.getSupportedMessageCapabilities()) -.thenReturn(mockMessageCapabilities); -when(mockMailboxManager.getSupportedSearchCapabilities()) -.thenReturn(mockSearchCapabilities); testee = new RequiredCapabilitiesStartUpCheck(mockMailboxManager); } @@ -60,10 +52,12 @@ class JMAPModuleTest { void checkShouldReturnGoodWhenAllChecksSatisfy() { when(mockMailboxManager.hasCapability(any())) .thenReturn(true); - when(mockMessageCapabilities.contains(any(MailboxManager.MessageCapabilities.class))) -.thenReturn(true); - when(mockSearchCapabilities.contains(any(MailboxManager.SearchCapabilities.class))) -.thenReturn(true); + + +when(mockMailboxManager.getSupportedMessageCapabilities()) + .thenReturn(EnumSet.allOf(MailboxManager.MessageCapabilities.class)); +when(mockMailboxManager.getSupportedSearchCapabilities()) + .thenReturn(EnumSet.allOf(MailboxManager.SearchCapabilities.class)); assertThat(testee.check().isGood()) .isTrue(); @@ -73,10 +67,10 @@ class JMAPModuleTest { void checkShouldReturnBadWhenMailboxManagerDoesntHaveCapabilities() { when(mockMailboxManager.hasCapability(any())) .thenReturn(false); - when(mockMessageCapabilities.contains(any(MailboxManager.MessageCapabilities.class))) -.thenReturn(true); - when(mockSearchCapabilities.contains(any(MailboxManager.SearchCapabilities.class))) -.thenReturn(true); +when(mockMailboxManager.getSupportedMessageCapabilities()) + .thenReturn(EnumSet.allOf(MailboxManager.MessageCapabilities.class)); +when(mockMailboxManager.getSupportedSearchCapabilities()) + .thenReturn(EnumSet.allOf(MailboxManager.SearchCapabilities.class)); assertThat(testee.check().isBad()) .isTrue(); @@ -86,10 +80,10 @@ class JMAPModuleTest { void checkShouldReturnBadWhenMailboxManagerDoesntHaveMessagesCapabilities() { when(mockMailboxManager.hasCapability(any())) .thenReturn(true); - when(mockMessageCapabilities.contains(any(MailboxManager.MessageCapabilities.class))) -.thenReturn(false); - when(mockSearchCapabilities.contains(any(MailboxManager.SearchCapabilities.class))) -.thenReturn(true); +when(mockMailboxManager.getSupportedMessageCapabilities()) + .thenReturn(EnumSet.noneOf(MailboxManager.MessageCapabilities.class)); +when(mockMailboxManager.getSupportedSearchCapabilities()) + .thenReturn(EnumSet.allOf(MailboxManager.SearchCapabilities.class)); assertThat(testee.check().isBad()) .isTrue(); @@ -99,10 +93,10 @@ class JMAPModuleTest { void checkShouldReturnBadWhenMailboxManagerDoesntHaveSearchCapabilities() { when(mockMailboxManager.hasCapability(any())) .thenReturn(true); - when(mockMessageCapabilities.contains(any(MailboxManager.MessageCapabilities.class))) -.thenReturn(true); - when(mockSearchCapabilities.contains(any(MailboxManager.SearchCapabilities.class))) -.thenReturn(false); +
(james-project) 03/18: JAMES-3961 Enfoce Maven 3.8.1+ usage
This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git commit d496df710450f4c86d0d41d8b6f5be518425d245 Author: Benoit TELLIER AuthorDate: Fri Dec 1 20:44:07 2023 +0100 JAMES-3961 Enfoce Maven 3.8.1+ usage Required by OpenJPA 34.0-SNAPSHOT --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 27ef5a02fa..c92e108a0c 100644 --- a/pom.xml +++ b/pom.xml @@ -3542,7 +3542,7 @@ -3.6.0 +3.8.1 - To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org
(james-project) 05/18: JAMES-3961 Update xbean-asm9 to make JPA work with Java 21
This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git commit 7995f1dcaacc86ca532033bca7c9647e05d42b16 Author: Benoit TELLIER AuthorDate: Sat Dec 2 08:24:22 2023 +0100 JAMES-3961 Update xbean-asm9 to make JPA work with Java 21 --- mailbox/jpa/pom.xml | 7 +++ pom.xml | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/mailbox/jpa/pom.xml b/mailbox/jpa/pom.xml index 018b4741ac..3ed2a82e83 100644 --- a/mailbox/jpa/pom.xml +++ b/mailbox/jpa/pom.xml @@ -155,6 +155,13 @@ true ${basedir}/src/test/resources/persistence.xml + + +org.apache.xbean +xbean-asm9-shaded +4.23 + + enhancer diff --git a/pom.xml b/pom.xml index 54a911858b..7c3e3e2b52 100644 --- a/pom.xml +++ b/pom.xml @@ -600,7 +600,7 @@ ${james.groupId}.protocols 5.18.3 0.8.11 -3.2.0 +3.2.2 10.14.2.0 2.20.0 1 - To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org
(james-project) 07/18: JAMES-3961 Relax Java modules
This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git commit 7f2fca77eda7eb65a059b0eceaa7c226288fffe6 Author: Benoit TELLIER AuthorDate: Sat Dec 2 20:41:40 2023 +0100 JAMES-3961 Relax Java modules --- pom.xml | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 7c3e3e2b52..534f8b1c4d 100644 --- a/pom.xml +++ b/pom.xml @@ -3341,7 +3341,14 @@ -Djava.library.path= -javaagent:"${settings.localRepository}"/org/jacoco/org.jacoco.agent/${jacoco-maven-plugin.version}/org.jacoco.agent-${jacoco-maven-plugin.version}-runtime.jar=destfile=${basedir}/target/jacoco.exec --Xms512m -Xmx1024m +-Xms512m -Xmx1024m --illegal-access=permit +--add-opens java.base/java.lang=ALL-UNNAMED +--add-opens java.base/java.math=ALL-UNNAMED +--add-opens java.base/java.net=ALL-UNNAMED +--add-opens java.base/java.text=ALL-UNNAMED +--add-opens java.base/java.util.concurrent.atomic=ALL-UNNAMED +--add-opens java.base/java.util.concurrent=ALL-UNNAMED +--add-opens java.base/java.util=ALL-UNNAMED true 1800 - To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org
(james-project) 02/18: JAMES-3961 Upgrade maven-plugin-plugin in order to work with Java 21
This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git commit 454d82ea1130334626783bc28529da8159efe70c Author: Benoit TELLIER AuthorDate: Fri Dec 1 15:23:32 2023 +0100 JAMES-3961 Upgrade maven-plugin-plugin in order to work with Java 21 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index eee23a76b3..27ef5a02fa 100644 --- a/pom.xml +++ b/pom.xml @@ -3263,7 +3263,7 @@ org.apache.maven.plugins maven-plugin-plugin -3.6.4 +3.11.0 org.apache.maven.plugins - To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org
(james-project) 01/18: JAMES-3961 Switch to Java 21
This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git commit 14f28d2dc6e278bb5813d1cf53a98e97ea960469 Author: Benoit TELLIER AuthorDate: Fri Dec 1 15:07:10 2023 +0100 JAMES-3961 Switch to Java 21 --- Jenkinsfile | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index c133a478f8..74eee5cbff 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -20,7 +20,7 @@ */ def AGENT_LABEL = env.AGENT_LABEL ?: 'ubuntu && !ephemeral' -def JDK_NAME = env.JDK_NAME ?: 'jdk_11_latest' +def JDK_NAME = env.JDK_NAME ?: 'jdk_21_latest' pipeline { diff --git a/pom.xml b/pom.xml index bc00166f59..eee23a76b3 100644 --- a/pom.xml +++ b/pom.xml @@ -588,7 +588,7 @@ otherwise the set values are used by default. --> UTF-8 -11 +21 1.9-SNAPSHOT
Re: [PR] Upgrade JDK to 21 [james-project]
chibenwa merged PR #1963: URL: https://github.com/apache/james-project/pull/1963 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org
Re: [PR] Upgrade JDK to 21 [james-project]
quantranhong1999 commented on PR #1963: URL: https://github.com/apache/james-project/pull/1963#issuecomment-2006058834 > Let's merge? We could I guess. Don't forget to conclude the decision on the mailing list ^^. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org
(james-site) branch asf-staging updated: Site checkin for project Apache James: Jenkins Tools
This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a commit to branch asf-staging in repository https://gitbox.apache.org/repos/asf/james-site.git The following commit(s) were added to refs/heads/asf-staging by this push: new 4d0297d55 Site checkin for project Apache James: Jenkins Tools 4d0297d55 is described below commit 4d0297d5518602035188219cfdc2a6bc65a3f7ca Author: jenkins AuthorDate: Tue Mar 19 07:10:28 2024 + Site checkin for project Apache James: Jenkins Tools --- sitemap-james-project.xml | 92 +++ sitemap-james-site.xml| 4 +-- 2 files changed, 48 insertions(+), 48 deletions(-) diff --git a/sitemap-james-project.xml b/sitemap-james-project.xml index 2cd36904b..b03e455dd 100644 --- a/sitemap-james-project.xml +++ b/sitemap-james-project.xml @@ -2,186 +2,186 @@ http://www.sitemaps.org/schemas/sitemap/0.9;> https://james.apache.org/james-project/3.8.1/community/contributing.html -2024-03-18T19:57:32.957Z +2024-03-19T07:08:46.570Z https://james.apache.org/james-project/3.8.1/community/download.html -2024-03-18T19:57:32.957Z +2024-03-19T07:08:46.570Z https://james.apache.org/james-project/3.8.1/community/guidelines.html -2024-03-18T19:57:32.957Z +2024-03-19T07:08:46.570Z https://james.apache.org/james-project/3.8.1/community/index.html -2024-03-18T19:57:32.957Z +2024-03-19T07:08:46.570Z https://james.apache.org/james-project/3.8.1/community/mailing-lists.html -2024-03-18T19:57:32.957Z +2024-03-19T07:08:46.570Z https://james.apache.org/james-project/3.8.1/community/release.html -2024-03-18T19:57:32.957Z +2024-03-19T07:08:46.570Z https://james.apache.org/james-project/3.8.1/community/support.html -2024-03-18T19:57:32.957Z +2024-03-19T07:08:46.570Z https://james.apache.org/james-project/3.8.1/community/website.html -2024-03-18T19:57:32.957Z +2024-03-19T07:08:46.570Z https://james.apache.org/james-project/3.8.1/concepts/configuration.html -2024-03-18T19:57:32.957Z +2024-03-19T07:08:46.570Z https://james.apache.org/james-project/3.8.1/concepts/glossary.html -2024-03-18T19:57:32.957Z +2024-03-19T07:08:46.570Z https://james.apache.org/james-project/3.8.1/concepts/index.html -2024-03-18T19:57:32.957Z +2024-03-19T07:08:46.570Z https://james.apache.org/james-project/3.8.1/concepts/mail/index.html -2024-03-18T19:57:32.957Z +2024-03-19T07:08:46.570Z https://james.apache.org/james-project/3.8.1/concepts/messages/imf.html -2024-03-18T19:57:32.957Z +2024-03-19T07:08:46.570Z https://james.apache.org/james-project/3.8.1/concepts/messages/index.html -2024-03-18T19:57:32.957Z +2024-03-19T07:08:46.570Z https://james.apache.org/james-project/3.8.1/concepts/messages/mime.html -2024-03-18T19:57:32.957Z +2024-03-19T07:08:46.570Z https://james.apache.org/james-project/3.8.1/concepts/processing/index.html -2024-03-18T19:57:32.957Z +2024-03-19T07:08:46.570Z https://james.apache.org/james-project/3.8.1/concepts/protocols/esmtp.html -2024-03-18T19:57:32.957Z +2024-03-19T07:08:46.570Z https://james.apache.org/james-project/3.8.1/concepts/protocols/imap.html -2024-03-18T19:57:32.957Z +2024-03-19T07:08:46.570Z https://james.apache.org/james-project/3.8.1/concepts/protocols/index.html -2024-03-18T19:57:32.957Z +2024-03-19T07:08:46.570Z https://james.apache.org/james-project/3.8.1/concepts/protocols/jmap.html -2024-03-18T19:57:32.957Z +2024-03-19T07:08:46.570Z https://james.apache.org/james-project/3.8.1/concepts/protocols/lmtp.html -2024-03-18T19:57:32.957Z +2024-03-19T07:08:46.570Z https://james.apache.org/james-project/3.8.1/concepts/protocols/pop.html -2024-03-18T19:57:32.957Z +2024-03-19T07:08:46.570Z https://james.apache.org/james-project/3.8.1/concepts/protocols/smtp.html -2024-03-18T19:57:32.957Z +2024-03-19T07:08:46.570Z https://james.apache.org/james-project/3.8.1/concepts/storage/index.html -2024-03-18T19:57:32.957Z +2024-03-19T07:08:46.570Z https://james.apache.org/james-project/3.8.1/concepts/storage/mailbox.html -2024-03-18T19:57:32.957Z +2024-03-19T07:08:46.570Z https://james.apache.org/james-project/3.8.1/concepts/storage/users.html -2024-03-18T19:57:32.957Z +2024-03-19T07:08:46.570Z https://james.apache.org/james-project/3.8.1/concepts/user/index.html -2024-03-18T19:57:32.957Z +2024-03-19T07:08:46.570Z https://james.apache.org/james-project/3.8.1/customization/index.html -2024-03-18T19:57:32.957Z +2024-03-19T07:08:46.570Z https://james.apache.org/james-project/3.8.1/development/deployment-tests.html -2024-03-18T19:57:32.957Z +2024-03-19T07:08:46.570Z https://james.apache.org/james-project/3.8.1/development/index.html -2024-03-18T19:57:32.957Z +2024-03-19T07:08:46.570Z https://james.apache.org/james-project/3.8.1/development/logging.html -2024-03-18T19:57:32.957Z +2024-03-19T07:08:46.570Z
Re: [PR] Upgrade JDK to 21 [james-project]
chibenwa commented on PR #1963: URL: https://github.com/apache/james-project/pull/1963#issuecomment-2005958146 Let's merge? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org