This is an automated email from the ASF dual-hosted git repository. yasith pushed a commit to branch worktree-cleanup+lean-core in repository https://gitbox.apache.org/repos/asf/airavata.git
commit 1aea3b240252905431ebab6c2192bfd786e614d5 Author: yasithdev <[email protected]> AuthorDate: Mon Mar 30 08:15:45 2026 -0400 cleanup: remove unused Maven dependencies - airavata-api: remove httpclient5/httpcore5 (code uses httpclient4), jakarta.transaction/servlet/jms APIs, hibernate-validator, simpleclient_hotspot/httpserver/pushgateway, contiperf, aws:retries; add explicit simpleclient_common (was used undeclared via httpserver); scope mariadb-java-client as runtime - agent-service: scope mariadb-java-client as runtime - research-service: scope mariadb-java-client as runtime; remove javax.validation:validation-api (superseded by jakarta.validation) - airavata-server-grpc: remove redundant spring-boot-starter-data-jpa, spring-boot-starter-actuator, mariadb-java-client (all transitive) - airavata-server-rest: same removals as grpc - root pom: remove corresponding dependencyManagement entries Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> --- airavata-api/agent-service/pom.xml | 11 +------ airavata-api/pom.xml | 50 ++--------------------------- airavata-api/research-service/pom.xml | 15 +-------- airavata-server/grpc/pom.xml | 27 ---------------- airavata-server/rest/pom.xml | 26 --------------- pom.xml | 59 +---------------------------------- 6 files changed, 5 insertions(+), 183 deletions(-) diff --git a/airavata-api/agent-service/pom.xml b/airavata-api/agent-service/pom.xml index f7dc8553bb..f2edd09dd0 100644 --- a/airavata-api/agent-service/pom.xml +++ b/airavata-api/agent-service/pom.xml @@ -35,16 +35,7 @@ under the License. <dependency> <groupId>org.mariadb.jdbc</groupId> <artifactId>mariadb-java-client</artifactId> - <exclusions> - <exclusion> - <groupId>ch.qos.logback</groupId> - <artifactId>logback-classic</artifactId> - </exclusion> - <exclusion> - <groupId>ch.qos.logback</groupId> - <artifactId>logback-core</artifactId> - </exclusion> - </exclusions> + <scope>runtime</scope> </dependency> <dependency> <groupId>org.springframework.boot</groupId> diff --git a/airavata-api/pom.xml b/airavata-api/pom.xml index babd67e0a3..4bf9a55d55 100644 --- a/airavata-api/pom.xml +++ b/airavata-api/pom.xml @@ -48,14 +48,6 @@ under the License. <groupId>org.apache.curator</groupId> <artifactId>curator-framework</artifactId> </dependency> - <dependency> - <groupId>org.apache.httpcomponents.client5</groupId> - <artifactId>httpclient5</artifactId> - </dependency> - <dependency> - <groupId>org.apache.httpcomponents.core5</groupId> - <artifactId>httpcore5</artifactId> - </dependency> <dependency> <groupId>com.google.inject</groupId> <artifactId>guice</artifactId> @@ -64,23 +56,6 @@ under the License. <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> </dependency> - <dependency> - <groupId>jakarta.transaction</groupId> - <artifactId>jakarta.transaction-api</artifactId> - </dependency> - - <!-- Provided APIs --> - <dependency> - <groupId>jakarta.servlet</groupId> - <artifactId>jakarta.servlet-api</artifactId> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>jakarta.jms</groupId> - <artifactId>jakarta.jms-api</artifactId> - <scope>provided</scope> - </dependency> - <!-- Database & pooling --> <dependency> <groupId>org.apache.commons</groupId> @@ -93,6 +68,7 @@ under the License. <dependency> <groupId>org.mariadb.jdbc</groupId> <artifactId>mariadb-java-client</artifactId> + <scope>runtime</scope> </dependency> <!-- CLI & mapping --> @@ -108,11 +84,6 @@ under the License. <groupId>org.hibernate.orm</groupId> <artifactId>hibernate-core</artifactId> </dependency> - <dependency> - <groupId>org.hibernate.validator</groupId> - <artifactId>hibernate-validator</artifactId> - </dependency> - <!-- JSON, Kafka, XML --> <dependency> <groupId>com.google.code.gson</groupId> @@ -213,15 +184,7 @@ under the License. </dependency> <dependency> <groupId>io.prometheus</groupId> - <artifactId>simpleclient_hotspot</artifactId> - </dependency> - <dependency> - <groupId>io.prometheus</groupId> - <artifactId>simpleclient_httpserver</artifactId> - </dependency> - <dependency> - <groupId>io.prometheus</groupId> - <artifactId>simpleclient_pushgateway</artifactId> + <artifactId>simpleclient_common</artifactId> </dependency> <dependency> @@ -316,10 +279,6 @@ under the License. </exclusion> </exclusions> </dependency> - <dependency> - <groupId>org.databene</groupId> - <artifactId>contiperf</artifactId> - </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> @@ -345,11 +304,6 @@ under the License. <groupId>software.amazon.awssdk</groupId> <artifactId>auth</artifactId> </dependency> - <dependency> - <groupId>software.amazon.awssdk</groupId> - <artifactId>retries</artifactId> - </dependency> - <dependency> <groupId>org.apache.zookeeper</groupId> <artifactId>zookeeper</artifactId> diff --git a/airavata-api/research-service/pom.xml b/airavata-api/research-service/pom.xml index 6d43f98a7e..3c2f508b0f 100644 --- a/airavata-api/research-service/pom.xml +++ b/airavata-api/research-service/pom.xml @@ -35,16 +35,7 @@ under the License. <dependency> <groupId>org.mariadb.jdbc</groupId> <artifactId>mariadb-java-client</artifactId> - <exclusions> - <exclusion> - <groupId>ch.qos.logback</groupId> - <artifactId>logback-classic</artifactId> - </exclusion> - <exclusion> - <groupId>ch.qos.logback</groupId> - <artifactId>logback-core</artifactId> - </exclusion> - </exclusions> + <scope>runtime</scope> </dependency> <dependency> <groupId>org.springframework.boot</groupId> @@ -146,10 +137,6 @@ under the License. </exclusion> </exclusions> </dependency> - <dependency> - <groupId>javax.validation</groupId> - <artifactId>validation-api</artifactId> - </dependency> <dependency> <groupId>org.apache.airavata</groupId> <artifactId>airavata-api</artifactId> diff --git a/airavata-server/grpc/pom.xml b/airavata-server/grpc/pom.xml index f772e1e79c..4dac3bbf12 100644 --- a/airavata-server/grpc/pom.xml +++ b/airavata-server/grpc/pom.xml @@ -79,33 +79,6 @@ under the License. </exclusions> </dependency> - <!-- Spring Boot --> - <dependency> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter-data-jpa</artifactId> - <exclusions> - <exclusion> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter-logging</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter-actuator</artifactId> - <exclusions> - <exclusion> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter-logging</artifactId> - </exclusion> - </exclusions> - </dependency> - - <!-- Database --> - <dependency> - <groupId>org.mariadb.jdbc</groupId> - <artifactId>mariadb-java-client</artifactId> - </dependency> </dependencies> <build> diff --git a/airavata-server/rest/pom.xml b/airavata-server/rest/pom.xml index 8c399ebbe6..5774e4183d 100644 --- a/airavata-server/rest/pom.xml +++ b/airavata-server/rest/pom.xml @@ -79,27 +79,6 @@ under the License. </exclusion> </exclusions> </dependency> - <dependency> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter-data-jpa</artifactId> - <exclusions> - <exclusion> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter-logging</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter-actuator</artifactId> - <exclusions> - <exclusion> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter-logging</artifactId> - </exclusion> - </exclusions> - </dependency> - <!-- OpenAPI --> <dependency> <groupId>org.springdoc</groupId> @@ -112,11 +91,6 @@ under the License. <artifactId>kafka-clients</artifactId> </dependency> - <!-- Database --> - <dependency> - <groupId>org.mariadb.jdbc</groupId> - <artifactId>mariadb-java-client</artifactId> - </dependency> </dependencies> <build> diff --git a/pom.xml b/pom.xml index 9debfd6fb9..6b6835eb30 100644 --- a/pom.xml +++ b/pom.xml @@ -269,17 +269,6 @@ under the License. <artifactId>api-all</artifactId> <version>2.1.7</version> </dependency> - <dependency> - <groupId>org.apache.httpcomponents.client5</groupId> - <artifactId>httpclient5</artifactId> - <version>5.5</version> - </dependency> - <dependency> - <groupId>org.apache.httpcomponents.core5</groupId> - <artifactId>httpcore5</artifactId> - <version>5.3.4</version> - </dependency> - <!-- Google Libraries --> <dependency> <groupId>com.google.code.gson</groupId> @@ -339,16 +328,6 @@ under the License. </dependency> <!-- Jakarta --> - <dependency> - <groupId>jakarta.servlet</groupId> - <artifactId>jakarta.servlet-api</artifactId> - <version>5.0.0</version> - </dependency> - <dependency> - <groupId>jakarta.jms</groupId> - <artifactId>jakarta.jms-api</artifactId> - <version>3.1.0</version> - </dependency> <dependency> <groupId>jakarta.mail</groupId> <artifactId>jakarta.mail-api</artifactId> @@ -359,27 +338,11 @@ under the License. <artifactId>jakarta.activation-api</artifactId> <version>2.1.3</version> </dependency> - <dependency> - <groupId>jakarta.transaction</groupId> - <artifactId>jakarta.transaction-api</artifactId> - <version>2.0.1</version> - </dependency> <dependency> <groupId>javax.xml.bind</groupId> <artifactId>jaxb-api</artifactId> <version>2.4.0-b180830.0359</version> </dependency> - <dependency> - <groupId>javax.validation</groupId> - <artifactId>validation-api</artifactId> - <version>2.0.1.Final</version> - </dependency> - <dependency> - <groupId>org.hibernate.validator</groupId> - <artifactId>hibernate-validator</artifactId> - <version>9.0.1.Final</version> - </dependency> - <!-- Other Libraries --> <dependency> <groupId>com.github.dozermapper</groupId> @@ -408,17 +371,7 @@ under the License. </dependency> <dependency> <groupId>io.prometheus</groupId> - <artifactId>simpleclient_hotspot</artifactId> - <version>0.16.0</version> - </dependency> - <dependency> - <groupId>io.prometheus</groupId> - <artifactId>simpleclient_httpserver</artifactId> - <version>0.16.0</version> - </dependency> - <dependency> - <groupId>io.prometheus</groupId> - <artifactId>simpleclient_pushgateway</artifactId> + <artifactId>simpleclient_common</artifactId> <version>0.16.0</version> </dependency> <dependency> @@ -476,11 +429,6 @@ under the License. <artifactId>keycloak-authz-client</artifactId> <version>26.0.5</version> </dependency> - <dependency> - <groupId>org.databene</groupId> - <artifactId>contiperf</artifactId> - <version>2.3.4</version> - </dependency> <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcprov-jdk18on</artifactId> @@ -608,11 +556,6 @@ under the License. <artifactId>auth</artifactId> <version>2.31.70</version> </dependency> - <dependency> - <groupId>software.amazon.awssdk</groupId> - <artifactId>retries</artifactId> - <version>2.31.70</version> - </dependency> </dependencies> </dependencyManagement>
