Generated an empty app with https://start.spring.io/
authorKai Moritz <kai@juplo.de>
Fri, 8 Jan 2021 14:00:13 +0000 (15:00 +0100)
committerKai Moritz <kai@juplo.de>
Fri, 8 Jan 2021 14:04:53 +0000 (15:04 +0100)
* Dependencies:
** spring-boot-startet-web
** spring-boot-starter-thymeleaf
** spring-boot-devtools
* Aligned indentation
* Removed mvnw & Co.

.gitignore [new file with mode: 0644]
pom.xml [new file with mode: 0644]
src/main/java/de/juplo/demo/httpresources/HttpResourcesDemoApplication.java [new file with mode: 0644]
src/main/resources/application.properties [new file with mode: 0644]
src/test/java/de/juplo/demo/httpresources/HttpResourcesDemoApplicationTests.java [new file with mode: 0644]

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..549e00a
--- /dev/null
@@ -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 (file)
index 0000000..1b7fcd2
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
+       <modelVersion>4.0.0</modelVersion>
+       <parent>
+               <groupId>org.springframework.boot</groupId>
+               <artifactId>spring-boot-starter-parent</artifactId>
+               <version>2.4.1</version>
+               <relativePath/> <!-- lookup parent from repository -->
+       </parent>
+       <groupId>de.juplo.demo</groupId>
+       <artifactId>httpresources</artifactId>
+       <version>1.0.0-SNAPSHOT</version>
+       <name>HttpResources-Demo with Spring Boot</name>
+       <description>Example Application based on Spring Boot, that uses HttpResources to integrat remote-resources</description>
+
+       <properties>
+               <java.version>11</java.version>
+       </properties>
+
+       <dependencies>
+               <dependency>
+                       <groupId>org.springframework.boot</groupId>
+                       <artifactId>spring-boot-starter-web</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.springframework.boot</groupId>
+                       <artifactId>spring-boot-starter-thymeleaf</artifactId>
+               </dependency>
+
+               <dependency>
+                       <groupId>org.springframework.boot</groupId>
+                       <artifactId>spring-boot-devtools</artifactId>
+                       <scope>runtime</scope>
+                       <optional>true</optional>
+               </dependency>
+               <dependency>
+                       <groupId>org.springframework.boot</groupId>
+                       <artifactId>spring-boot-starter-test</artifactId>
+                       <scope>test</scope>
+               </dependency>
+       </dependencies>
+
+       <build>
+               <plugins>
+                       <plugin>
+                               <groupId>org.springframework.boot</groupId>
+                               <artifactId>spring-boot-maven-plugin</artifactId>
+                       </plugin>
+               </plugins>
+       </build>
+
+</project>
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 (file)
index 0000000..71b8a6d
--- /dev/null
@@ -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 (file)
index 0000000..8b13789
--- /dev/null
@@ -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 (file)
index 0000000..8069a27
--- /dev/null
@@ -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()
+       {
+       }
+}