Add messaging to documentation about sample migration

Closes gh-9815
This commit is contained in:
Marcus Hert da Coregio
2021-05-26 17:01:15 -03:00
committed by Marcus Hert Da Coregio
parent 3219fd554d
commit d60981fd59
5 changed files with 27 additions and 4 deletions

View File

@@ -16,11 +16,14 @@ asciidoctor {
asciidoctorj {
def ghTag = snapshotBuild ? 'main' : project.version
def ghUrl = "https://github.com/spring-projects/spring-security/tree/$ghTag"
def ghOldSamplesUrl = "https://github.com/spring-projects/spring-security/tree/5.4.x/samples"
def ghSamplesUrl = "https://github.com/spring-projects/spring-security-samples/tree/$ghTag"
attributes 'spring-security-version' : project.version,
'spring-boot-version' : springBootVersion,
revnumber : project.version,
'gh-url': ghUrl,
'gh-samples-url': "$ghUrl/samples"
'gh-samples-url': ghSamplesUrl,
'gh-old-samples-url': ghOldSamplesUrl
attributeProvider resolvedVersions(project.configurations.testRuntimeClasspath)
}

View File

@@ -2,3 +2,9 @@
= Samples
Spring Security includes many {gh-samples-url}[samples] applications.
[NOTE]
====
These samples are being migrated to a separate project, however, you can still find
the not migrated samples in an older branch of the {gh-old-samples-url}[Spring Security repository].
====