Commit Graph
105 Commits
Author SHA1 Message Date
Stephane Nicoll f109114c0e Do not fetch latest Spring Boot versions from spring.io by default
Closes gh-1082
2020-06-19 16:08:18 +02:00
Stephane Nicoll b3f5ca9aab Document version format support
See gh-1092
2020-06-03 14:32:41 +02:00
Stephane Nicoll 41f844a3ad Serve version format that is backward compatible
This commit makes sure the metadata format uses a backward compatible
version format even if the new format is used. It also introduces a
new metadata version (2.2) that can be used by clients that support the
new version format.

See gh-1092
2020-06-03 14:32:41 +02:00
Stephane Nicoll 0909cdec03 Polish "Fix sample code on how to add plugin conditionally"
See gh-1068
2020-03-17 08:19:13 +01:00
Leonardo 7467939745 Fix sample code on how to add plugin conditionally
See gh-1068
2020-03-17 08:18:55 +01:00
Stephane Nicoll 835f69986c Polish "Add dependency classifier support"
See gh-1049
2020-03-17 05:57:43 +01:00
Stephane Nicoll 4be0e94954 Rename section that uses a well-known name
This commit renames a section named "Content" as Asciidoctor treats
such name in a specific way.

See gh-1044
2019-12-27 16:17:29 +01:00
Stephane Nicoll 5325e679e2 Polish "Keep track of original ProjectDescription"
See gh-1023
2019-12-27 11:09:00 +01:00
Stephane Nicoll e0f3e42094 Polish 2019-10-16 11:37:21 +02:00
Stephane Nicoll d812ca8c38 Harmonize SCM information 2019-10-05 18:32:42 +01:00
Stephane Nicoll 42976ca9f7 Polish doc 2019-10-03 11:31:08 +02:00
Stephane Nicoll f61623e053 Fix broken test setup 2019-09-27 13:04:48 +02:00
Stephane Nicoll cff60c397d Improve custom project request arrangement
This commit improves the use case of configuring a custom ProjectRequest
by enforcing consistently a particular type using a generic.

As a result, `ProjectGenerationInvoker` is no longer exposed as a bean
as it is the responsibility of the custom `ProjectGenerationController`
to provide one that matches the requested `ProjectRequest` type.

See gh-990
2019-08-29 10:52:02 +02:00
Stephane Nicoll f74370eb63 Allow binding of custom ProjectRequest
This commit allows a custom instance to easily bind incoming request
attributes to a custom ProjectRequest instance and map it to a custom
ProjectDescription as well.

Closes gh-990
2019-08-27 09:48:47 +02:00
Stephane Nicoll 286e38888c Migrate ProjectDescription to an interface
This commit migrates ProjectDescription to an interface with read-only
accessors and create a MutableProjectDescription implementation that can
be used for both purposes.

As a result, the type separation between ResolvedProjectDescription and
ProjectDescription is no longer necessary.

Closes gh-993
2019-08-25 03:03:57 +02:00
Stephane Nicoll ddd609c639 Move assert to AssertJ
This commit moves project-based assertions to regular AssertJ Assert
classes. `ProjectStructure` is now an assert provider so that it can
be used with the standard `assertThat` method.

Specialized assertions are provided for the supported build systems as
well as text-based content.

Closes gh-764
2019-08-22 15:24:28 +02:00
Stephane Nicoll 1082ac7bf7 Extract project generation test utility to dedicated module
This commit extracts various test utilities to a dedicated
initializr-generator-test module for easier consumption. The previous
test-jar are no longer published and a dependency to this new module
should be equivalent.

This commit also cleans various resources that were located in the wrong
place. In particular initializr-generator does not know anything about
metadata anymore.

Closes gh-988
2019-08-21 16:10:06 +02:00
Stephane Nicoll dee5467bd1 http -> https 2019-08-18 14:07:02 +02:00
Stephane Nicoll 82e637e861 Polish 2019-08-18 08:46:20 +02:00
Stephane Nicoll 14efb35afe Add note about BOM 2019-08-18 08:44:29 +02:00
Stephane Nicoll ff6e26463b Add Bill Of Materials
Closes gh-981
2019-08-15 07:53:46 +02:00
Stephane Nicoll 4976ba57de Fix javadoc configuration
This commit makes sure that the `initializr-metadata` module is included
and doc-related examples are not.

Closes gh-982
2019-08-14 15:25:37 +02:00
Stephane Nicoll 9c30905003 Simplify KotlinVersionResolver arrangement
This commit makes sure KotlinVersionResolver works with the actual
metadata instance used by the project to generate rather than
potentially using a different instance via the provider.

Rather than requiring such a bean to be present, the configuration
fallbacks to the metadata implementation if none is provided.
2019-08-14 14:45:24 +02:00
Stephane Nicoll 536e1830e7 Polish "Rename versionRange attribute to compatibilityRange"
See gh-968
2019-08-09 11:34:02 +02:00
Stephane Nicoll aaf44d1ec8 Polish documentation 2019-08-07 18:32:21 +02:00
Madhura Bhave 8e0f02887d Use Spring Initializr consistently in docs
Closes gh-970
2019-08-02 15:43:32 -07:00
Madhura Bhave 684258743f Polish documentation sections 2019-07-17 14:34:45 -07:00
Madhura Bhave 8d2b123658 Document parent pom customization feature
Closes gh-786
2019-07-17 14:05:02 -07:00
Stephane Nicoll a55d262152 Document supported facets 2019-07-17 09:10:44 +02:00
Madhura Bhave db3be257e9 Document how to update text capabilities defaults
Closes gh-857
2019-07-16 15:43:24 -07:00
Madhura Bhave 70ae145694 Update docs according to new API
This commit also updates the docs to reflect
changes to the project structure where initializr-web
no longer has a UI.

Closes gh-846
Closes gh-953
2019-07-16 11:40:05 -07:00
Madhura Bhave 218fc20d73 Polish 2019-07-11 15:39:47 -07:00
Stephane Nicoll 449b22403a Upgrade to spring-javaformat 0.0.15
Closes gh-949
2019-07-10 14:57:35 +02:00
Andy Wilkinson deed4863fb Adopt Spring Java Format's JUnit 5 check
Closes gh-941
2019-07-04 09:57:35 +01:00
Andy Wilkinson 8aabfc10d5 Fix initializr-docs' tests
See gh-926
2019-06-27 17:00:10 +01:00
Stephane Nicoll 2f50cf1c8f Format source code
Closes gh-923
2019-06-12 14:46:53 +02:00
Madhura Bhave bac79bbbfd Polish 2019-05-20 16:03:36 -07:00
Stephane Nicoll 7900a09ce6 Fix doc sample to use HTTPS explicitly 2019-05-20 08:52:08 +02:00
Stephane Nicoll e3c5d1eb53 Generate javadoc API 2019-04-11 08:21:10 +02:00
Stephane Nicoll b636045057 Polish 2019-04-11 07:48:04 +02:00
Stephane Nicoll 83436ae2ef Fix unresolved reference in generated documentation 2019-04-04 09:44:05 +02:00
Stephane Nicoll 910fddaaa7 Upgrade to spring-javaformat 0.0.9
Closes gh-882
2019-04-03 12:26:24 +02:00
Stephane Nicoll 357313c7bf Upgrade to spring-javaformat 0.0.7
This commit upgrades to spring-javaformat 0.0.7 and checkstyle 8.18.
2019-03-20 17:34:50 +01:00
Stephane Nicoll c3cb0da738 Adapt user guide doc to the new UI 2019-03-19 20:00:58 +00:00
Stephane Nicoll 9050056f24 Polish modules description 2019-03-17 11:34:04 +01:00
Stephane Nicoll b80e3570d8 Switch initializr-generator-spring to test dependency where applicable
Closes gh-871
2019-03-17 11:26:29 +01:00
Stephane Nicoll 2746a3a6e7 Remove release repository 2019-02-19 14:32:00 +01:00
Stephane Nicoll 08c785b952 Use build tag to infer the build system
Stop using the type's prefix to infer the build system to use as the
build tag in the metadata is supposed to provide that information.

See gh-817
2019-02-11 14:37:35 +01:00
Stephane Nicoll de15e826b8 Improve configuration guide 2019-02-11 12:31:27 +01:00
Stephane Nicoll 0ed3bdddaa Add basic section about new generator API 2019-02-11 12:23:12 +01:00