This is an automated email from the ASF dual-hosted git repository.
yasithdev pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata.git
The following commit(s) were added to refs/heads/master by this push:
new 114720011b Tidy airavata-api dependencies (drop unused snakeyaml,
relocate groovy/mail) (#678)
114720011b is described below
commit 114720011ba4553cfc0992167627ea616a16404a
Author: Yasith Jayawardana <[email protected]>
AuthorDate: Sat Jun 13 10:57:41 2026 -0400
Tidy airavata-api dependencies (drop unused snakeyaml, relocate
groovy/mail) (#678)
- Drop the explicit snakeyaml dependency from airavata-api (0 imports); it
stays
available transitively via spring-boot, so the resolved tree is unchanged.
- Relocate two dependencies to the modules that actually use them:
groovy-templates
-> compute-service (its only importer) and spring-boot-starter-mail ->
orchestration-service (its only importer), instead of declaring them in
airavata-api.
The airavata-server fat jar still resolves groovy-templates,
spring-boot-starter-mail,
and snakeyaml (verified via dependency:list); the full reactor compiles.
---
airavata-api/compute-service/pom.xml | 4 ++++
airavata-api/orchestration-service/pom.xml | 4 ++++
airavata-api/pom.xml | 12 ------------
3 files changed, 8 insertions(+), 12 deletions(-)
diff --git a/airavata-api/compute-service/pom.xml
b/airavata-api/compute-service/pom.xml
index 7fbae07696..105fd5d149 100644
--- a/airavata-api/compute-service/pom.xml
+++ b/airavata-api/compute-service/pom.xml
@@ -111,6 +111,10 @@ under the License.
<version>2.12.1</version>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy-templates</artifactId>
+ </dependency>
</dependencies>
<build>
diff --git a/airavata-api/orchestration-service/pom.xml
b/airavata-api/orchestration-service/pom.xml
index e33b43e1ac..34a4601953 100644
--- a/airavata-api/orchestration-service/pom.xml
+++ b/airavata-api/orchestration-service/pom.xml
@@ -126,6 +126,10 @@ under the License.
<artifactId>junit-platform-launcher</artifactId>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-mail</artifactId>
+ </dependency>
</dependencies>
<build>
diff --git a/airavata-api/pom.xml b/airavata-api/pom.xml
index 1f3e294730..834fabc2a6 100644
--- a/airavata-api/pom.xml
+++ b/airavata-api/pom.xml
@@ -81,10 +81,6 @@ under the License.
<artifactId>hibernate-core</artifactId>
</dependency>
<!-- Other utilities -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-mail</artifactId>
- </dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
@@ -141,14 +137,6 @@ under the License.
<artifactId>micrometer-core</artifactId>
</dependency>
- <dependency>
- <groupId>org.codehaus.groovy</groupId>
- <artifactId>groovy-templates</artifactId>
- </dependency>
- <dependency>
- <groupId>org.yaml</groupId>
- <artifactId>snakeyaml</artifactId>
- </dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-admin-client</artifactId>