Commit Graph

1503 Commits

Author SHA1 Message Date
Stephane Nicoll
c7093c6b51 Polish "Adding field declaration for code generation"
See gh-881
2019-07-25 16:34:57 +02:00
Matt Berteaux
e7d5f8ffaf Adding field declaration for code generation
See gh-881
2019-07-25 13:54:02 +02:00
Stephane Nicoll
d8a5be76f5 Merge pull request #964 from tgeens
* pr/964:
  Polish "Clean root resource path if necessary"
  Clean root resource path if necessary

Closes gh-964
2019-07-25 13:47:02 +02:00
Stephane Nicoll
7800d50551 Polish "Clean root resource path if necessary"
See gh-964
2019-07-25 13:46:54 +02:00
Toon Geens
52872f9a72 Clean root resource path if necessary
See gh-964
2019-07-25 13:46:54 +02:00
Stephane Nicoll
7a1b986f2a Merge pull request #960 from htztomic
* pr/960:
  Polish "Do not add snapshot repo unless absolutely necessary"
  Do not add snapshot repo unless absolutely necessary

Closes gh-960
2019-07-25 12:31:27 +02:00
Stephane Nicoll
a92c791c32 Polish "Do not add snapshot repo unless absolutely necessary"
See gh-960
2019-07-25 12:20:15 +02:00
HaiTao Zhang
c54ec295bf Do not add snapshot repo unless absolutely necessary
See gh-960
2019-07-25 11:53:16 +02:00
Stephane Nicoll
e0dfac1a77 Merge pull request #880 from roussi
* pr/880:
  Polish "Write Gradle plugin repositories section only if necessary"
  Write Gradle plugin repositories section only if necessary

Closes gh-880
2019-07-25 11:39:28 +02:00
Stephane Nicoll
7b18b15a5a Polish "Write Gradle plugin repositories section only if necessary"
See gh-880
2019-07-25 11:39:10 +02:00
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