• Stars
    star
    3,409
  • Rank 13,053 (Top 0.3 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created over 11 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A quickstart generator for Spring projects

Spring Initializr Build Status initializr

Spring Initializr provides an extensible API to generate JVM-based projects with implementations for several common concepts:

  • Basic language generation for Java, Kotlin and Groovy.

  • Build system abstraction with implementations for Apache Maven and Gradle.

  • .gitignore support.

  • Several hook-points for custom resources generations.

The various options for the projects are expressed in a metadata model that allows you to configure the list of dependencies, supported JVM and platform versions, etc.

Spring Initializr also exposes web endpoints to generate an actual project and also serve its metadata in a well-known format to allow third-party clients to provide the necessary assistance.

A set of optional conventions for Spring Boot projects is provided and are used in our production instance at https://start.spring.io. To better understand how our service is configured, you may want to check the companion project and, in particular, the configuration of our instance. Such configuration is also described in details in the documentation.

Note
While Spring Initializr is available on Maven Central, it is still in a pre 1.0 state and major refactoring are still possible. Check the milestones page for an overview of the changes.

Installation and Getting Started

The reference documentation is available in HTML format.

Modules

Spring Initializr has the following modules:

  • initializr-actuator: optional module to provide additional information and statistics on project generation.

  • initializr-bom: provides a Bill of Materials for easier dependency management in your project.

  • initializr-docs: documentation.

  • initializr-generator: core project generation library.

  • initializr-generator-spring: optional module defining the conventions for a typical Spring Boot project. Can be reused or replaced by your own conventions.

  • initializr-generator-test: test infrastructure for project generation.

  • initializr-metadata: metadata infrastructure for various aspects of the project.

  • initializr-service-sample: showcases a basic custom instance.

  • initializr-version-resolver: optional module to extract version numbers from an arbitrary POM.

  • initializr-web: web endpoints for third party clients.

Supported interfaces

Spring Initializr can be used as follows:

There are other command-line integrations out there and you can also build your own!

Running your own instance

You can easily run your own instance. The initializr-web modules uses Spring Boot so when it is added to a project, it will trigger the necessary auto-configuration to deploy the service.

The initializr-service-sample showcases a basic custom instance with dedicated metadata.

Building from Source

You need Java 17 and a bash-like shell.

Building

Invoke the build at the root of the project:

$ ./mvnw clean install

To generate the docs as well, you should enable the full profile:

$ ./mvnw clean install -Pfull

License

Spring Initializr is Open Source software released under the Apache 2.0 license.

More Repositories

1

start.spring.io

https://start.spring.io
Java
2,182
star
2

spring-javaformat

Java
789
star
3

nohttp

A project for ensuring that https is used
Java
222
star
4

github-changelog-generator

Generates release notes that can be published to GitHub
Java
106
star
5

spring-asciidoctor-backends

A backend for Asciidoctor used to produce Spring styled HTML
Java
77
star
6

spring-asciidoctor-extensions

Asciidoctor Extensions developed by the Spring team
Java
45
star
7

spring-doc-resources

Asciidoctor theme for Spring reference documentations
SCSS
40
star
8

dataflow.spring.io

Microsite for Spring Cloud Data Flow
JavaScript
39
star
9

spring-calendar

Java
29
star
10

concourse-java-scripts

Shell
19
star
11

artifactory-resource

Java
18
star
12

antora-ui-spring

CSS
14
star
13

issue-bot

Java
12
star
14

pivotal-cla

Java
10
star
15

develocity-conventions

Java
8
star
16

antora-extensions

Antora extensions developed for the Spring docs.
JavaScript
7
star
17

backport-bot

GitHub Action used to help manage backports
Kotlin
7
star
18

spring-antora-maven-plugins

Antora support for Maven based projects
Java
6
star
19

slackboot

Slack bot names "slackboot" that helps manage guides, etc. from Slack
Java
6
star
20

spring-github-workflows

GitHub Actions Workflows for Spring Projects
6
star
21

homebrew-tap

A brew tap repository for formulae published by spring.io
Ruby
4
star
22

concourse-release-scripts

Promotes and distributes build artifacts using the Artifactory and Bintray APIs
Java
3
star
23

autoln

HTML
3
star
24

spring-io-static

static resources for our CDN
2
star
25

spring-security-release-tools

Libraries and plugins for managing automated releases of Spring projects.
Java
2
star
26

asciidoctor-extensions

Asciidoctor extensions (currently Asciidoctor.js only) developed for the Spring docs.
JavaScript
1
star
27

projects-api

Java
1
star
28

spring-generated-docs

Contains generated materials for Spring Security Antora docs
1
star
29

spring-gradle-build-action

Reusable GitHub Action for performing a gradle build or running a gradle task.
Shell
1
star
30

cve-2022-22976-bcrypt-skips-salt

Java
1
star
31

google-chat-notify-resource

Java
1
star
32

spring-io.github.io

1
star
33

antora-xref-extension

JavaScript
1
star
34

nexus-sync-action

TypeScript
1
star