From abe2e76d41f59fffc2d77569de4c7d7e7956ec0b Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Fri, 8 Jan 2021 15:00:13 +0100 Subject: [PATCH 1/1] Generated an empty app with https://start.spring.io/ * Dependencies: ** spring-boot-startet-web ** spring-boot-starter-thymeleaf ** spring-boot-devtools * Aligned indentation * Removed mvnw & Co. --- .gitignore | 33 ++++++++++++ pom.xml | 53 +++++++++++++++++++ .../HttpResourcesDemoApplication.java | 13 +++++ src/main/resources/application.properties | 1 + .../HttpResourcesDemoApplicationTests.java | 13 +++++ 5 files changed, 113 insertions(+) create mode 100644 .gitignore create mode 100644 pom.xml create mode 100644 src/main/java/de/juplo/demo/httpresources/HttpResourcesDemoApplication.java create mode 100644 src/main/resources/application.properties create mode 100644 src/test/java/de/juplo/demo/httpresources/HttpResourcesDemoApplicationTests.java diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..549e00a --- /dev/null +++ b/.gitignore @@ -0,0 +1,33 @@ +HELP.md +target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/**/target/ +!**/src/test/**/target/ + +### STS ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### IntelliJ IDEA ### +.idea +*.iws +*.iml +*.ipr + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ +!**/src/main/**/build/ +!**/src/test/**/build/ + +### VS Code ### +.vscode/ diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..1b7fcd2 --- /dev/null +++ b/pom.xml @@ -0,0 +1,53 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.4.1 + + + de.juplo.demo + httpresources + 1.0.0-SNAPSHOT + HttpResources-Demo with Spring Boot + Example Application based on Spring Boot, that uses HttpResources to integrat remote-resources + + + 11 + + + + + org.springframework.boot + spring-boot-starter-web + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + + org.springframework.boot + spring-boot-devtools + runtime + true + + + org.springframework.boot + spring-boot-starter-test + test + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + diff --git a/src/main/java/de/juplo/demo/httpresources/HttpResourcesDemoApplication.java b/src/main/java/de/juplo/demo/httpresources/HttpResourcesDemoApplication.java new file mode 100644 index 0000000..71b8a6d --- /dev/null +++ b/src/main/java/de/juplo/demo/httpresources/HttpResourcesDemoApplication.java @@ -0,0 +1,13 @@ +package de.juplo.demo.httpresources; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class HttpResourcesDemoApplication +{ + public static void main(String[] args) + { + SpringApplication.run(HttpResourcesDemoApplication.class, args); + } +} diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/src/main/resources/application.properties @@ -0,0 +1 @@ + diff --git a/src/test/java/de/juplo/demo/httpresources/HttpResourcesDemoApplicationTests.java b/src/test/java/de/juplo/demo/httpresources/HttpResourcesDemoApplicationTests.java new file mode 100644 index 0000000..8069a27 --- /dev/null +++ b/src/test/java/de/juplo/demo/httpresources/HttpResourcesDemoApplicationTests.java @@ -0,0 +1,13 @@ +package de.juplo.demo.httpresources; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class HttpResourcesDemoApplicationTests +{ + @Test + void contextLoads() + { + } +} -- 2.20.1