This is an automated email from the ASF dual-hosted git repository.

hqtran pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit 268cdbb5cbe5aa17cbbfc2b01dc6c223cb24ca79
Author: vttran <[email protected]>
AuthorDate: Mon Dec 8 15:37:33 2025 +0700

    TEST: Module apache-james-mpt-smtp-core : fix TestRule not found errors 
after upgrading Testcontainers to 2.0.2
    
    Error
    ForwardSmtpTest.java:[49,33] cannot access org.junit.rules.TestRule
    [ERROR]   class file for org.junit.rules.TestRule not found
---
 mpt/impl/smtp/core/pom.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/mpt/impl/smtp/core/pom.xml b/mpt/impl/smtp/core/pom.xml
index 096c751d96..7846b7cbaa 100644
--- a/mpt/impl/smtp/core/pom.xml
+++ b/mpt/impl/smtp/core/pom.xml
@@ -69,6 +69,11 @@
             <groupId>io.rest-assured</groupId>
             <artifactId>rest-assured</artifactId>
         </dependency>
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>4.13.2</version>
+        </dependency>
         <dependency>
             <groupId>org.testcontainers</groupId>
             <artifactId>testcontainers</artifactId>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to