Fix email sending using smtp (FINERACT-1070)

This commit is contained in:
BLasan
2021-04-29 19:33:48 +01:00
committed by Yemdjih Kaze Nasser
parent 2725d239dc
commit 153204bad7
5 changed files with 42 additions and 27 deletions
+9 -5
View File
@@ -68,9 +68,6 @@ dependencies {
'com.github.spullara.mustache.java:compiler',
'com.jayway.jsonpath:json-path',
// JAX-B dependencies for JDK 9+
'jakarta.xml.bind:jakarta.xml.bind-api',
'org.dom4j:dom4j',
'javax.cache:cache-api',
@@ -80,8 +77,12 @@ dependencies {
'org.webjars:webjars-locator-core',
'com.google.cloud.sql:mysql-socket-factory-connector-j-8:1.2.2',
'com.squareup.retrofit2:converter-gson'
'com.squareup.retrofit2:converter-gson',
'com.sun.activation:jakarta.activation:1.2.2'
)
implementation ('jakarta.xml.bind:jakarta.xml.bind-api') {
exclude group: 'jakarta.activation'
}
implementation ('org.apache.activemq:activemq-broker') {
exclude group: 'org.apache.geronimo.specs'
}
@@ -114,7 +115,7 @@ dependencies {
// Although fineract (at the time of writing) doesn't have any compile time dep. on httpclient,
// it's useful to have this for the Spring Boot TestRestTemplate http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#boot-features-rest-templates-test-utility
'org.apache.httpcomponents:httpclient',
'org.apache.httpcomponents:httpclient'
)
// testCompile dependencies are ONLY used in src/test, not src/main.
@@ -128,5 +129,8 @@ dependencies {
testImplementation ('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'com.jayway.jsonpath', module: 'json-path'
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
exclude group: 'jakarta.activation'
exclude group: 'javax.activation'
}
}