Commit Graph

202 Commits

Author SHA1 Message Date
Stephane Nicoll
6ccfb69692 Promote version infrastructure to dedicated package
This commit moves `Version` and related support classes to a dedicated
package

Closes gh-811
2019-02-08 09:50:34 +01:00
Madhura Bhave
e281480426 Switch project structure to use the new generator
This commit removes the former `ProjectGenerator` api based on mustache
template in favour of a new DSL infrastructure to be detailed in further
commits.

Event handling is now web-specific with a `ProjectRequest` and a
`WebProjectRequest` that gathers the base input from the request and
some additional web-specific metadata, respectively. As a consequence
the `initializr-actuator` module has now a dependency on the
`initializr-web` module.

See gh-340

Co-authored-by: Stephane Nicoll <snicoll@pivotal.io>
2019-02-08 09:50:26 +01:00
Stephane Nicoll
0628829cd3 Upgrade to JUnit Jupiter 5.4.0-RC2 2019-02-07 10:53:31 +01:00
Madhura Bhave
1bd84fe0ce Use metadata used for project generation for stats
Closes gh-810
2019-02-06 11:39:05 -08:00
Stephane Nicoll
8a0d413a06 Clean build assertions 2019-02-05 16:36:56 +01:00
Stephane Nicoll
73415ea21d Remove Jackson dependency on Version infrastructure
Closes gh-808
2019-02-05 10:41:16 +01:00
Stephane Nicoll
ce2d210d75 Move CommandLineHelpGenerator to initializr-web
Closes gh-807
2019-02-04 17:21:12 +01:00
Stephane Nicoll
f5395c07e1 Split metadata specific exception from InitializrException 2019-01-31 11:14:18 +01:00
Stephane Nicoll
fab532ebd4 Upgrade to JUnit 5.4.0-RC1 2019-01-31 11:06:54 +01:00
Madhura Bhave
79dc5956d5 Fix POMS for the updated release process 2019-01-30 08:24:06 -08:00
Stephane Nicoll
662c0b1e15 Remove reference to InitializrMetadataTestBuilder from metadata tests
This will ease the migration of the metadata to its own module
2019-01-30 14:33:41 +01:00
Rob Tompkins
96540f5bcd Upgrade generator to Maven 3.6.0
Closes gh-794
2019-01-29 15:30:48 +01:00
Stephane Nicoll
2b6ab498cf Polish migration to JUnit5
See gh-802
2019-01-28 14:38:54 +01:00
Madhura Bhave
8ec763e0ba Polish 2019-01-24 10:08:30 -08:00
Madhura Bhave
2816c21631 Migrate generator tests to JUnit5
Closes gh-802
2019-01-24 10:04:00 -08:00
Stephane Nicoll
4810d8aac2 Harmonize .gitignore generation 2019-01-22 20:54:19 +01:00
Stephane Nicoll
1fcf48e2fa Skip providedRuntime configuration block with war projects
Closes gh-796
2019-01-10 14:57:10 +01:00
Stephane Nicoll
e34720a35a Remove hard-coded reference to Eclipse plugin
Closes gh-795
2019-01-09 15:36:00 +01:00
Madhura Bhave
29a8e9b32c Remove redundant assertion 2019-01-09 15:21:59 +01:00
Madhura Bhave
52599b0600 Move Kotlin task customization to the bottom 2019-01-09 15:18:23 +01:00
Madhura Bhave
ed5d5398ad Remove unnecessary whitespace 2019-01-09 15:18:23 +01:00
Madhura Bhave
19301ed6ff Use single quotes where string interpolation not required 2019-01-09 14:57:27 +01:00
Madhura Bhave
395567ca1d Remove surrounding brackets for gradle dependencies
Closes gh-797
2019-01-09 14:57:18 +01:00
Stephane Nicoll
b17da2489c Polish 2019-01-08 09:32:41 +01:00
Madhura Bhave
3ceb608f87 Add a gradle assertion for build properties
See gh-781
2019-01-07 13:14:55 -08:00
Madhura Bhave
3982ceceeb Group build properties under ext
Closes gh-781
2019-01-07 12:43:51 -08:00
Stephane Nicoll
e23132747b Surround sourceCompatibility with single quotes
Closes gh-791
2019-01-05 10:13:06 +01:00
wonwoo
a515a49a68 Update examples to mention Java 11
Closes gh-787
2019-01-01 11:00:57 +01:00
Stephane Nicoll
af39236360 Harmonize Groovy code format
Closes gh-785
2018-12-13 13:42:11 +01:00
Stephane Nicoll
3868019f87 Simply repository definition with Maven
Closes gh-782
2018-12-12 11:25:13 +01:00
Stephane Nicoll
8e6b5e9cf5 Remove default packaging from generated pom
Closes gh-780
2018-12-11 10:25:05 +01:00
Stephane Nicoll
c3079c5609 Polish 2018-12-11 09:54:24 +01:00
Stephane Nicoll
87b6a320fc Polish Kotlin code format 2018-12-10 15:09:45 +01:00
Stephane Nicoll
fc7cc42d62 Polish code format 2018-12-10 15:02:22 +01:00
Stephane Nicoll
742db270d8 Stop registering java.version as a VersionProperty 2018-12-06 14:08:45 +01:00
Stephane Nicoll
bba9eb7a33 Polish generated pom
This commit removes two useless properties that are already contributed
by `spring-boot-starter-parent`.
2018-12-06 13:49:09 +01:00
Stephane Nicoll
4a75ad6b21 Polish Maven pom structure 2018-12-05 16:36:40 +01:00
Stephane Nicoll
185e18cd5e Prevent project prior to Spring Boot 1.5 to be generated
See gh-763
2018-11-29 10:35:06 +01:00
Stephane Nicoll
f5d440506e Simplify project generation version checks
This commit simplifies project generation by only checking for supported
Spring Boot version (i.e. 1.5 and later) and therefore removing any
logic that is specified to a non supported version.

Concretely, initializr is no longer able to generate a project for a
Spring Boot version prior to 1.5

Closes gh-763
2018-11-29 10:16:50 +01:00
Stephane Nicoll
dbd865a526 Adapt test suite to more recent Spring Boot versions
See gh-763
2018-11-29 10:16:50 +01:00
Stephane Nicoll
da1655d183 Adapt test suite to more recent Spring Boot versions
See gh-763
2018-11-29 10:16:40 +01:00
Stephane Nicoll
2a7b8f782d Upgrade to Gradle 4.10.2
Closes gh-779
2018-11-28 14:14:09 +01:00
Stephane Nicoll
c96991382a Simplify Gradle support
Remove support for Gradle 2 and simplify script generation by only
supporting the recommended structure as of Gradle 3.4

Closes gh-778
2018-11-28 13:56:49 +01:00
Stephane Nicoll
9c5dfb34e9 Fix version format for Gradle versions
Closes gh-777
2018-11-27 17:57:36 +01:00
Stephane Nicoll
d5b616cdb2 Fix duplication of dependencies with alias
This commit fixes `getAllDependencies()` to stop returning duplicates
when a dependency declares an alias.

Closes gh-772
2018-11-20 17:54:05 +01:00
Stephane Nicoll
41f37027c6 Review jpa facet support
Closes gh-762
2018-11-05 17:47:48 +01:00
Andy Wilkinson
b009101aa6 Upgrade to Maven Wrapper 0.4.2
Closes gh-746
2018-10-31 11:04:30 +00:00
Paul Balogh
2d2ffe4013 Fix deprecated Gradle dependency configuration
See gh-730
2018-09-28 15:36:21 -04:00
Stephane Nicoll
c035244181 Polish "Enable kotlin jpa plugin if necessary"
Closes gh-728
2018-09-28 15:30:58 -04:00
Rui Figueira
5f79f9a0fe Enable kotlin jpa plugin if necessary
This commit add the jpa kotlin plugin in the generated project when a
dependencies has the jpa facet.

See gh-728
2018-09-28 15:23:59 -04:00