Commit Graph
100 Commits
Author SHA1 Message Date
Stephane Nicoll 17df3b9b5d Handle both snapshots and releases enabled flags in Maven Pom
This commit improves the handling of repositories with Maven.
Previously, the writer wrongly assumed that the default for releases
and snapshots are true and false respectively. However, both defaults
are true which means that snapshots repository are considered for
releases, and releases repositories are considered for snapshots.

MavenRepository has now separate flags for those and the writer makes
sure to only update the `enabled` flag if the chosen value is not
true. This doesn't increase the content for repository definitions
while offering better performance for dependencies resolution.

Closes gh-1226
2021-04-20 20:20:41 +02:00
Stephane Nicoll 88d6e79fca Merge branch '0.10.x'
Closes gh-1225
2021-04-16 10:36:39 +02:00
Stephane Nicoll 59ffca1f4d Upgrade to Spring Boot 2.4.5
Closes gh-1224
2021-04-16 10:33:29 +02:00
Stephane Nicoll e1bbe4055f Merge branch '0.10.x'
Closes gh-1222
2021-04-16 10:06:18 +02:00
Stephane Nicoll 7a273034ff Upgrade Ubuntu version in CI images
Closes gh-1221
2021-04-16 10:02:26 +02:00
Stephane Nicoll 10d7e857c7 Remove Gradle 4 and 5 support
Closes gh-1218
2021-04-14 10:28:12 +02:00
Stephane Nicoll b3c0f16422 Remove JUnit 4 support
This commit also upgrades the test suite to use a more recent version as
removing support for JUnit4 effectively removes support for those as
well.

Closes gh-1219
2021-04-13 17:45:59 +02:00
Stephane Nicoll 6377ac717f Add support for Gradle 7
Closes gh-1217
2021-04-13 17:43:40 +02:00
Stephane Nicoll 470eaa7945 Merge branch '0.10.x' into main
Closes gh-1216
2021-04-05 09:37:19 +02:00
Stephane Nicoll 0d69976f5c Upgrade to Maven 3.8.1
Closes gh-1215
2021-04-05 09:34:10 +02:00
Stephane Nicoll 3882de4036 Rename master branch to main
Closes gh-1213
2021-04-02 16:13:08 +02:00
Stephane Nicoll 2b242fb94d Merge branch '0.10.x' 2021-03-24 16:01:03 +01:00
Stephane Nicoll 73d780e1cd Fix typo 2021-03-24 16:00:28 +01:00
Stephane Nicoll 16370b166d Merge branch '0.10.x' 2021-03-23 14:33:16 +01:00
Stephane Nicoll 1701f714ba Upgrade to Concourse Release Scripts 0.3.2 2021-03-23 14:32:47 +01:00
Stephane Nicoll 3e820d50ee Merge branch '0.10.x' 2021-03-23 10:35:30 +01:00
Stephane Nicoll f9ed8f7be0 Fix image type for changelog generator 2021-03-23 10:35:13 +01:00
Stephane Nicoll 8eed9868e2 Merge branch '0.10.x' 2021-03-23 10:34:29 +01:00
Stephane Nicoll 9e12b34ac0 Harmonize CI pipeline name
Closes gh-1208
2021-03-23 08:45:48 +01:00
Stephane Nicoll 433d48cc10 Allow to remove dependency from MutableProjectDescription
Closes gh-1207
2021-03-22 16:18:05 +01:00
Stephane Nicoll bfc2b7566f Merge branch '0.10.x'
Closes gh-1206
2021-03-19 10:47:46 +01:00
Stephane Nicoll 421a0830c1 Upgrade to Spring Boot 2.4.4
Closes gh-1205
2021-03-19 10:45:18 +01:00
Stephane Nicoll e0257dfa23 Merge branch '0.10.x' 2021-03-18 14:22:01 +01:00
Stephane Nicoll d8ca8c74a5 Polish 2021-03-18 14:21:41 +01:00
Stephane Nicoll efd636a4b6 Merge branch '0.10.x'
Closes gh-1204
2021-03-18 08:57:55 +01:00
Stephane Nicoll 9028076cb7 Switch CI build from Java 15 to Java 16
Closes gh-1203
2021-03-18 08:45:20 +01:00
Stephane Nicoll 277178c640 Merge branch '0.10.x'
Closes gh-1202
2021-03-18 08:37:31 +01:00
Stephane Nicoll 83f48e3d10 Upgrade to Artifactory Resource 0.0.14
Closes gh-1201
2021-03-18 08:36:40 +01:00
Stephane Nicoll 7f687b2bcb Merge branch '0.10.x'
See gh-1200
2021-03-16 14:55:16 +01:00
Stephane Nicoll 6b0e2830a0 Polish
See gh-1199
2021-03-16 14:55:01 +01:00
Stephane Nicoll 1270a37dce Merge branch '0.10.x'
See gh-1200
2021-03-16 14:52:58 +01:00
Stephane Nicoll 3e91aff3d8 Merge branch '0.10.x'
Closes gh-1200
2021-03-14 07:20:28 +01:00
Stephane Nicoll da5932b19b Upgrade CI to publish to Maven Central directly
Closes gh-1199
2021-03-14 07:19:21 +01:00
Stephane Nicoll f54acc7472 Merge branch '0.10.x'
Closes gh-1197
2021-03-12 12:28:15 +01:00
Stephane Nicoll c08dc945cb Upgrade CI images to ubuntu:focal-20210217
Closes gh-1196
2021-03-12 12:27:51 +01:00
Stephane Nicoll 32a0f84510 Merge branch '0.10.x'
Closes gh-1195
2021-03-05 14:11:32 +01:00
Stephane Nicoll 62def3f646 Fix assertion for GroovyDslGradleBuildAssert#hasProperty
Closes gh-1188
2021-03-05 14:06:25 +01:00
Stephane Nicoll 73dbbdbf08 Merge branch '0.10.x' 2021-03-05 13:47:06 +01:00
Stephane Nicoll 0f104ccb9a Fix issue matcher to handle multi-digit versions 2021-03-05 13:46:50 +01:00
Stephane Nicoll db0adbbb38 Merge branch '0.10.x'
Closes gh-1194
2021-03-05 10:58:47 +01:00
Stephane Nicoll e02633c862 Fix curl examples to use GET with -d
Closes gh-1190
2021-03-05 10:50:17 +01:00
Stephane Nicoll a9e647c69f Merge branch '0.10.x' 2021-03-05 10:42:24 +01:00
Stephane Nicoll 3844fb313f Polish 2021-03-05 10:42:01 +01:00
Stephane Nicoll 28cecdc6b4 Merge branch '0.10.x'
Closes gh-1193
2021-03-05 10:40:12 +01:00
Stephane Nicoll 7b98aa354d Upgrade to Gradle 6.8.3
Closes gh-1192
2021-03-05 10:20:14 +01:00
Stephane Nicoll 046fcfdb91 Merge branch '0.10.x' 2021-03-05 10:15:10 +01:00
Stephane Nicoll 39a256d9ba Add git hooks for forward merges 2021-03-05 10:13:38 +01:00
Stephane Nicoll d1df1d5241 Add Gradle plugin mapping strategy
This commit adds a mapping strategy for Gradle plugins that don't have
a plugin marker artifact. This is necessary to avoid using a buildScript
section to declare the plugin implementation artifact.

Closes gh-1189
2021-03-02 15:29:02 +01:00
Stephane Nicoll cac36a0d37 Switch to 0.11.x 2021-03-02 14:57:10 +01:00
Stephane Nicoll 1cdbd85611 Merge branch '0.10.x' 2021-03-02 14:54:40 +01:00
Stephane Nicoll f9438389fa Initiate 0.10.x branch 2021-03-02 14:04:47 +01:00
Stephane Nicoll 66c3721e18 Merge pull request #1186 from Veneckiy
* pr/1186:
  Fix copyright year of changed file
  Fix hardcoded type in metadata json serializer

Closes gh-1186
2021-02-25 15:51:15 +01:00
Stephane Nicoll 85af670a89 Fix copyright year of changed file
See gh-1186
2021-02-25 15:46:26 +01:00
Stephane Nicoll 776a2810fd Polish 2021-02-19 16:19:58 +01:00
Stephane Nicoll 9c8e8d0b97 Fix optional deployments regex in release CI pipeline
This commit fixes the "optional-deployments" regex for ".zip" artifacts;
"\" do not need to be escaped in YML single-quoted strings.
2021-02-19 16:19:47 +01:00
Stephane Nicoll 9f2c6682f4 Remove duplicate entry for artifactory-repo in stage-release 2021-02-19 15:58:38 +01:00
Stephane Nicoll 2e3c66be44 Upgrade to Spring Boot 2.4.3
Closes gh-1184
2021-02-19 14:14:02 +01:00
Stephane Nicoll 3f2ccc7c53 Upgrade to Spring Cloud Contract 3.0.1
Closes gh-1183
2021-02-18 13:29:21 +01:00
Stephane Nicoll cf6f5f9444 Upgrade to Maven Resolver 1.6.1
Closes gh-1182
2021-02-18 13:22:21 +01:00
Stephane Nicoll 98e1852c55 Upgrade to Commons Text 1.9
Closes gh-1181
2021-02-18 13:19:34 +01:00
Stephane Nicoll d330827bb0 Upgrade Java 15 CI image to jdk-15.0.2+7
Closes gh-1177
2021-02-16 17:50:58 +01:00
Stephane Nicoll 48f1bb75f2 Upgrade Java 11 CI image to jdk-11.0.10+9
Closes gh-1178
2021-02-16 17:50:29 +01:00
Stephane Nicoll b8cd3197c6 Upgrade Java 8 CI image to jdk8u282b08
Closes gh-1179
2021-02-16 17:49:56 +01:00
Stephane Nicoll 5352536c08 Upgrade CI images to Ubuntu Focal 20210119
Closes gh-1180
2021-02-16 17:49:20 +01:00
Stephane Nicoll 8542b89ed3 Workaround for CI image generation failure
See gh-1176
2021-02-16 17:31:07 +01:00
Stephane Nicoll 7c1e8a171d Upgrade to Gradle 6.8.2
Closes gh-1175
2021-02-16 17:27:32 +01:00
Stephane Nicoll 565438820b Upgrade CI to github-pr-resource v0.23.0
Closes gh-1174
2021-02-10 12:03:31 +01:00
Stephane Nicoll 4a00a281f7 Upgrade CI to artifactory-resource 0.0.13
Closes gh-1173
2021-02-10 11:58:50 +01:00
Stephane Nicoll 6da6572ccc Polish Maven profile support 2021-01-19 16:30:57 +01:00
Stephane Nicoll 50c1c28b1c Use parameterized test for version range tests 2021-01-16 11:17:17 +01:00
Stephane Nicoll 0a6ec343ba Upgrade to Spring Boot 2.4.2
Closes gh-1170
2021-01-15 08:31:27 +01:00
Stephane Nicoll c4485b6cbd Remove useless resolutionStrategy for Spring Boot plugin
Closes gh-610
2021-01-11 16:56:50 +01:00
Stephane Nicoll 9f1de5d87b Remove outdated exclude of the vintage engine 2020-12-26 17:09:14 +01:00
Stephane Nicoll 087d20abaa Upgrade to concourse java scripts 0.0.4
Closes gh-1108
2020-12-17 15:31:11 +01:00
Stephane Nicoll 013253a6ae Add multi-jdks build 2020-12-17 15:31:11 +01:00
Stephane Nicoll 35d40e3619 Harmonize CI pipeline 2020-12-17 15:31:09 +01:00
Stephane Nicoll d0cb9fc546 Fix ci image creation 2020-12-16 14:45:48 +01:00
Stephane Nicoll 0f87cfc8d0 Fix typo 2020-12-16 14:11:53 +01:00
Stephane Nicoll 0e4123548a Add build ci image task 2020-12-16 10:59:15 +01:00
Stephane Nicoll 2fe3508264 Upgrade Java 8 version in CI image 2020-12-16 10:04:13 +01:00
Stephane Nicoll ab42b7a985 Upgrade Ubuntu version in CI images 2020-12-16 10:03:19 +01:00
Stephane Nicoll b170523ffa Add support for lists with nested structure
Previously, a nested structure of a Maven Plugin configuration can be
only configured for a single parameter. This commit adds a dedicated
method to add a new entry with a nested structure every time it is
called. This effectively allows to configure nested "list" structure
such as listing dependency exclusions.

Closes gh-1165
2020-12-14 10:05:18 +01:00
Stephane Nicoll 32b1a7b2bb Upgrade to Spring Boot 2.4.1
Closes gh-1164
2020-12-11 11:48:22 +01:00
Stephane Nicoll 8e9b62b238 Fix CI deprecation warnings
Closes gh-1161
2020-12-10 15:53:49 +01:00
Stephane Nicoll 3e9d66f8b1 Upgrade to Gradle 6.7.1
Closes gh-1163
2020-12-10 15:35:49 +01:00
Stephane Nicoll 8d61cdd6aa Allow auto-configured caches to be overridden
This commit updates the JSR 107 cache auto-configuration to only create
a cache if it does not already exist. It also puts a specific order for
the auto-configured customizer so that another instance can run prior to
it reliably.

Closes gh-1157
2020-12-08 15:33:54 +01:00
Stephane Nicoll 7cb9f5bcaf Upgrade to sring javaformat 0.0.26 2020-12-06 15:54:48 +01:00
Stephane Nicoll c9fd0bffdf Polish 2020-12-06 15:54:48 +01:00
Stephane Nicoll 2e3dc77e99 Switch to Concourse's registry-image resource 2020-12-05 07:49:38 +01:00
Stephane Nicoll 5ec8e11ca6 Upgrade to Github PR Resource 0.21.0 2020-12-05 07:48:31 +01:00
Stephane Nicoll 56621c81e5 Upgrade to Artifactory Resource 0.0.12 2020-12-05 07:47:35 +01:00
Stephane Nicoll 8cef356bcf Fix JavaVersion constant writer to handle recent Java versions
Closes gh-1160
2020-12-04 15:35:21 +01:00
Stephane Nicoll e77aca2211 Allow to map a Dependency BOM
This commit allows a BOM to be overridden using a dependency mapping.

Closes gh-1155
2020-11-30 09:30:50 +01:00
Stephane Nicoll 58220dcb1c Remove entity type as it is no longer supported by Elasticsearch
Closes gh-1154
2020-11-30 08:16:35 +01:00
Stephane Nicoll f94566d066 Keep explicit if statement 2020-11-29 08:30:54 +01:00
Stephane Nicoll a93610ec0b Polish URL assertion
Using UrlAssert#isEqualsTo may lead to incorrect comparison based on
local DNS resolution setup. The intention here is to compare the String
literal anyway.

See gh-1151
2020-11-29 08:25:59 +01:00
Stephane Nicoll 13d04c4285 Test wrapper for Gradle 6 2020-11-27 17:57:45 +01:00
Stephane Nicoll 54d104e2e2 Upgrade test infrastructure to more recent Spring Boot versions 2020-11-27 17:54:30 +01:00
Stephane Nicoll 9514753cc7 Apply temporary deterministic order
See gh-1153
2020-11-27 17:53:37 +01:00
Stephane Nicoll b8289de7e0 Remove support for Spring Boot 1.x
Closes gh-1152
2020-11-27 17:53:26 +01:00