Created an empty Spring-Boot projects for the first consumer: pwreset
authorKai Moritz <kai@juplo.de>
Sat, 13 Mar 2021 08:27:15 +0000 (09:27 +0100)
committerKai Moritz <kai@juplo.de>
Sun, 14 Mar 2021 08:40:40 +0000 (09:40 +0100)
.gitignore [new file with mode: 0644]
pom.xml [new file with mode: 0644]
pwreset/pom.xml [new file with mode: 0644]
pwreset/src/main/java/de/juplo/demos/pwreset/PWResetApplication.java [new file with mode: 0644]
pwreset/src/main/resources/application.properties [new file with mode: 0644]
pwreset/src/test/java/de/juplo/demos/pwreset/PWResetApplicationTests.java [new file with mode: 0644]

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..7339146
--- /dev/null
@@ -0,0 +1,31 @@
+target/
+!**/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..97f526e
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,24 @@
+<?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.3</version>
+               <relativePath/> <!-- lookup parent from repository -->
+       </parent>
+       <groupId>de.juplo.demos</groupId>
+       <artifactId>pact</artifactId>
+       <version>1.0.0</version>
+       <packaging>pom</packaging>
+       <name>pact</name>
+       <description>Pact-Demo based on Spring Boot</description>
+       <properties>
+               <java.version>11</java.version>
+       </properties>
+       <modules>
+               <module>pwreset</module>
+       </modules>
+
+</project>
diff --git a/pwreset/pom.xml b/pwreset/pom.xml
new file mode 100644 (file)
index 0000000..e63871b
--- /dev/null
@@ -0,0 +1,50 @@
+<?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>de.juplo.demos</groupId>
+               <artifactId>pact</artifactId>
+               <version>1.0.0</version>
+       </parent>
+       <groupId>de.juplo.demos</groupId>
+       <artifactId>pwreset</artifactId>
+       <version>1.0.0</version>
+       <name>consumer</name>
+       <description>Password-Reset Service</description>
+       <dependencies>
+               <dependency>
+                       <groupId>org.springframework.boot</groupId>
+                       <artifactId>spring-boot-starter-web</artifactId>
+               </dependency>
+
+               <dependency>
+                       <groupId>org.projectlombok</groupId>
+                       <artifactId>lombok</artifactId>
+                       <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>
+                               <configuration>
+                                       <excludes>
+                                               <exclude>
+                                                       <groupId>org.projectlombok</groupId>
+                                                       <artifactId>lombok</artifactId>
+                                               </exclude>
+                                       </excludes>
+                               </configuration>
+                       </plugin>
+               </plugins>
+       </build>
+
+</project>
diff --git a/pwreset/src/main/java/de/juplo/demos/pwreset/PWResetApplication.java b/pwreset/src/main/java/de/juplo/demos/pwreset/PWResetApplication.java
new file mode 100644 (file)
index 0000000..779a098
--- /dev/null
@@ -0,0 +1,14 @@
+package de.juplo.demos.pwreset;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+
+@SpringBootApplication
+public class PWResetApplication
+{
+
+       public static void main(String[] args) {
+               SpringApplication.run(PWResetApplication.class, args);
+       }
+
+}
diff --git a/pwreset/src/main/resources/application.properties b/pwreset/src/main/resources/application.properties
new file mode 100644 (file)
index 0000000..8b13789
--- /dev/null
@@ -0,0 +1 @@
+
diff --git a/pwreset/src/test/java/de/juplo/demos/pwreset/PWResetApplicationTests.java b/pwreset/src/test/java/de/juplo/demos/pwreset/PWResetApplicationTests.java
new file mode 100644 (file)
index 0000000..4e80f8a
--- /dev/null
@@ -0,0 +1,14 @@
+package de.juplo.demos.pwreset;
+
+import org.junit.jupiter.api.Test;
+import org.springframework.boot.test.context.SpringBootTest;
+
+@SpringBootTest
+class PWResetApplicationTests
+{
+
+       @Test
+       void contextLoads() {
+       }
+
+}