Commit Graph
57 Commits
Author SHA1 Message Date
Andy Wilkinson 3ed1a1dd7e Configure gitignore negations more precisely
Previously we negated the exclusions for all of src/main and src/test.
This was done to prevent any content under src/main or src/test that
matched the build output directories (build/ out/, and target/) from
being ignored. While concise, this approach has proven to be overly
broad as it undoes all exclusions and not just those for the build
output directories.

This commit switches to individual negations for each of the build
output directories that we ignore. While more verbose, this narrows
the negations to match their original intent and perhaps also makes
it easier to infer that intent from the generated .gitignore file.

Closes gh-1106
2020-07-09 16:57:30 +01:00
Andy Wilkinson 42b701ab1a Make SingleSelectCapability thread-safe
Closes gh-1105
2020-06-18 17:13:21 +01:00
Andy Wilkinson ca4bd57139 Remove redundant junit-vintage-engine exclusion with Boot 2.4
Spring Boot 2.4 has switched from providing JUnit 5 in the test starter
(JUnit Jupiter and the JUnit Vintage Engine) to only providing JUnit
Jupiter. As such, the exclusion of junit-vintage-engine is no longer
required for projects that are using Spring Boot 2.4.

Closes gh-1095
2020-06-05 15:25:26 +01:00
Andy Wilkinson 7cb3462d1b Add support for mapping a dependency's starter setting
Closes gh-955
2019-07-14 08:45:10 +01: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
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
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
Andy Wilkinson 372ff967a1 Make generated .gitignore more multi-module friendly
Closes gh-927
2019-06-14 14:31:22 +01: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
Andy Wilkinson 04b2777b32 Correct Kotlin DSL syntax for adding and customizing configurations
Fixes gh-917
2019-06-06 09:51:20 +01:00
Andy Wilkinson 3409325342 Allow ext properties to have non-String values
Closes gh-893
2019-04-30 13:09:14 +01:00
Andy Wilkinson b387a77e73 Disable HTML escaping when rendering Mustache templates
Closes gh-885
2019-04-05 10:40:50 +01:00
Andy Wilkinson b91ecb61fb Add method for asserting that a pom does not have a dependency
Closes gh-842
2019-02-19 11:32:09 +00:00
Andy Wilkinson 07bf731f47 Fix assertions of dependency scope, type, and version
Closes gh-841
2019-02-19 11:18:42 +00:00
Andy Wilkinson a049d6e4fc Polish 2019-02-19 10:03:40 +00:00
Andy Wilkinson fad1d14bf0 Configure m2e to ignore Flatten plugin
Closes gh-840
2019-02-19 09:58:30 +00:00
Andy WilkinsonandStephane Nicoll 2cb1f3e647 Add packaging abstraction
Closes gh-815

Co-authored-by: Stephane Nicoll <snicoll@pivotal.io>
2019-02-08 09:50:34 +01:00
Andy WilkinsonandStephane Nicoll 3f585337da Add Maven build support
This commit provides a Maven build system implementation with a writer
that can generate `pom.xml` files based on a configurable model.

Closes gh-814

Co-authored-by: Stephane Nicoll <snicoll@pivotal.io>
2019-02-08 09:50:34 +01:00
Andy Wilkinson 2bd64ed6ed Add Gradle build support
This commit provides a Gradle build system implementation with a writer
that can generate `build.gradle` and `settings.gradle` files based on a
configurable model.

See gh-814
2019-02-08 09:50:34 +01:00
Andy WilkinsonandStephane Nicoll 1dbed8cdf8 Add build abstraction
This commit adds a build abstraction with a base model that concrete
build systems can reuse.

See gh-814

Co-authored-by: Stephane Nicoll <snicoll@pivotal.io>
2019-02-08 09:50:34 +01:00
Andy WilkinsonandStephane Nicoll d0d4809ee9 Add Java language support
This commit provides a Java language implementation with a writer that
can generate a `.java` source file based on a configurable model.

See gh-813

Co-authored-by: Stephane Nicoll <snicoll@pivotal.io>
2019-02-08 09:50:34 +01:00
Andy WilkinsonandStephane Nicoll 77bb7eb3ac Add language abstraction
This commit adds a `Language` on the JVM abstraction with well known
concepts such as `Annotation`, `Parameter`, `CompilationUnit` and
`TypeDeclaration` that concrete language implementations can reuse.

See gh-813

Co-authored-by: Stephane Nicoll <snicoll@pivotal.io>
2019-02-08 09:50:34 +01:00
Andy Wilkinson b009101aa6 Upgrade to Maven Wrapper 0.4.2
Closes gh-746
2018-10-31 11:04:30 +00:00
Andy Wilkinson 92bd67314e Merge pull request #758 from Claus Ibsen
* gh-758:
  Upgrade to Camel 2.21.3
2018-10-30 09:11:17 +00:00
Andy Wilkinson 72ad5172cb Polish 2018-09-12 16:29:35 +01:00
Andy Wilkinson f3486322d7 Merge pull request #732 from Claus Ibsen
* gh-732:
  Upgrade to Apache Camel 2.21.2 with Boot 1.5 and 2.22.1 with Boot 2
2018-09-12 16:16:36 +01:00
Andy Wilkinson 90d0e63c4b Merge pull request #733 from Dave Syer
* gh-733:
  Add support for webflux in spring-cloud-function
2018-09-12 16:12:20 +01:00
Andy Wilkinson 3a3f65e5ef Merge pull request #702 from Claus Ibsen
* gh-702:
  Enable Apache Camel when using Spring Boot 2.0
2018-07-04 09:49:05 +01:00
Andy Wilkinson d6fd7e25d1 Merge pull request #698 from Roy Clarkson
* gh-698:
  Upgrade to Spring Cloud Services 2.0.0.RELEASE
2018-07-03 09:09:25 +01:00
Andy Wilkinson bfd6bcf2e7 Merge pull request #697 from Ryan Baxter
* gh-697:
  Upgrade to Spring Cloud Edgware.SR4
2018-07-02 19:23:27 +01:00
Andy Wilkinson f3f0ecf1c7 Re-enable Vaadin with Boot 2.0 as 8.4.4 is compatible
See gh-690
2018-06-29 12:49:08 +01:00
Andy Wilkinson c2843061b7 Upgrade to Vaadin 8.4.4 with Boot 1.5 and disable with Boot 2.0
See gh-690
2018-06-29 09:48:21 +01:00
Andy Wilkinson 787550652c Revert "Use Vaadin 8.4.x with Boot 1.5 and Vaadin 10.0.x with Boot 2.0+"
This reverts commit eb3b872ab3.

Closes gh-690
2018-06-29 09:48:21 +01:00
Andy Wilkinson 1d2fba8a26 Merge pull request #693 from Mike Eltsufin
* gh-693:
  Upgrade to Spring Cloud GCP 1.0.0.RC1
2018-06-27 16:42:40 +01:00
Andy Wilkinson f9c3719f95 Merge pull request #691 from sophiaso
* gh-691:
  Upgrade to Azure Spring 0.2.4
2018-06-27 16:35:04 +01:00
Andy Wilkinson 432d1f7d00 Merge pull request #690 from Matti Tahvonen
* gh-690:
  Use Vaadin 8.4.x with Boot 1.5 and Vaadin 10.0.x with Boot 2.0+
2018-06-26 12:56:48 +01:00
Andy Wilkinson 03de721187 Merge pull request #685 from Johannes Edmeier
* gh-685:
  Upgrade to Spring Boot Admin 2.0.1
2018-06-25 12:10:35 +01:00
Andy Wilkinson 30fdac7646 Merge pull request #647 from Janne Valkealahti
* gh-647:
  Upgrade to Spring Statemachine 2.0.1
2018-04-06 14:27:02 +01:00
Andy Wilkinson 3e2ef6db10 Limit ignoring of directories in Git to the root of the repository
Closes gh-623
2018-04-06 14:15:08 +01:00
Andy Wilkinson c6ebf51a53 Use Gradle 4 for Gradle projects post Spring Boot 2.0 M3
Closes gh-472
2017-07-28 14:14:15 +01:00
Andy Wilkinson c6f502cb9c Apply the dependency management plugin in Boot 2.0 Gradle projects
Closes gh-398
2017-03-31 14:04:08 +02:00
Andy Wilkinson 8458560449 Upgrade dependency-management-plugin to 0.5.6.RELEASE 2016-02-24 14:22:19 +00:00
Andy Wilkinson 22bec6d00d Upgrade Spring REST Docs to 1.0.1.RELEASE 2015-12-11 12:36:34 +00:00
Andy Wilkinson e24bbd46f3 Upgrade dependency-management-plugin to 0.5.4.RELEASE 2015-12-03 15:27:24 +00:00
Andy Wilkinson f935ef592a Upgrade to Spring REST Docs 1.0.0.RC1 2015-09-08 17:09:08 +01:00
Andy Wilkinson 9462315281 Update Gradle builds to use dependency managagement plugin 0.5.1.RELEASE 2015-05-11 16:49:03 +01:00
Andy Wilkinson 3ad25078e6 Update generated build.gradle for Boot 1.3 to use latest plugin id
Spring Boot 1.3 snapshots had changed the id of the Gradle plugin from
spring-boot to org.springframework.boot.spring-boot. This change has
since been reverted.

This commit updates the Initializr to revert back to using the old id,
spring-boot. Some custom Spring Boot 1.3 logic remains: the dependency
management plugin is not applied to a Boot 1.3 project as Spring Boot
1.3 applies it automatically.
2015-04-23 17:38:04 +01:00
Andy Wilkinson e6c207335c Update Gradle builds to use dependency managagement plugin 0.5.0 2015-04-21 08:58:21 +01:00