GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — plugin cleaning · Amadeu2018/java-angular-basic@b69f600

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • backend/src/main/java/dev/marco/example/springboot
    • Application.java
  • frontend
    • pom.xml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎backend/src/main/java/dev/marco/example/springboot/Application.java‎

Copy file name to clipboard
+2-22Lines 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
}
Collapse file

‎frontend/pom.xml‎

Copy file name to clipboardExpand all lines: frontend/pom.xml
+1Lines 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 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.