question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow specifying a custom parent pom

See original GitHub issue

As mentioned in the docs there are times when you don’t want to use the spring boot parent pom.

For our internal use, we have a different parent pom we use - it would be very nice if we could pass in the parent pom group / artifact / version as some form of advanced parameter and then get it to generate the pom with the <artifactId>spring-boot-dependencies</artifactId> in the dependencyManagement section and a <spring-boot.version> property in the properties section that could be used to override things that were set in the parent pom…

We are going to do this on our fork of the initializr - would this be something that would be valuable if we did it and submitted a pull request for it?

I think we’d have to do some additional work to the UI to put a checkbox for the “use custom parent” that would then display the fields for the group / artifact / version for the custom parent pom (and would only show up if they are selecting the “maven” project type)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
snicollcommented, Apr 27, 2016

While I understand why you’d need that kind of thing, I am not keen on adding such level of customization in the UI. Having said that, a PR that allows to configure this on a particular instance would be nice.

0reactions
jasonrberkcommented, Oct 5, 2017

yes, I misunderstood what “instance” referred to. Thanks for replying

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spring Boot - parent pom when you already have a parent pom
@DaveSyer Please clarify: 1: When I have my custom project-parent I could add spring-boot-starter-parent to this project-parent - is it ok? Do I ......
Read more >
Spring Boot Dependency Management with a Custom Parent
In this quick tutorial, we're going to take a look at how we can still use Boot without the parent starter.
Read more >
Spring Boot Dependency Management with a Custom Parent
While working on enterprise application, you may need to use the organizational parent pom (enterprise/ company wide common parent). Let's ...
Read more >
Introduction to the POM - Apache Maven
This section allows us to specify which artifact is the parent of our POM. ... is only specified once, Maven allows you to...
Read more >
Maven users can inherit from the spring-boot-starter-parent ...
A Dependency Management section, allowing you to omit <version> tags for common dependencies, inherited from the spring-boot-dependencies POM. Sensible resource ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found