From db778a609aeb1e9bd69fa040ee15ee5c022b2188 Mon Sep 17 00:00:00 2001 From: Ng Heng Khai Date: Fri, 3 May 2024 23:48:31 +0800 Subject: [PATCH] Revert "Update pom.xml" This reverts commit 52c250cab0fe4713bb81c198556bfa32054769dd. --- pom.xml | 289 ++++++++++++++-------- src/main/resources/application.properties | 5 - 2 files changed, 184 insertions(+), 110 deletions(-) diff --git a/pom.xml b/pom.xml index 1caef39..6a960f2 100644 --- a/pom.xml +++ b/pom.xml @@ -1,134 +1,213 @@ - 4.0.0 - - org.springframework.boot - spring-boot-starter-parent - 3.2.4 - - - - sg.com.smartinventory - smart-inventory - 0.0.1-SNAPSHOT - smart-inventory - Smart Inventory System - - 21 - sg.com.smartinventory.SmartInventoryApplication - + + smart-inventory + + + + + + + + + + spring-boot-maven-plugin + + + + JAR + + + sg.com.smartinventory.SmartInventoryApplication + + + + org.springframework.boot + + + + - - + com.h2database + h2 + runtime + --> + + + - org.springframework.boot - spring-boot-devtools - runtime - true + + assertj-core + + + org.assertj + + + test + + + 3.25.3 + - org.springframework.boot - spring-boot-starter-data-jpa + + junit-jupiter-api + + + org.junit.jupiter + + + test + - org.springframework.boot - spring-boot-starter-validation + + lombok + + + org.projectlombok + - org.springframework.boot - spring-boot-starter-web + + maven-surefire-plugin + + + org.apache.maven.plugins + + + 3.2.5 + - - org.springframework.boot - spring-boot-starter-test - test + + postgresql + + + org.postgresql + - - - org.postgresql - postgresql + + spring-boot-devtools + + + org.springframework.boot + + + true + + + runtime + - org.projectlombok - lombok + + spring-boot-starter-data-jpa + + + org.springframework.boot + - org.junit.jupiter - junit-jupiter-api - test + + spring-boot-starter-test + + + org.springframework.boot + + + test + - org.apache.maven.plugins - maven-surefire-plugin - 3.2.5 + + spring-boot-starter-validation + + + org.springframework.boot + - org.springdoc - springdoc-openapi-starter-webmvc-ui - 2.5.0 + + spring-boot-starter-web + + + org.springframework.boot + - org.assertj - assertj-core - 3.25.3 - test + + springdoc-openapi-starter-webmvc-ui + + + org.springdoc + + + 2.5.0 + - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - sg.com.smartinventory.SmartInventoryApplication - JAR - - - - - - - + + Smart Inventory System + + + sg.com.smartinventory + + + 4.0.0 + + + smart-inventory + + + + + spring-boot-starter-parent + + + org.springframework.boot + + + + 3.2.4 + + + + + 21 + + + sg.com.smartinventory.SmartInventoryApplication + + + + 0.0.1-SNAPSHOT + \ No newline at end of file diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 91702c6..c84cfd6 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -62,11 +62,6 @@ springdoc.swagger-ui.path=/swagger-ui.html # https://medium.com/code-with-farhan/spring-security-jwt-authentication-authorization-a2c6860be3cf # jwt.session.period=60000 -# Enable Actuator Endpoints. -# management.endpoints.web.exposure.include= "*" -# management.endpoints.web.exposure.include=health -# management.endpoint.health.show-details=always - # Profile management. # Spring Boot will always read the application.properties file. # Other's profile files, such as application-development.properties only will complement and replace the properties defined before.