From 1a83c642c19868dd9c7155cc89049fc4d4777ba7 Mon Sep 17 00:00:00 2001 From: KronosDP <darrel.danadyaksa19@gmail.com> Date: Wed, 26 Feb 2025 13:40:14 +0700 Subject: [PATCH] add: update dependencies in pom.xml and include new database and security configurations --- pom.xml | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 65 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 936334a..7399793 100644 --- a/pom.xml +++ b/pom.xml @@ -66,8 +66,8 @@ <!-- JUnit 5 for unit and regression testing --> <dependency> <groupId>org.junit.jupiter</groupId> - <artifactId>junit-jupiter-api</artifactId> - <version>5.7.1</version> + <artifactId>junit-jupiter</artifactId> + <version>5.11.2</version> <scope>test</scope> </dependency> @@ -79,11 +79,34 @@ <scope>test</scope> </dependency> + <dependency> + <groupId>org.postgresql</groupId> + <artifactId>postgresql</artifactId> + <scope>runtime</scope> + </dependency> + + <!-- REST-assured for integration testing --> <dependency> <groupId>io.rest-assured</groupId> <artifactId>rest-assured</artifactId> - <version>4.4.0</version> + <version>4.5.1</version> + <scope>test</scope> + <exclusions> + <exclusion> + <groupId>org.codehaus.groovy</groupId> + <artifactId>groovy</artifactId> + </exclusion> + <exclusion> + <groupId>org.codehaus.groovy</groupId> + <artifactId>groovy-xml</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>io.rest-assured</groupId> + <artifactId>json-schema-validator</artifactId> + <version>4.5.1</version> <scope>test</scope> </dependency> @@ -94,6 +117,45 @@ <version>2.5.4</version> </dependency> + <!-- Spring Data JPA --> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-data-jpa</artifactId> + </dependency> + + <!-- Spring Security for Password Encoding --> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-security</artifactId> + </dependency> + + <!-- H2 Database for development/testing --> + <dependency> + <groupId>com.h2database</groupId> + <artifactId>h2</artifactId> + <scope>runtime</scope> + </dependency> + + <dependency> + <groupId>org.springframework.security</groupId> + <artifactId>spring-security-test</artifactId> + <version>6.1.1</version> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-validation</artifactId> + </dependency> + + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-test</artifactId> + <scope>test</scope> + </dependency> + + + </dependencies> <build> -- GitLab