From 45e2541f5a8439daf300f4809e4a54d7b1b00f80 Mon Sep 17 00:00:00 2001 From: Sergei Vorona Date: Thu, 3 Aug 2023 16:43:46 +1000 Subject: [PATCH 1/3] refactoring --- pom.xml | 308 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 154 insertions(+), 154 deletions(-) diff --git a/pom.xml b/pom.xml index bc375b3..d0f2bca 100644 --- a/pom.xml +++ b/pom.xml @@ -1,172 +1,172 @@ - 4.0.0 - - org.springframework.boot - spring-boot-starter-parent - 2.3.3.RELEASE - - - com.example - hotel - 0.0.1-SNAPSHOT - hotel - App Hotel - - 1.8 - - - - org.springframework.boot - spring-boot-starter-web - + 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 + 2.3.3.RELEASE + + + com.example + hotel + 0.0.1-SNAPSHOT + hotel + App Hotel + + 1.8 + + + + org.springframework.boot + spring-boot-starter-web + - - org.springframework.boot - spring-boot-starter-test - test - + + org.springframework.boot + spring-boot-starter-test + test + - - org.springframework.boot - spring-boot-devtools - runtime - true - + + org.springframework.boot + spring-boot-devtools + runtime + true + - - org.springframework.boot - spring-boot-starter-data-jpa - + + org.springframework.boot + spring-boot-starter-data-jpa + - - org.postgresql - postgresql - 42.2.20 - + + org.postgresql + postgresql + 42.2.20 + - - org.mapstruct - mapstruct - 1.4.2.Final - + + org.mapstruct + mapstruct + 1.4.2.Final + - - org.projectlombok - lombok - 1.18.20 - provided - + + org.projectlombok + lombok + 1.18.20 + provided + - - io.springfox - springfox-boot-starter - 3.0.0 - + + io.springfox + springfox-boot-starter + 3.0.0 + - - io.springfox - springfox-swagger-ui - 3.0.0 - + + io.springfox + springfox-swagger-ui + 3.0.0 + - - - org.springframework.cloud - spring-cloud-starter-oauth2 - 2.2.4.RELEASE - + + + org.springframework.cloud + spring-cloud-starter-oauth2 + 2.2.4.RELEASE + - - org.springframework.cloud - spring-cloud-starter-security - 2.2.4.RELEASE - + + org.springframework.cloud + spring-cloud-starter-security + 2.2.4.RELEASE + - - org.springframework.security - spring-security-test - test - - + + org.springframework.security + spring-security-test + test + + - - org.springframework.boot - spring-boot-starter-mail - + + org.springframework.boot + spring-boot-starter-mail + - - - - - org.jacoco - jacoco-maven-plugin - 0.8.8 - - - - prepare-agent - - - - - report - test - - report - - - - - - org.apache.maven.plugins - maven-surefire-plugin - 2.22.2 - - plain - - **/*Test*.java - **/*IT*.java - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - org.projectlombok - lombok - - - - + + + + + org.jacoco + jacoco-maven-plugin + 0.8.8 + + + + prepare-agent + + + + + report + test + + report + + + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.22.2 + + plain + + **/*Test*.java + **/*IT*.java + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.projectlombok + lombok + + + + - - org.apache.maven.plugins - maven-compiler-plugin - 3.7.0 - - ${java.version} - ${java.version} - - - org.projectlombok - lombok - 1.18.20 - - - org.mapstruct - mapstruct-processor - 1.4.2.Final - - - - - - - + + org.apache.maven.plugins + maven-compiler-plugin + 3.7.0 + + ${java.version} + ${java.version} + + + org.projectlombok + lombok + 1.18.20 + + + org.mapstruct + mapstruct-processor + 1.4.2.Final + + + + + + + From 2c112d692fe4bde8057684178147dc03664c70be Mon Sep 17 00:00:00 2001 From: Sergei Vorona Date: Thu, 3 Aug 2023 16:57:03 +1000 Subject: [PATCH 2/3] fix --- .github/workflows/check-and-add-labels.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-and-add-labels.yml b/.github/workflows/check-and-add-labels.yml index 80fcb5b..2b8ae1a 100644 --- a/.github/workflows/check-and-add-labels.yml +++ b/.github/workflows/check-and-add-labels.yml @@ -1,7 +1,7 @@ name: Check and add labels in PR on: - pull_request: + pull_request_target: types: [ opened, labeled, unlabeled, synchronize ] jobs: From 8ea90d092f236033b4fae417277ef9085b9442c4 Mon Sep 17 00:00:00 2001 From: Sergei Vorona Date: Thu, 3 Aug 2023 17:04:20 +1000 Subject: [PATCH 3/3] refactoring --- pom.xml | 308 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 154 insertions(+), 154 deletions(-) diff --git a/pom.xml b/pom.xml index d0f2bca..bc375b3 100644 --- a/pom.xml +++ b/pom.xml @@ -1,172 +1,172 @@ - 4.0.0 - - org.springframework.boot - spring-boot-starter-parent - 2.3.3.RELEASE - - - com.example - hotel - 0.0.1-SNAPSHOT - hotel - App Hotel - - 1.8 - - - - org.springframework.boot - spring-boot-starter-web - + 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 + 2.3.3.RELEASE + + + com.example + hotel + 0.0.1-SNAPSHOT + hotel + App Hotel + + 1.8 + + + + org.springframework.boot + spring-boot-starter-web + - - org.springframework.boot - spring-boot-starter-test - test - + + org.springframework.boot + spring-boot-starter-test + test + - - org.springframework.boot - spring-boot-devtools - runtime - true - + + org.springframework.boot + spring-boot-devtools + runtime + true + - - org.springframework.boot - spring-boot-starter-data-jpa - + + org.springframework.boot + spring-boot-starter-data-jpa + - - org.postgresql - postgresql - 42.2.20 - + + org.postgresql + postgresql + 42.2.20 + - - org.mapstruct - mapstruct - 1.4.2.Final - + + org.mapstruct + mapstruct + 1.4.2.Final + - - org.projectlombok - lombok - 1.18.20 - provided - + + org.projectlombok + lombok + 1.18.20 + provided + - - io.springfox - springfox-boot-starter - 3.0.0 - + + io.springfox + springfox-boot-starter + 3.0.0 + - - io.springfox - springfox-swagger-ui - 3.0.0 - + + io.springfox + springfox-swagger-ui + 3.0.0 + - - - org.springframework.cloud - spring-cloud-starter-oauth2 - 2.2.4.RELEASE - + + + org.springframework.cloud + spring-cloud-starter-oauth2 + 2.2.4.RELEASE + - - org.springframework.cloud - spring-cloud-starter-security - 2.2.4.RELEASE - + + org.springframework.cloud + spring-cloud-starter-security + 2.2.4.RELEASE + - - org.springframework.security - spring-security-test - test - - + + org.springframework.security + spring-security-test + test + + - - org.springframework.boot - spring-boot-starter-mail - + + org.springframework.boot + spring-boot-starter-mail + - - - - - org.jacoco - jacoco-maven-plugin - 0.8.8 - - - - prepare-agent - - - - - report - test - - report - - - - - - org.apache.maven.plugins - maven-surefire-plugin - 2.22.2 - - plain - - **/*Test*.java - **/*IT*.java - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - org.projectlombok - lombok - - - - + + + + + org.jacoco + jacoco-maven-plugin + 0.8.8 + + + + prepare-agent + + + + + report + test + + report + + + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.22.2 + + plain + + **/*Test*.java + **/*IT*.java + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.projectlombok + lombok + + + + - - org.apache.maven.plugins - maven-compiler-plugin - 3.7.0 - - ${java.version} - ${java.version} - - - org.projectlombok - lombok - 1.18.20 - - - org.mapstruct - mapstruct-processor - 1.4.2.Final - - - - - - - + + org.apache.maven.plugins + maven-compiler-plugin + 3.7.0 + + ${java.version} + ${java.version} + + + org.projectlombok + lombok + 1.18.20 + + + org.mapstruct + mapstruct-processor + 1.4.2.Final + + + + + + +