Commit Graph

253 Commits

Author SHA1 Message Date
Lars Grefer 719149f01d Remove usages of Gradle's jcenter() repository
Closes gh-10253
2021-11-22 09:38:49 -03:00
Lars Grefer ccd30607a9 Fix Gradle Deprecation Warnings 2021-11-22 09:38:44 -03:00
Lars Grefer d736a2b358 Remove usages of Gradle's jcenter() repository
Closes gh-10253
2021-11-22 09:28:47 -03:00
Lars Grefer cf95d3f91e Fix Gradle Deprecation Warnings 2021-11-22 09:28:24 -03:00
Lars Grefer 0541341201 Remove usages of Gradle's jcenter() repository
Closes gh-10253
2021-11-22 08:42:40 -03:00
Lars Grefer 5c012dc7eb Fix Gradle Deprecation Warnings 2021-11-22 08:42:40 -03:00
Rob Winch 4b23949ebd Update io.projectreactor to 2020.0.13
Closes gh-10493
2021-11-11 16:56:24 -06:00
Marcus Da Coregio aabb116a07 Update to Gradle 7.3
Closes gh-10480
2021-11-10 11:35:49 -03:00
Marcus Da Coregio b83693e9c9 Update to Gradle 7.3
Closes gh-10480
2021-11-10 11:05:18 -03:00
Marcus Da Coregio 34e77cb3ca Update Structure101 version 2021-11-01 09:02:43 -03:00
Marcus Da Coregio db60df2f9c Update to Spring Framework 6.0
Issue gh-10360
2021-11-01 09:02:42 -03:00
Marcus Da Coregio 010f719344 Upgrade to JDK 17
Closes gh-10343
2021-11-01 09:02:42 -03:00
Josh Cummings d779cd1d48 Support Structure101 License ID
Closes gh-10443
2021-10-28 13:26:02 -06:00
Rob Winch 1569ae2b75 Update junit-bom to 5.8.1
Closes gh-10400
2021-10-18 21:04:51 -05:00
Rob Winch 5f8ded6b5f Update io.projectreactor to 2020.0.12
Closes gh-10391
2021-10-18 21:03:12 -05:00
Marcus Da Coregio 02b2fcc6f0 Restore ManagementConfigurationPlugin
Issue gh-9615
2021-10-05 11:23:29 -03:00
Marcus Da Coregio e2e93887af Update JFrog Build Info plugin
Issue gh-9615
2021-10-04 16:01:40 -03:00
Marcus Da Coregio d2e5f2ae0d Update Gradle to 7.2
Closes gh-9615
2021-10-04 15:19:40 -03:00
Josh Cummings 6978f51f19 Structure101 Build Plugin
Issue gh-6236
2021-09-27 14:56:03 -06:00
Rob Winch be9ff16583 Remove Asciidoctor from the build in favor of Antora 2021-09-23 15:50:14 -05:00
Rob Winch f736d4dd76 Update org.mockito to 3.12.4
Closes gh-10296
2021-09-17 16:40:58 -05:00
Rob Winch 0de2baeabb Update junit-bom to 5.8.0
Closes gh-10294
2021-09-17 16:40:58 -05:00
Rob Winch d3c5c6add3 Update io.spring.nohttp to 0.0.10
Closes gh-10290
2021-09-17 16:40:58 -05:00
Rob Winch af61fae68a Update io.projectreactor to 2020.0.11
Closes gh-10288
2021-09-17 16:40:58 -05:00
Rob Winch 0b068b9b81 Update io.projectreactor to 2020.0.10
Closes gh-10199
2021-08-16 14:18:54 -05:00
Rob Winch 2765cd58f1 Exclude rc without versions from dependencyUpdates 2021-08-16 14:18:54 -05:00
Marcus Da Coregio 87687bf03f Fix Gradle Plugin
Fix IncludeCheckRemotePlugin to add the default tasks even without defining the extension properties

Issue gh-9846
2021-07-30 11:29:53 -03:00
Marcus Da Coregio c562d56ff4 Add checkSamples task
Closes gh-9846
2021-07-27 14:11:51 -03:00
Eleftheria Stein abb7df1cc4 Update io.projectreactor to 2020.0.9
Closes gh-10091
2021-07-16 17:18:06 +02:00
Rob Winch 715f06c4c2 useJUnitPlatform for integration tests
Issue gh-9467
2021-07-15 14:12:12 -05:00
Josh Cummings c4e53e51d7
Close zip file
Issue gh-9467
2021-07-12 15:12:54 -06:00
Rob Winch f73f213f50 Remove DependencySetPlugin
Closes gh-10070
2021-07-12 15:31:38 -05:00
Rob Winch c173e801c5 Convert buildSrc to JUnit 5
Closes gh-9467
2021-07-12 11:43:31 -05:00
Rob Winch 04fbe03a9e remove junit 2021-07-09 15:57:21 -05:00
Rob Winch bb00268922 Revert "Add openrewrite"
openrewrite is no longer necessary now that the migration is done
2021-07-09 14:32:52 -05:00
Rob Winch 8652f01269 useJUnitPlatform 2021-07-09 14:05:48 -05:00
Rob Winch 1047e09fee Add JUnit 5 Dependencies 2021-07-09 14:05:48 -05:00
Rob Winch a61057d66c Add openrewrite 2021-07-09 13:55:20 -05:00
Rob Winch 14240b2559 Remove Powermock
Powermock does not support JUnit5 yet, so we need to remove it
to support JUnit 5. Additionally, maintaining additional libraries
adds extra work for the team.

Mockito now supports final classes and static method mocking. This
commit replaces Powermock with mockito-inline.

Closes gh-6025
2021-07-08 12:35:32 -05:00
Marcus Hert da Coregio 7075296deb Add a link checker to docs build
Closes gh-9818
2021-06-21 10:42:55 -03:00
Rob Winch 8a4ee8af43 Artifactory defaults to publish mavenJava Publication
Closes gh-9772
2021-05-18 15:30:44 -05:00
Rob Winch df4d0dc488 Ignore Invalid buildSrc Tests 2021-05-18 01:00:37 -05:00
Rob Winch abd100122e Fix SpringNexsPublishPlugin spacing in root 2021-05-17 23:57:18 -05:00
Rob Winch 39c5f3d955 Fix closeAndReleaseOssrhStagingRepository 2021-05-17 23:54:28 -05:00
Rob Winch 05dd69395d Delay until PublishAllJavaComponentsPlugin 2021-05-17 23:53:01 -05:00
Rob Winch b750f3b86c copyproperties for bom plugin 2021-05-17 22:22:55 -05:00
Rob Winch b0f661f432 Revert "Map optional dependencies to Maven"
This reverts commit 7dc34ccef7.
2021-05-17 22:17:52 -05:00
Rob Winch d8e4f6c866 Revert "Management no longer operates on optional/provided to spring-security-dependencies added as bom to poms"
This reverts commit c9bf98c887.
2021-05-17 22:17:50 -05:00
Rob Winch c9bf98c887 Management no longer operates on optional/provided to spring-security-dependencies added as bom to poms 2021-05-17 21:18:58 -05:00
Rob Winch 7dc34ccef7 Map optional dependencies to Maven 2021-05-17 20:44:12 -05:00
Rob Winch 5b74484d3d Fix ManagementConfigurationPlugin Configurations
- remove COMPILE_CONFIGURATION_NAME
- remove TEST_COMPILE_CONFIGURATION_NAME

This is because otherwise spring-security-depencencies appears as
maven bom and it should be internal
2021-05-17 19:16:33 -05:00
Rob Winch 0158d2023e Remove MavenBomTask 2021-05-17 18:25:29 -05:00
Rob Winch 3d4bc6ca9e remove spring-pom.properties 2021-05-17 17:58:56 -05:00
Rob Winch b2d14be18e Revert "versionMapping"
This reverts commit 834a1fca0d.
2021-05-17 17:50:08 -05:00
Rob Winch 834a1fca0d versionMapping 2021-05-17 17:50:02 -05:00
Rob Winch daf37942c5 Fix maven.from 2021-05-17 17:49:37 -05:00
Rob Winch c72f8dec0c Fix MavenBom 2021-05-17 17:49:04 -05:00
Rob Winch 928c855a7d polish publish 2021-05-17 16:31:13 -05:00
Rob Winch d826984fc0 remove artifactory config that is invalid 2021-05-17 16:21:17 -05:00
Rob Winch 3b77986e85 apply publishplugin 2021-05-17 16:21:07 -05:00
Rob Winch 096a6586e7 fix publish url 2021-05-17 16:20:54 -05:00
Rob Winch 304636520d buildSrc to publish 2021-05-17 14:00:56 -05:00
Rob Winch cb4d03b9cd Update io.spring.nohttp to 0.0.8
Closes gh-9753
2021-05-14 13:23:54 -05:00
Rob Winch 3fc3c94ce3 Update io.projectreactor to 2020.0.7
Closes gh-9750
2021-05-14 13:23:54 -05:00
Marcus Hert da Coregio 839269e9c5
Update buildSrc to build on Windows
Closes gh-9724
2021-05-12 14:47:24 -06:00
Rob Winch 5a7e096d0c Update io.spring.nohttp to 0.0.7
Closes gh-9711
2021-05-03 14:40:41 -05:00
Rob Winch 4e8b7dfb12 add minorVersionBump
Closes gh-9709
2021-05-03 14:36:47 -05:00
Rob Winch 8c11853eaf Add generateChangelog
Closes gh-9704
2021-04-30 16:10:08 -05:00
Rob Winch 84d9629599 Add gitHubCheckMilestoneHasNoOpenIssues
Closes gh-9693
2021-04-29 16:15:02 -05:00
Rob Winch 23eee9aa03 Remove unused ratelimit code 2021-04-29 15:43:57 -05:00
Rob Winch 006b9b9607 master->main
Closes gh-9683
2021-04-26 16:55:43 -05:00
Rob Winch 8a13278c6d Update io.spring.nohttp to 0.0.6.RELEASE
Closes gh-9622
2021-04-12 14:55:54 -05:00
Rob Winch f30ee19ccc Update io.projectreactor to 2020.0.6
Closes gh-9620
2021-04-12 14:55:50 -05:00
Josh Cummings 3641756692 Add package-list
Closes gh-9528
2021-04-09 08:41:59 -06:00
Rob Winch 1a082357d3 Add sagan(Create|Delete)Release
Closes gh-9577
2021-04-08 17:56:21 -05:00
Rob Winch eb47aa79e2 Groovy Plugin compile buildSrc java files
This is necessary for java plugins to use the Groovy source code.

Issue gh-9577
2021-04-08 17:55:50 -05:00
Rob Winch 49498b7e7d Update nohttp-checkstyle to 0.0.5.RELEASE
Closes gh-9554
2021-04-05 22:23:59 -05:00
Rob Winch 7cc8dac37d Update spring-doc-resources to 0.2.5
Closes gh-9552
2021-04-05 22:23:59 -05:00
Rob Winch 9b94e616c8 updateDepencencies support for nimbus-jose-jwt
Keep nimbus-jose-jwt aligned with the version in nimbus-oauth2-sdk

Issue gh-9542
2021-04-05 21:27:40 -05:00
Rob Winch eb6dccf05d updateDependencies support custom rules
Issue gh-9542
2021-04-05 21:25:58 -05:00
Rob Winch 1be9bb98d7 Fix deprecation warnigns in DocsPlugin
- baseName -> archiveBaseName
- classifier -> archiveClassifier

Closes gh-9547
2021-04-05 10:48:24 -05:00
Rob Winch 0d8ee3a908 Fix deprecation warnings for SchemaZipPlugin
- baseName -> archiveBaseName
- classifier -> archiveClassifier

Closes gh-9546
2021-04-05 10:48:09 -05:00
Rob Winch b67d2e0e4b Use Checkstyle.configDirectory
Checkstyle.configDir is deprecated in favor of Checkstyle.configDirectory

Closes gh-9545
2021-04-05 10:48:07 -05:00
Rob Winch a90adbc123 Re-enable Gradle Depencency Cache
Closes gh-9544
2021-04-05 10:42:25 -05:00
Rob Winch f6a5b723cb Add updateDependencies
Allows for updating the depencencies of the project in an automated fashion.

Closes gh-9542
2021-04-05 10:36:36 -05:00
Rob Winch 60d3db5798 add management platform(project(":spring-security-dependencies"))
Closes gh-9540
2021-04-05 10:36:36 -05:00
Rob Winch de1b3e9d30 Remove DepencencyManagementPlugin
Issue gh-9540
2021-04-05 10:36:36 -05:00
Rob Winch 1a76ee7442 Update Gradle configuration names
Closes gh-9540
2021-04-05 10:36:36 -05:00
Rob Winch e4c03e9e5a Update plugins to support api/implementation
Issue gh-9540
2021-04-05 10:36:35 -05:00
Rob Winch 58a69bb7e2 Remove Sample Plugins
Issue gh-9539
2021-04-05 10:36:35 -05:00
Rob Winch d39f737465 Add shibboleth.net Maven repository
This is necessary for opensaml 4.1.0

Issue gh-9539
2021-04-05 10:36:35 -05:00
Rob Winch bfec10b0c7 Remove MergePlugin
This is no longer used and we should favor shadow plugin instead.

Issue gh-9539
2021-04-05 10:35:56 -05:00
Rob Winch 06f38ac49c buildSrc.skipTests
Allow skipping buildSrc tests using property buildSrc.skipTests

Issue gh-9539
2021-04-05 10:27:41 -05:00
Rob Winch 6b3918ff7b Add buildSrc
Closes gh-9539
2021-04-05 10:27:29 -05:00
Phillip Webb 52f20b5281 Use parenthesis with single-arg lambdas
Use regular expression search/replace to ensure all single-arg
lambdas have parenthesis. This aligns with the style used in Spring
Boot and ensure that single-arg and multi-arg lambdas are consistent.

Issue gh-8945
2020-08-24 17:33:08 -05:00
Rob Winch 7ad303f0ce Replace VersionsResourceTasks with WriteProperties
VersionsResourceTasks wrote a date comment which prevented this from
producing the same result and caused misses in the cache.

Closes gh-8114
2020-03-13 13:26:54 -05:00
Rob Winch 1bb1e74a9d Add Gradle Lock Plugin
Issue gh-7788
2020-01-06 14:46:48 -06:00
Lars Grefer a5cdd8451d Create the rncToXsd Task lazily 2019-08-29 06:13:52 -05:00
Lars Grefer fb9bd57936 Cleanup dependencies 2019-08-29 06:13:52 -05:00
Lars Grefer 312f4e645b Use the 'java-gradle-plugin' plugin for the plugin 2019-08-29 06:13:52 -05:00
Lars Grefer a51318eb95 Use the 'io.freefair.aspectj' gradle plugin 2019-08-12 11:46:28 -05:00
Lars Grefer f28681f41d Remove the unused emma plugin 2019-08-03 12:37:27 -04:00
Lars Grefer 09a119978c Migrate VersionsResourceTasks groovy->java
Issue: gh-4939
2019-08-02 15:53:49 -04:00
Lars Grefer 3d2542ce54 Migrate TrangPlugin groovy->java
Issue: gh-4939
2019-07-10 11:21:54 -05:00
Spring Operator b93528138e URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://www.apache.org/licenses/ with 1 occurrences migrated to:
  https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/) result 200).
* http://www.apache.org/licenses/LICENSE-2.0 with 2691 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
* http://www.apache.org/licenses/LICENSE-2.0.html with 2 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0.html ([https](https://www.apache.org/licenses/LICENSE-2.0.html) result 200).
2019-03-14 15:46:20 -05:00
Rob Winch c08b36221a Removed Unused Configuration 2019-02-28 20:10:19 -06:00
Daniel Bustamante Ospina 6bddb38cac Update to Gradle 5.0
Change project's gradle version to 5.0, this requires to make some minor
adjustments.

Fixes: gh-6148
2018-11-30 08:50:47 -06:00
Rafael Dominguez d1492afc0c
Replace deprecated Gradle Task method in AspectJPlugin.groovy
This commit ensures that the method Task.deleteAllActions is not used

Fixes: gh-6128
2018-11-22 23:18:14 -06:00
Rob Winch efaf2b080f Make MIN_SPRING_VERSION Dynamic
Fixes: gh-5065
2018-03-16 13:53:40 -05:00
Rob Winch e49e430538 Use spring-build-conventions Bom plugin
Fixes gh-4954
2018-01-09 11:27:34 -06:00
Rob Winch 03f0d87e86 AspectJPlugin Defers until afterEvaluate
Fixes for changes in SpringIoPlugin at
029d8757df
2017-09-18 14:26:12 -05:00
Rob Winch c1d399b300 Polish MavenBomPlugin 2017-04-28 13:23:18 -05:00
Rob Winch dd6fc48dd8 Standardize Build
The build now uses spring build conventions to simplify the build

Fixes gh-4284
2017-04-21 10:55:05 -05:00
Rob Winch b54d350e54 AspectJ fixes for Spring IO 2017-01-05 11:43:33 -06:00
Rob Winch e25b84c902 SEC-2963: Update to latest Google AppEngine 2015-07-20 12:36:29 -05:00
Rob Winch 0a2e496a84 SEC-2915: groovy/gradle spaces->tabs 2015-03-25 13:08:59 -05:00
Rob Winch 87a52ffbfd SEC-2784: Update to Gradle 2.2.1 2014-12-08 13:29:07 -06:00
Rob Winch 4672c2a1f7 SEC-2430: Add Maven BOM 2013-12-09 15:51:49 -06:00
Rob Winch c135179029 Update to latest Asciidoctor version
We will temporarily remove PDF support until the plugin supports it.
2013-10-30 16:56:00 -05:00
Rob Winch 85ec2429d9 SEC-2349: Externalize FAQ 2013-10-23 17:43:32 -05:00
Rob Winch 51171efa7a SEC-2357: Move *RequestMatcher to .matcher package 2013-10-14 11:55:56 -05:00
Rob Winch 4b43cf3f50 SEC-2349: Convert Reference to Asciidoctor 2013-10-03 14:15:09 -05:00
Rob Winch 955a60cf49 SEC-2208: Use std docbook plugin and workspace cleanup 2013-07-16 15:15:47 -05:00
Rob Winch e5fc063680 SEC-2206: Gradle Propdeps 2013-07-16 15:15:42 -05:00
Rob Winch 3c9a80433f SEC-2207: AspectJPlugin uses compileAspect and compileTestAspect 2013-07-16 15:02:39 -05:00
Rob Winch 1705c5d796 SEC-2207: Update Gradle to 1.6 2013-07-16 15:02:39 -05:00
Rob Winch 036e0505b3 Make rnc transform part of Gradle build 2013-01-03 18:32:32 -06:00
Rob Winch ace6b804f7 Update to 3.2.x and added eclipse suffix to eclipse projects 2012-11-02 10:48:50 -05:00
Rob Winch abe5e4af48 SEC-2058: Remove mavenLocal() from buildSrc 2012-09-19 23:56:06 -05:00
Rob Winch 8ad0e0e8e8 SEC-1995: Use Gradle Artifactory integration for releases 2012-08-09 14:20:57 -05:00
Rob Winch d14150c2e1 SEC-1906: Fix EmmaPlugin for Gradle 1.0 2012-07-05 22:57:16 -05:00
Rob Winch a2452ab514 SEC-1906: Update to Gradle 1.0 2012-07-05 12:41:56 -05:00
Luke Taylor e27f655e9d SEC-1689: Re-instate crypto as separate library (for use in non-Spring Security apps), as well as packaging with core. 2011-06-10 00:01:25 +01:00
Rob Winch f37f5d43bc gradle 1.0-M3 update - AspectJPlugin to integrate with GenerateEclipseProject instead of GenerateEclipseClasspath 2011-04-27 20:28:01 -05:00
Luke Taylor 767f5b2423 Upgrade to gradle 1.0-M3. 2011-04-27 22:13:18 +01:00
Luke Taylor ac96f27136 Gradle refactoring. Create separate S3 upload task and extract ide customization into a separate file. 2011-04-21 11:57:18 +01:00
Rob Winch bb3b8e4683 Update AspectJPlugin to configure EclipseProject and EclipseClasspath tasks 2011-03-12 18:46:17 -06:00
Luke Taylor 9c09f0b73d Remove unnecessary repos from main build file (EBR should only be needed for bundlor) and we generally have no need to build against snapshots other than for one-off testing. 2011-03-10 19:36:10 +00:00
Luke Taylor db6edfb512 Pull in changes to convert emma, aspectj and bundlor usage to plugins 2011-03-07 17:43:58 +00:00
Luke Taylor 72f031253f Remove unnecessary dependency repos and update GAE version. 2011-02-28 15:43:25 +00:00
Luke Taylor 49242729e4 Added imgSrcPath parameter for use in docbookFopPdf task. 2010-11-24 00:28:59 +00:00
Luke Taylor 37810a19c4 SEC-1619: Added check in GAE sample for change of Google user while still logged into the app.
Also updated GAE version and build script. Uploading to GAE now works when run from the gradle build file using the command 'gradle gaeDeploy'.
2010-11-10 15:37:42 +00:00
Luke Taylor f978814bb1 Improve entry of username and password for scp upload. 2010-09-24 21:01:18 +01:00
Luke Taylor 98108d2694 Add support for ant.scp to TarUpload task. 2010-08-22 22:41:41 +01:00
Luke Taylor 07d8275ee6 Modify order of saxon and xerces deps in dependency list to prevent Aelfred parser from being used in build. 2010-08-22 22:31:01 +01:00
Luke Taylor 74b66591e9 Build refactoring. 2010-08-04 02:09:07 +01:00
Luke Taylor 7ce29d3e3d Don't set GAE location unless property available 2010-07-21 15:40:29 +01:00
Luke Taylor 5d35919ca3 SEC-1490: Code for GAE Sample webapp 2010-07-20 23:41:31 +01:00
Luke Taylor 6894544122 Fixed serialization issue with gradle TarUpload task 2010-07-07 22:42:27 +01:00
Luke Taylor 8ad6cbbe85 SEC-1508: Update docbook processing to use Docbook 5 namespaces. 2010-07-03 13:10:48 +01:00