supercommit
This commit is contained in:
parent
e199dd2ce4
commit
d144aba823
17
pom.xml
17
pom.xml
@ -35,6 +35,23 @@
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>repackage</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<classifier>spring-boot</classifier>
|
||||
<mainClass>
|
||||
com.example.demo.DemoApplication
|
||||
</mainClass>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
13
src/main/java/com/example/demo/DemoRestController.java
Normal file
13
src/main/java/com/example/demo/DemoRestController.java
Normal file
@ -0,0 +1,13 @@
|
||||
package com.example.demo;
|
||||
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
public class DemoRestController {
|
||||
|
||||
@GetMapping("/")
|
||||
public String get() {
|
||||
return "Hallo";
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user