Skip to content

Commit

Permalink
Merge pull request DSpace#9467 from tdonohue/fix_email_dependencies
Browse files Browse the repository at this point in the history
Fix email dependency issues which were causing Submission failures
  • Loading branch information
tdonohue authored Apr 11, 2024
2 parents 76d5378 + 09680fc commit 3922878
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 6 deletions.
7 changes: 6 additions & 1 deletion dspace-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,12 @@
<artifactId>commons-validator</artifactId>
</dependency>
<dependency>
<groupId>com.sun.mail</groupId>
<groupId>jakarta.mail</groupId>
<artifactId>jakarta.mail-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.eclipse.angus</groupId>
<artifactId>jakarta.mail</artifactId>
</dependency>
<dependency>
Expand Down
7 changes: 6 additions & 1 deletion dspace-services/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,12 @@
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.sun.mail</groupId>
<groupId>jakarta.mail</groupId>
<artifactId>jakarta.mail-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.eclipse.angus</groupId>
<artifactId>jakarta.mail</artifactId>
</dependency>
<dependency>
Expand Down
21 changes: 17 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
<jackson.version>2.16.0</jackson.version>
<jackson-databind.version>2.16.0</jackson-databind.version>
<jakarta-annotation.version>2.1.1</jakarta-annotation.version>
<jaxb-api.version>4.0.0</jaxb-api.version>
<jaxb-runtime.version>4.0.1</jaxb-runtime.version>
<jaxb-api.version>4.0.2</jaxb-api.version>
<jaxb-runtime.version>4.0.5</jaxb-runtime.version>
<jcache-version>1.1.1</jcache-version>
<!-- NOTE: Jetty needed for Solr, Handle Server & tests -->
<jetty.version>9.4.54.v20240208</jetty.version>
Expand Down Expand Up @@ -1522,9 +1522,22 @@
<version>2.12.5</version>
</dependency>
<dependency>
<groupId>com.sun.mail</groupId>
<groupId>jakarta.activation</groupId>
<artifactId>jakarta.activation-api</artifactId>
<version>2.1.3</version>
</dependency>
<!-- Jakarta mail API definition -->
<dependency>
<groupId>jakarta.mail</groupId>
<artifactId>jakarta.mail-api</artifactId>
<version>2.1.3</version>
<scope>provided</scope>
</dependency>
<!-- Jakarta mail default implementation/provider -->
<dependency>
<groupId>org.eclipse.angus</groupId>
<artifactId>jakarta.mail</artifactId>
<version>2.0.1</version>
<version>2.0.3</version>
</dependency>
<dependency>
<groupId>jakarta.servlet</groupId>
Expand Down

0 comments on commit 3922878

Please sign in to comment.