From 7bb857de8232a5af00fa699bde3955bc3ee836a5 Mon Sep 17 00:00:00 2001 From: Pavel Sklenar Date: Mon, 25 Feb 2019 20:46:49 +0100 Subject: [PATCH 1/6] Added surfire plugin to avoid https://stackoverflow.com/questions/53010200/maven-surefire-could-not-find-forkedbooter-class --- spring-rest-data-exploit/pom.xml | 98 +++++++++++++++++--------------- 1 file changed, 53 insertions(+), 45 deletions(-) diff --git a/spring-rest-data-exploit/pom.xml b/spring-rest-data-exploit/pom.xml index 7193f4a..ee2a857 100644 --- a/spring-rest-data-exploit/pom.xml +++ b/spring-rest-data-exploit/pom.xml @@ -1,48 +1,48 @@ - 4.0.0 + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 - com.pavelsklenar - spring-rest-data-exploit-example - 0.0.1-SNAPSHOT - jar + com.pavelsklenar + spring-rest-data-exploit-example + 0.0.1-SNAPSHOT + jar - spring-rest-data-exploit-example - Demo project for Spring Boot + spring-rest-data-exploit-example + Demo project for Spring Boot - - org.springframework.boot - spring-boot-starter-parent - 1.4.0.RELEASE - - + + org.springframework.boot + spring-boot-starter-parent + 1.4.0.RELEASE + + - - UTF-8 - UTF-8 - 1.8 - + + UTF-8 + UTF-8 + 1.8 + - - - org.springframework.boot - spring-boot-starter-data-rest - - - org.springframework.boot - spring-boot-starter-data-jpa - - - com.h2database - h2 - + + + org.springframework.boot + spring-boot-starter-data-rest + + + org.springframework.boot + spring-boot-starter-data-jpa + + + com.h2database + h2 + - - org.springframework.boot - spring-boot-starter-test - test - + + org.springframework.boot + spring-boot-starter-test + test + org.apache.httpcomponents httpcore @@ -53,14 +53,22 @@ - - - - org.springframework.boot - spring-boot-maven-plugin - - - + + + + org.springframework.boot + spring-boot-maven-plugin + + + org.apache.maven.plugins + maven-surefire-plugin + 2.22.1 + + false + + + + From 31d05f6e6ffa45c8014f9350468c48c62c96e1ee Mon Sep 17 00:00:00 2001 From: Pavel Sklenar Date: Mon, 25 Feb 2019 21:11:45 +0100 Subject: [PATCH 2/6] Some pom changes to be possible to build with OpenJDK 11 --- spring-rest-data-exploit/pom.xml | 33 +++++++++++++++++++ .../exploit/example/Spring data exploit.http | 6 ---- 2 files changed, 33 insertions(+), 6 deletions(-) delete mode 100644 spring-rest-data-exploit/src/main/java/com/pavelsklenar/spring/exploit/example/Spring data exploit.http diff --git a/spring-rest-data-exploit/pom.xml b/spring-rest-data-exploit/pom.xml index ee2a857..362d42a 100644 --- a/spring-rest-data-exploit/pom.xml +++ b/spring-rest-data-exploit/pom.xml @@ -51,6 +51,29 @@ org.apache.httpcomponents httpclient + + + + javax.xml.bind + jaxb-api + 2.2.11 + + + com.sun.xml.bind + jaxb-core + 2.2.11 + + + com.sun.xml.bind + jaxb-impl + 2.2.11 + + + javax.activation + activation + 1.1.1 + + @@ -58,6 +81,16 @@ org.springframework.boot spring-boot-maven-plugin + + + + repackage + + + com.pavelsklenar.spring.exploit.example.SpringRestDataExploitExampleApplication + + + org.apache.maven.plugins diff --git a/spring-rest-data-exploit/src/main/java/com/pavelsklenar/spring/exploit/example/Spring data exploit.http b/spring-rest-data-exploit/src/main/java/com/pavelsklenar/spring/exploit/example/Spring data exploit.http deleted file mode 100644 index bfe5e8a..0000000 --- a/spring-rest-data-exploit/src/main/java/com/pavelsklenar/spring/exploit/example/Spring data exploit.http +++ /dev/null @@ -1,6 +0,0 @@ -# For a quick start check out our HTTP Requests collection (Tools|HTTP Client|Open HTTP Requests Collection). -# -# Following HTTP Request Live Templates are available: -# * 'gtrp' and 'gtr' create a GET request with or without query parameters; -# * 'ptr' and 'ptrp' create a POST request with a simple or parameter-like body; -# * 'mptr' and 'fptr' create a POST request to submit a form with a text or file field (multipart/form-data); \ No newline at end of file From d855cf6bbf57ec8e5e0556303765860e28b6d39e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 4 May 2023 18:09:57 +0000 Subject: [PATCH 3/6] Add renovate.json --- renovate.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 renovate.json diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..39a2b6e --- /dev/null +++ b/renovate.json @@ -0,0 +1,6 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:base" + ] +} From 2f424e64afe6371f89518dec693c89de36202bbf Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 4 May 2023 20:26:04 +0000 Subject: [PATCH 4/6] Update dependency org.apache.maven.plugins:maven-surefire-plugin to v2.22.2 --- spring-rest-data-exploit/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-rest-data-exploit/pom.xml b/spring-rest-data-exploit/pom.xml index 362d42a..133b976 100644 --- a/spring-rest-data-exploit/pom.xml +++ b/spring-rest-data-exploit/pom.xml @@ -95,7 +95,7 @@ org.apache.maven.plugins maven-surefire-plugin - 2.22.1 + 2.22.2 false From eb6447ab684a085006c78e24eb46f663ca9d9cdd Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 4 May 2023 20:26:09 +0000 Subject: [PATCH 5/6] Update openjdk Docker tag to v11.0.16-slim --- spring-boot-docker-build/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-docker-build/Dockerfile b/spring-boot-docker-build/Dockerfile index 4393461..cbd083a 100644 --- a/spring-boot-docker-build/Dockerfile +++ b/spring-boot-docker-build/Dockerfile @@ -15,7 +15,7 @@ COPY src /build/src RUN mvn package -FROM openjdk:11-slim as runtime +FROM openjdk:11.0.16-slim as runtime EXPOSE 8080 #Set app home folder ENV APP_HOME /app From 2029ab306395cebe606f8b9ef9bb3f8217c20d8d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 5 May 2023 04:43:49 +0000 Subject: [PATCH 6/6] Update dependency commons-codec:commons-codec to v1.15 --- spring-sftp-download-demo/pom.xml | 2 +- spring-sftp-upload-demo/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-sftp-download-demo/pom.xml b/spring-sftp-download-demo/pom.xml index 80e6fc8..c0c5c14 100644 --- a/spring-sftp-download-demo/pom.xml +++ b/spring-sftp-download-demo/pom.xml @@ -45,7 +45,7 @@ commons-codec commons-codec - 1.10 + 1.15 test diff --git a/spring-sftp-upload-demo/pom.xml b/spring-sftp-upload-demo/pom.xml index 68fb821..e5e10ca 100644 --- a/spring-sftp-upload-demo/pom.xml +++ b/spring-sftp-upload-demo/pom.xml @@ -45,7 +45,7 @@ commons-codec commons-codec - 1.10 + 1.15 test