spring-bootspring-initializr

Spring Initializr Custom Instance


I would like to fork the Spring Initializr from GitHub and add my own nexus repo and common dependencies we use.

Forking and modifying the code is no issue. I do have a few questions: 1. How can I tell the Spring Boot CLI to use my custom initializr? 2. How can I tell Spring Tool Suite to use my custom initializr?


Solution

  • In the CLI you add the --target parameter:

    spring init --target http://your.service.url
    

    In Spring Tool Suite it seems it's not possible.