Skip to content

Commit b69f600

Browse files
committed
plugin cleaning
1 parent 609393a commit b69f600

File tree

2 files changed

+3
-22
lines changed

2 files changed

+3
-22
lines changed
Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,13 @@
11
package dev.marco.example.springboot;
22

3-
import java.util.Arrays;
4-
5-
import org.springframework.boot.CommandLineRunner;
63
import org.springframework.boot.SpringApplication;
74
import org.springframework.boot.autoconfigure.SpringBootApplication;
8-
import org.springframework.context.ApplicationContext;
9-
import org.springframework.context.annotation.Bean;
5+
106

117
@SpringBootApplication
128
public class Application {
139

1410
public static void main(String[] args) {
15-
SpringApplication.run(Application.class, args);
16-
}
17-
18-
@Bean
19-
public CommandLineRunner commandLineRunner(ApplicationContext ctx) {
20-
return args -> {
21-
22-
System.out.println("Let's inspect the beans provided by Spring Boot:");
23-
24-
String[] beanNames = ctx.getBeanDefinitionNames();
25-
Arrays.sort(beanNames);
26-
for (String beanName : beanNames) {
27-
System.out.println(beanName);
28-
}
29-
30-
};
11+
SpringApplication.run(Application.class);
3112
}
32-
3313
}

frontend/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@
8181

8282
<resources>
8383
<resource>
84+
<!-- we copy the content of the frontend directory in the final artifact -->
8485
<directory>dist/frontend</directory>
8586
</resource>
8687
</resources>

0 commit comments

Comments
 (0)