Every time I start new Spring Boot project using Spring Tool Suite Spring Starter Project
I can add dependencies using GUI like on the screenshot below.
It's very convenient to choose dependencies in GUI. But sometimes I forget to add some dependencies and have to add them to pom.xml
manually.
Is it possible to add new dependencies using GUI the same way like during Spring Starter Project
configuration after project creation?
Right-click the consuming project, and select Maven>Add Dependency. In the Enter groupId… field, type com. mycompany or the group ID you entered when you created the utility project.
Yes, you can. Right click on the pom of the generated project and choose Spring -> Edit Starters from the context-menu. It opens up the same dialog and lets you add additional dependencies.
Yes, you can. Right click on the pom of the generated project and choose Spring -> Edit Starters
from the context-menu. It opens up the same dialog and lets you add additional dependencies.
You just need to take care of the correct Spring Boot version yourself, it isn't set automatically to the version that you chose when you created the project. It doesn't cause any huge trouble if you choose the wrong version, but spring starter modules might show up that aren't compatible with your project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With