From: Kai Moritz Date: Fri, 20 Nov 2020 19:46:41 +0000 (+0100) Subject: Initial commit: created project on start.spring.io X-Git-Tag: wip-implementation~10 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=d4090d0794445bcee722d320a344c1599552da2c;p=demos%2Fmultiple-beans Initial commit: created project on start.spring.io --- d4090d0794445bcee722d320a344c1599552da2c 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..9df145d --- /dev/null +++ b/pom.xml @@ -0,0 +1,58 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.4.0 + + + de.juplo.examples + multiple-beans + 0.0.1-SNAPSHOT + multiple-beans + Mini-HowTo: Creating multiple beans of one type programmatically + + + 11 + + + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-devtools + runtime + true + + + org.projectlombok + lombok + true + + + org.springframework.boot + spring-boot-starter-test + test + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + diff --git a/src/main/java/de/juplo/demos/multiplebeans/MultipleBeansApplication.java b/src/main/java/de/juplo/demos/multiplebeans/MultipleBeansApplication.java new file mode 100644 index 0000000..618ba8e --- /dev/null +++ b/src/main/java/de/juplo/demos/multiplebeans/MultipleBeansApplication.java @@ -0,0 +1,13 @@ +package de.juplo.demos.multiplebeans; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class MultipleBeansApplication { + + public static void main(String[] args) { + SpringApplication.run(MultipleBeansApplication.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/demos/multiplebeans/MultipleBeansApplicationTests.java b/src/test/java/de/juplo/demos/multiplebeans/MultipleBeansApplicationTests.java new file mode 100644 index 0000000..3e6dc29 --- /dev/null +++ b/src/test/java/de/juplo/demos/multiplebeans/MultipleBeansApplicationTests.java @@ -0,0 +1,13 @@ +package de.juplo.demos.multiplebeans; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class MultipleBeansApplicationTests { + + @Test + void contextLoads() { + } + +}