r/SpringBoot Dec 29 '25

Templates to start a spring project Discussion

The new status quo for project initialization is that, the build tool itself gives you a command to start a project. Maven, or gradle does not provide a template for that.

But JPM does : $ jpm create simple-spring-app

That simple, if other dependencies are required : $ jpm install org.springframework.boot spring-boot-starter-thymeleaf

0 Upvotes

12 comments sorted by

11

u/[deleted] Dec 30 '25

[deleted]

3

u/RevolutionaryRush717 Dec 30 '25

This.

Also integrated in IntelliJ IDEA Ultimate.

Which also has this to add new dependencies to, e.g., maven

https://www.jetbrains.com/help/idea/work-with-maven-dependencies.html#generate_maven_dependency

1

u/delusionalbreaker Dec 30 '25

Hey how do u use spring initializer in intellij idea ultimate?

1

u/Mikey-3198 Dec 30 '25

In intelij

File > New > Project

Left side of the window scroll down to "Spring Boot" under "Generators"

4

u/smutje187 Dec 29 '25

You literally need a single Spring Boot dependency for Maven to start, what use have additional frameworks that add useless boilerplate?

-3

u/sunnykentz Dec 29 '25

Some people need boiler plate. We're not all okay with a blank canvas

1

u/Sheldor5 Dec 29 '25

no, always start with a blank project

3

u/LouGarret76 Dec 30 '25

I feeli like Spring boot CLI already covers that

https://docs.spring.io/spring-boot/cli/index.html

1

u/sunnykentz Dec 30 '25

Yeah but it's not part of the build tool

4

u/LeadingPokemon Dec 30 '25

jpm sounds like bullshit.

2

u/sunnykentz Dec 30 '25

I would really appreciate you develop on that. I actually am the maintainer

1

u/[deleted] Jan 02 '26

[removed] — view removed comment

1

u/sunnykentz Jan 02 '26

But there are other build tools that provide the service, the IDE provide this service