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

dimuthuupe pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata.git


The following commit(s) were added to refs/heads/develop by this push:
     new b4daebd25a Adding missing jar for email monitor
b4daebd25a is described below

commit b4daebd25aa281ef973f1a12cadb87120d32f92b
Author: Dimuthu Wannipurage <[email protected]>
AuthorDate: Thu Jul 28 13:34:34 2022 -0400

    Adding missing jar for email monitor
---
 .../distribution/src/main/assembly/email-monitor-bin-assembly.xml    | 1 +
 modules/job-monitor/email-monitor/pom.xml                            | 4 ++++
 modules/job-monitor/pom.xml                                          | 5 +++++
 3 files changed, 10 insertions(+)

diff --git 
a/modules/distribution/src/main/assembly/email-monitor-bin-assembly.xml 
b/modules/distribution/src/main/assembly/email-monitor-bin-assembly.xml
index b412dbec68..e79aa9bbbd 100644
--- a/modules/distribution/src/main/assembly/email-monitor-bin-assembly.xml
+++ b/modules/distribution/src/main/assembly/email-monitor-bin-assembly.xml
@@ -93,6 +93,7 @@
                 <include>org.apache.thrift:libthrift:jar</include>
 
                 <include>javax.mail:javax.mail-api:jar</include>
+                <include>com.sun.mail:javax.mail:jar</include>
                 <include>javax.activation:activation:jar</include>
                 <include>org.yaml:snakeyaml:jar</include>
 
diff --git a/modules/job-monitor/email-monitor/pom.xml 
b/modules/job-monitor/email-monitor/pom.xml
index 9ae328651c..3a062933e8 100644
--- a/modules/job-monitor/email-monitor/pom.xml
+++ b/modules/job-monitor/email-monitor/pom.xml
@@ -44,5 +44,9 @@
             <groupId>javax.mail</groupId>
             <artifactId>javax.mail-api</artifactId>
         </dependency>
+        <dependency>
+            <groupId>com.sun.mail</groupId>
+            <artifactId>javax.mail</artifactId>
+        </dependency>
     </dependencies>
 </project>
diff --git a/modules/job-monitor/pom.xml b/modules/job-monitor/pom.xml
index 84cdf4f377..dc8657564d 100644
--- a/modules/job-monitor/pom.xml
+++ b/modules/job-monitor/pom.xml
@@ -48,6 +48,11 @@
                 <artifactId>javax.mail-api</artifactId>
                 <version>1.6.2</version>
             </dependency>
+            <dependency>
+                <groupId>com.sun.mail</groupId>
+                <artifactId>javax.mail</artifactId>
+                <version>1.6.2</version>
+            </dependency>
             <dependency>
                 <groupId>org.apache.airavata</groupId>
                 <artifactId>task-core</artifactId>

Reply via email to