[CAMEL-13593]ensure javax.mail dependency still in camel-mail.pom
(cherry picked from commit f581b977a48f3d0f1f820276e3938563450fa273)
(cherry picked from commit 26464c1ec03d7796e9ed4db5901f240bdea3c702)
(cherry picked from commit dc402cabbdbd40132222e36b425a5f78f9acde2d)
diff --git a/components/camel-mail/pom.xml b/components/camel-mail/pom.xml
index b37e1de..8aae6ad 100644
--- a/components/camel-mail/pom.xml
+++ b/components/camel-mail/pom.xml
@@ -162,6 +162,7 @@
</filter>
</filters>
<minimizeJar>true</minimizeJar>
+ <createDependencyReducedPom>false</createDependencyReducedPom>
</configuration>
</execution>
</executions>
diff --git a/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelMailTest.java b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelMailTest.java
index cef6422..a6f857c 100644
--- a/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelMailTest.java
+++ b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelMailTest.java
@@ -35,7 +35,6 @@
public static ITestConfig createTestConfig() {
return new ITestConfigBuilder()
.module(inferModuleName(CamelMailTest.class))
- .dependency("javax.mail:javax.mail-api")
.build();
// sometimes the arquillian test fails, but the unit tests don't.
}