spring-projects / spring-projects/spring-tools

Improve diff dialog to move a specific starter dependency

Open
#1,099 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

for: eclipse status: needs-discussion theme: getting-started type: enhancement
Dominant language
Java
Stars
983
Forks
240
Avg merge
7d 1h
Merged PRs (30d)
7

Description

For a Spring Boot project created through https://start.spring.io, with some starter dependencies and based with Maven .

And of course, imported into the IDE:

  • File -> Import -> Maven - > Existing Maven Projects

And taking then the scenario when later is need it to add another starter dependencies, therefore is possible do:

  • Select the pom.xml file -> Right Click -> Spring -> Add Starters

The current situation and reason of this post

  • Is not possible define a custom location of the new starter - it either prior or after - to be added in the pom.xml.

For example between 2 specific starters or either at the top or bottom of the pom.xml file. The current approach is do the updates and later open manually the pom.xml and apply the custom locations

Thanks for your understanding

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Spring Add Starters action on a pom.xml in an imported Maven project and inspect the diff dialog flow. Done means a user can choose where a newly added starter dependency is placed, including between specific starters, at the top, or at the bottom of pom.xml.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring-boot
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.