Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove unwanted projects from STS Boot Dashboard

I'm using Eclipse STS 3.8.1

Is there anyway to remove apps from the Boot Dashboard?

Reason for asking (Similar to my real world application/s):
I have multiple Spring Boot applications, some of which use a shared library. In this library I have some common configuration: Eg: Setup RestTemplate/s with Ribbon (@LoadBalancer)...

On order to have access to the @Configuration and @Bean annotations I include the below dependancy into my libraries pom:

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
<version>1.4.0.RELEASE</version>
</dependency>

The problem is now my library is displayed in the Boot Dashboard with my applications even though it is not a Boot Application.

This is rather annoying as it clutters the dashboard, how can I remove this?


Just to expand on my above example:
I'm using a multi-module maven project with multiple applications and libs under the same parent.

like image 606
NeilA Avatar asked Sep 14 '16 19:09

NeilA


People also ask

Where is boot dashboard in STS?

Working with Local Apps. The Spring Boot Dashboard comes as an additional view in STS/Eclipse. It is opened automatically in the Java perspective. You can also open it by pressing the Spring Boot button in your main toolbar.

What is Boot dashboard?

The Spring Boot Dashboard helps you to deal with potentially many Spring Boot apps in your workspace. It allows you to filter them, start or even restart multiple apps in parallel, or easily jump to the right console view for a running app.

How do you open a Spring Tool Suite dashboard?

You can open the Spring Boot Dashboard via the Spring Boot button in your main Eclipse toolbar. It opens up a new view in your STS/Eclipse. If you have projects in your workspace that use Spring Boot, you will see them showing up in the boot dashboard automatically.


1 Answers

Go to the Preferences -> Spring -> Boot and configure the projects to be excluded from the boot dashboard by default. Just put the name of the project in that text field.

like image 99
Martin Lippert Avatar answered Sep 24 '22 15:09

Martin Lippert