Commit Graph
1493 Commits
Author SHA1 Message Date
abdelghani.roussi afd96dcdf5 Write Gradle plugin repositories section only if necessary
See gh-880
2019-07-25 11:38:19 +02:00
Stephane Nicoll 18b537b65f Infer default link name when appropriate
This commit improves the HELP.md customizer for links to add a link even
if it does not have a description. Links are defined in three dedicated
areas so it is possible to infer a sensible name if only one link of a
certain type is present.

Closes gh-962
2019-07-23 17:45:02 +02: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 7cfb0c23e9 Add jackson-module-kotlin when json facet and kotlin is in use
Closes gh-957
2019-07-16 13:23:52 -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
Stephane Nicoll fd75d36e20 Polish 2019-07-16 14:52:58 +02:00
Andy Wilkinson 7cb3462d1b Add support for mapping a dependency's starter setting
Closes gh-955
2019-07-14 08:45:10 +01:00
Madhura Bhave dd43fb5fae Update ProjectGenerationStatPublisherTests to use actual timestamp
Instead of checking that the timestamp was between 2 seconds ago and now,
we can get the actual timestamp from the event and assert on that.

Closes gh-954
2019-07-12 11:58:09 -07:00
Madhura Bhave 218fc20d73 Polish 2019-07-11 15:39:47 -07:00
Andy Wilkinson 45536e51a9 Fix setting file permissions on Windows
See gh-951
2019-07-11 15:58:22 +01:00
Andy Wilkinson b769c8d6a0 Migrate from Ant to Commons Compress
Closes gh-951
2019-07-11 15:34:33 +01:00
Andy Wilkinson aad9ce07d7 Broaden usage of Path in place of File
Closes gh-950
2019-07-11 15:34:22 +01:00
Stephane Nicoll 449b22403a Upgrade to spring-javaformat 0.0.15
Closes gh-949
2019-07-10 14:57:35 +02:00
Stephane Nicoll 6af13f6dde Merge pull request #948 from rodrigolgraciano
* pr/948:
  Fix error message when a version could not be parsed

Closes gh-948
2019-07-10 08:45:28 +02:00
Rodrigo Graciano c5bc699459 Fix error message when a version could not be parsed
See gh-948
2019-07-10 08:44:36 +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 66e871f2c9 Merge pull request #939 from wonwoo
* gh-939:
  Reduce visibility of test class and its methods

Closes gh-939
2019-07-04 09:57:21 +01:00
wonwoo bcc11c80d5 Reduce visibility of test class and its methods
See gh-939
2019-07-04 09:57:17 +01:00
Madhura Bhave 9df2d29462 Merge pull request #933 from htztomic
* pr/933:
  Ensure executable bit is set on wrapper when baseDir has space

Closes gh-933
2019-07-03 17:18:58 -07:00
HaiTao Zhang 66ea0cb66b Ensure executable bit is set on wrapper when baseDir has space
See gh-933
2019-07-03 17:18:17 -07:00
Madhura Bhave 5a411c67eb Install unzip in CI image 2019-07-02 20:47:00 -07:00
Madhura Bhave 974d36b077 Merge pull request #937 from htztomic
* pr/937:
  Refactor support for testing executable files

Closes gh-937
2019-07-02 14:25:56 -07:00
HaiTao Zhang 292e47e98b Refactor support for testing executable files
Previously, hasExecutableFile only checked if the
file exists and not if it was executable. This commit
ensures that the file exists and is executable using
ExecTask as Unzip and Untar do not preserve file permissions.

See gh-937
2019-07-02 14:25:24 -07:00
Andy Wilkinson f16971fcd3 Upgrade to spring-javaformat 0.0.14 2019-06-28 11:43:17 +01:00
Andy Wilkinson d38463c4e7 Fix references to built-in configurations with Gradle Kotlin DSL
Closes gh-917
2019-06-27 20:42:12 +01:00
Andy Wilkinson db2c867f71 Make compileOnly configuration customization Gradle 4+ specific
Closes gh-848
2019-06-27 20:02:20 +01:00
Andy Wilkinson 8aabfc10d5 Fix initializr-docs' tests
See gh-926
2019-06-27 17:00:10 +01:00
Andy Wilkinson 93975d98b9 Use a strategy for Kotlin version resolution
Closes gh-926
2019-06-27 15:12:45 +01:00
Andy Wilkinson ab8b1158fa Provide support for resolving versions from Maven boms
This commit introduces a new module, initializer-version-resolver,
that provides support for resolving versions from the dependency
management of a Maven bom. Providing with the bom's coordinates
(groupId, artifactId, and version) a map of groupId:artifactId to
version, derived from the bom's <dependencyManagement>, is returned.

Closes gh-934
2019-06-27 15:12:45 +01:00
Stephane Nicoll 1c7a73c29f Add missing test for JUnit 4 exclusion
See gh-905
2019-06-19 14:50:32 +02:00
Stephane Nicoll 6c79192e75 Polish 2019-06-19 14:47:37 +02:00
Stephane Nicoll dab8bd644a Upgrade to Spring Boot 2.1.6.RELEASE 2019-06-19 14:01:57 +02:00
Phillip Webb 916ac41253 Update CI credhub references 2019-06-18 13:54:36 -07:00
Madhura Bhave 41e3c2c8bb Merge pull request #924 HaiTao Zhang
* pr/924:
  Polish "Clean artifactId and groupId"
  Clean artifactId and groupId
2019-06-17 16:21:13 -07:00
Madhura Bhave 06286e4fe9 Polish "Clean artifactId and groupId"
Closes gh-924
2019-06-17 16:19:02 -07:00
HaiTao Zhang 10c7a4f32e Clean artifactId and groupId
Maven allows alphanumeric characters and `.`, `_`
and `-` for group id and artifact id. This commit cleans
the artifact id and group id if invalid characters are
found. For artifact id, the invalid characters are replaced
with a hyphen and for group id a dot is used. In cases where
the base directory matches the artifact id, the base directory
is also cleaned.

See gh-924
2019-06-17 16:00:57 -07:00
Stephane Nicoll 918fe40dd9 Polish 2019-06-17 15:37:06 +02:00
Madhura Bhave 4835944cd1 Set core.autocrlf to true for Windows build
See gh-865
2019-06-14 11:14:56 -07:00
Madhura Bhave 60d2365196 Fix location of java home for windows build
See gh-865
2019-06-14 10:31:17 -07:00
Stephane Nicoll 7f20525112 Merge pull request #928 from lndobryden
* pr/928:
  Polish "Fix start.spring.io example configuration link"
  Fix start.spring.io example configuration link

Closes gh-928
2019-06-14 18:08:16 +02:00
Stephane Nicoll 00345e628d Polish "Fix start.spring.io example configuration link"
See gh-928
2019-06-14 18:07:56 +02:00
Lee N Dobryden b265773f49 Fix start.spring.io example configuration link
See gh-928
2019-06-14 18:07:14 +02:00
Andy Wilkinson 372ff967a1 Make generated .gitignore more multi-module friendly
Closes gh-927
2019-06-14 14:31:22 +01:00
Stephane Nicoll 2f50cf1c8f Format source code
Closes gh-923
2019-06-12 14:46:53 +02:00
Stephane Nicoll 4132306a53 Upgrade to spring-javaformat 0.0.12
See gh-923
2019-06-12 14:46:40 +02:00
Andy Wilkinson 43b1148f64 Merge pull request #921 from OlgaMaciaszek
* gh-921:
  Polish "Allow adding <extensions>true</extensions> to plugin config"
  Allow adding <extensions>true</extensions> to plugin config

Closes gh-921
2019-06-10 14:15:40 +01:00
Andy Wilkinson 50160d4931 Polish "Allow adding <extensions>true</extensions> to plugin config"
See gh-921
2019-06-10 14:13:46 +01:00