From 31dcb2abf58ffd34ccfc492eacb9f2a860fad35f Mon Sep 17 00:00:00 2001 From: hirst Date: Mon, 27 May 2024 17:22:09 +0200 Subject: [PATCH] redone maven project files --- dummy/pom.xml | 79 ++++++++++++++++++++++++++--------------------- eureka/pom.xml | 42 ++++--------------------- gateway/pom.xml | 82 +++++++++++++------------------------------------ pom.xml | 81 ++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 153 insertions(+), 131 deletions(-) create mode 100644 pom.xml diff --git a/dummy/pom.xml b/dummy/pom.xml index 1ea50c3..071da9e 100644 --- a/dummy/pom.xml +++ b/dummy/pom.xml @@ -3,20 +3,56 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - org.springframework.boot - spring-boot-starter-parent - 3.2.5 - + com.learningpulse + server + 0.0.1 - com.learningpulse dummy - 0.0.1-SNAPSHOT + 0.0.1 dummy - Demo project for Spring Boot + A dummy project - 22 + + + org.springframework.boot + spring-boot-starter-web + + + + org.projectlombok + lombok + true + + + + org.springframework.cloud + spring-cloud-starter-netflix-eureka-client + + + + org.springframework.cloud + spring-cloud-config-server + + + org.springframework.boot + spring-boot-starter-oauth2-resource-server + + + + + org.springframework.security.oauth + spring-security-oauth2 + 2.5.2.RELEASE + + + + + org.springframework.security + spring-security-oauth2-resource-server + + org.springframework.boot spring-boot-starter-security @@ -27,16 +63,6 @@ postgresql runtime - - org.projectlombok - lombok - true - - - org.springframework.boot - spring-boot-starter-test - test - org.springframework.security spring-security-test @@ -44,21 +70,4 @@ - - - - org.springframework.boot - spring-boot-maven-plugin - - - - org.projectlombok - lombok - - - - - - - diff --git a/eureka/pom.xml b/eureka/pom.xml index 4be19e3..9369e60 100644 --- a/eureka/pom.xml +++ b/eureka/pom.xml @@ -3,20 +3,17 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - org.springframework.boot - spring-boot-starter-parent - 3.2.5 - + com.learningpulse + server + 0.0.1 - com.learningpulse eureka - 0.0.1-SNAPSHOT + 0.0.1 eureka - Demo project for Spring Boot + Eureka discovery server for LearningPulse - 22 - 2023.0.1 + @@ -24,33 +21,6 @@ spring-cloud-starter-netflix-eureka-server 4.1.1 - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - org.springframework.cloud - spring-cloud-dependencies - ${spring-cloud.version} - pom - import - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - diff --git a/gateway/pom.xml b/gateway/pom.xml index 89ecf18..018a68c 100644 --- a/gateway/pom.xml +++ b/gateway/pom.xml @@ -3,75 +3,49 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - org.springframework.boot - spring-boot-starter-parent - 3.2.5 + com.learningpulse + server + 0.0.1 - com.learningpulse gateway - 0.0.1-SNAPSHOT + 0.0.1 gateway - Demo project for Spring Boot + API gateway for LearningPulse - 22 - 2023.0.1 - + - org.springframework.boot - spring-boot-starter-oauth2-resource-server + org.springframework.cloud + spring-cloud-starter-circuitbreaker-reactor-resilience4j org.springframework.cloud - spring-cloud-starter-gateway-mvc - - - org.springframework.cloud - spring-cloud-starter-loadbalancer - - - - org.projectlombok - lombok - true - - - - org.springframework.boot - spring-boot-starter-test - test - - - org.springframework.restdocs - spring-restdocs-mockmvc - test + spring-cloud-starter-gateway org.springframework.boot spring-boot-starter-security + + org.springframework.boot + spring-boot-starter-webflux + org.springdoc - springdoc-openapi-starter-webmvc-ui + springdoc-openapi-starter-webflux-ui 2.2.0 + + org.springframework.boot + spring-boot-starter-oauth2-resource-server + + + org.springframework.cloud + spring-cloud-starter-netflix-eureka-client + - - - - org.springframework.cloud - spring-cloud-dependencies - ${spring-cloud.version} - pom - import - - - @@ -100,18 +74,6 @@ - - org.springframework.boot - spring-boot-maven-plugin - - - - org.projectlombok - lombok - - - - diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..ebd117c --- /dev/null +++ b/pom.xml @@ -0,0 +1,81 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 3.2.5 + + + com.learningpulse + server + 0.0.1 + pom + server + API server for LearningPulse + + gateway + eureka + dummy + + + 22 + 22 + 22 + 2023.0.1 + + + + org.springframework.boot + spring-boot-starter + + + org.springframework.boot + spring-boot-starter-test + test + + + + org.springframework.boot + spring-boot-starter-actuator + + + + + org.jetbrains + annotations + 24.1.0 + + + + + + + org.springframework.cloud + spring-cloud-dependencies + ${spring-cloud.version} + pom + import + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + +