From e504b4bc49b299737ce80a99a03dcd54fe6d66a6 Mon Sep 17 00:00:00 2001 From: Omar Shahbaz Date: Mon, 19 Jan 2026 16:45:24 +0500 Subject: [PATCH] Added Common Dependencies --- pom.xml | 34 ++++++++++++++++++++++- src/main/resources/application.properties | 12 ++++++++ 2 files changed, 45 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index b87d939..7cbde9a 100644 --- a/pom.xml +++ b/pom.xml @@ -33,8 +33,19 @@ org.springframework.boot spring-boot-starter-webmvc + + + org.springframework.boot + spring-boot-starter-logging + + + + + org.springframework.boot + spring-boot-starter-data-jpa + 4.0.1 + compile - org.springframework.boot spring-boot-devtools @@ -51,6 +62,27 @@ spring-boot-starter-webmvc-test test + + org.springdoc + springdoc-openapi-starter-webmvc-ui + 2.6.0 + compile + + + org.springframework.boot + spring-boot-starter-log4j2 + + + com.mysql + mysql-connector-j + 9.5.0 + compile + + + org.hibernate.validator + hibernate-validator + + diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 2242470..7fba661 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1 +1,13 @@ +#application configuration spring.application.name=uco-bs-poc +server.port=9090 +server.servlet.context-path=/uco + +#database configuration +spring.datasource.url=jdbc:mysql://localhost:3306/ucodb +spring.datasource.username=root +spring.datasource.password=root +spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver +spring.jpa.hibernate.ddl-auto=update +spring.jpa.show-sql=true +spring.jpa.database-platform=org.hibernate.dialect.MySQLDialect \ No newline at end of file