This is an automated email from the ASF dual-hosted git repository. paulk pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/groovy-website.git
commit c7514b6fbe6b00ac3e88491807d70fbacd1af960 Author: Paul King <[email protected]> AuthorDate: Thu Jan 30 12:22:27 2025 +1000 fix broken links --- site/src/site/blog/announce-announcing-codenarc-1-2.adoc | 2 +- .../site/blog/encryption-and-decryption-with-groovy.adoc | 2 +- site/src/site/blog/gpars-meets-virtual-threads.adoc | 6 +++--- site/src/site/blog/groovy-2-4-16-windows.adoc | 3 ++- site/src/site/blog/groovy-2-5-2-windows.adoc | 2 +- site/src/site/blog/groovy-2-5-3-released.adoc | 2 +- site/src/site/blog/groovy-2-5-3-windows.adoc | 2 +- site/src/site/blog/groovy-2-5-4-windows.adoc | 2 +- site/src/site/blog/groovy-2-5-5-windows.adoc | 2 +- site/src/site/blog/groovy-2-5-7-and.adoc | 16 ++++++---------- site/src/site/blog/groovy-3-0-0-alpha1.adoc | 3 +-- site/src/site/blog/groovy-3-0-0-beta2.adoc | 8 +++----- site/src/site/blog/groovy-3-highlights.adoc | 5 +++-- site/src/site/blog/groovy-gatherers.adoc | 2 +- .../site/blog/groovy-list-processing-cheat-sheet.adoc | 2 +- site/src/site/releasenotes/groovy-4.0.adoc | 4 ++-- site/src/site/releasenotes/groovy-5.0.adoc | 10 +++++----- site/src/site/wiki/GEP-12.adoc | 2 +- site/src/site/wiki/groovy-release-discussion.adoc | 2 +- 19 files changed, 36 insertions(+), 41 deletions(-) diff --git a/site/src/site/blog/announce-announcing-codenarc-1-2.adoc b/site/src/site/blog/announce-announcing-codenarc-1-2.adoc index b2d8334..8c8e779 100644 --- a/site/src/site/blog/announce-announcing-codenarc-1-2.adoc +++ b/site/src/site/blog/announce-announcing-codenarc-1-2.adoc @@ -20,4 +20,4 @@ Version 1.2 includes 5 new rules and several enhancements and bug fixes. See the Check out the https://github.com/CodeNarc/CodeNarc[project on GitHub]! -The http://grails.org/plugin/codenarc[Grails CodeNarc Plugin] has been updated to version 1.2 as well. +The Grails CodeNarc Plugin has been updated to version 1.2 as well. diff --git a/site/src/site/blog/encryption-and-decryption-with-groovy.adoc b/site/src/site/blog/encryption-and-decryption-with-groovy.adoc index 3b2be1e..4895268 100644 --- a/site/src/site/blog/encryption-and-decryption-with-groovy.adoc +++ b/site/src/site/blog/encryption-and-decryption-with-groovy.adoc @@ -194,7 +194,7 @@ If you are encrypting and decrypting entire files, the JDK has special classes f == References * https://en.wikipedia.org/wiki/Comparison_of_cryptography_libraries[Comparison of cryptography libraries] (Wikipedia) -* https://asyncq.com/how-to-encrypt-and-decrypt-data-in-java[How to encrypt and decrypt data in Java] (also on https://i-sammy.medium.com/how-to-encrypt-and-decrypt-data-in-java-de41be237422[medium.com]) +* https://web.archive.org/web/20241130150756/https://asyncq.com/how-to-encrypt-and-decrypt-data-in-java[How to encrypt and decrypt data in Java] (also on https://i-sammy.medium.com/how-to-encrypt-and-decrypt-data-in-java-de41be237422[medium.com]) * https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk18on/1.71.1[Bouncy castle] in maven central * https://www.baeldung.com/java-aes-encryption-decryption[AES Encryption and Decryption in Java] (Baeldung) * https://www.baeldung.com/java-encryption-iv[Initialization Vector for Encryption in Java] (Baeldung) diff --git a/site/src/site/blog/gpars-meets-virtual-threads.adoc b/site/src/site/blog/gpars-meets-virtual-threads.adoc index 7483e96..eda53e2 100644 --- a/site/src/site/blog/gpars-meets-virtual-threads.adoc +++ b/site/src/site/blog/gpars-meets-virtual-threads.adoc @@ -7,9 +7,9 @@ Paul King image:img/gpars_logo.png[gpars,150,float="right"] An exciting feature coming in JDK21 is Virtual Threads -(https://openjdk.java.net/jeps/444[JEP 444]). -It has been previewed in JDK19 (https://openjdk.java.net/jeps/425[JEP 425]) -and JDK20 (https://openjdk.java.net/jeps/436[JEP 436]) but JDK21 will be the first version +(https://openjdk.org/jeps/444[JEP 444]). +It has been previewed in JDK19 (https://openjdk.org/jeps/425[JEP 425]) +and JDK20 (https://openjdk.org/jeps/436[JEP 436]) but JDK21 will be the first version that the feature is available without using Java's preview switch. The examples in this blog were tested with Groovy 4.0.11 using JDK version 21-ea+18-1480 (and using JDK19 with preview features enabled). diff --git a/site/src/site/blog/groovy-2-4-16-windows.adoc b/site/src/site/blog/groovy-2-4-16-windows.adoc index f244a17..4de54b5 100644 --- a/site/src/site/blog/groovy-2-4-16-windows.adoc +++ b/site/src/site/blog/groovy-2-4-16-windows.adoc @@ -4,4 +4,5 @@ Remko Popma :keywords: groovy, windows installer, release :description: Groovy 2.4.16 Windows Installer Release Announcement. -The Windows installer for Groovy 2.4.16 (community artifact) is available from: https://bintray.com/groovy/Distributions/Windows-Installer/groovy-2.4.16-installer. +The Windows installer for Groovy 2.4.16 (community artifact) is available from: +https://groovy.jfrog.io/artifactory/dist-release-local/groovy-windows-installer/groovy-2.4.16/ \ No newline at end of file diff --git a/site/src/site/blog/groovy-2-5-2-windows.adoc b/site/src/site/blog/groovy-2-5-2-windows.adoc index 13998dc..29493d4 100644 --- a/site/src/site/blog/groovy-2-5-2-windows.adoc +++ b/site/src/site/blog/groovy-2-5-2-windows.adoc @@ -5,4 +5,4 @@ Remko Popma :description: Groovy 2.5.2 Windows Installer Release Announcement. The Windows installer for Groovy 2.5.2 (community artifact) is available from: -https://dl.bintray.com/groovy/Distributions/groovy-2.5.2-installer.exe +https://groovy.jfrog.io/artifactory/dist-release-local/groovy-windows-installer/groovy-2.5.2/ diff --git a/site/src/site/blog/groovy-2-5-3-released.adoc b/site/src/site/blog/groovy-2-5-3-released.adoc index a7acf8e..d4ef88f 100644 --- a/site/src/site/blog/groovy-2-5-3-released.adoc +++ b/site/src/site/blog/groovy-2-5-3-released.adoc @@ -7,7 +7,7 @@ Remko Popma Dear community, image:img/groovy_logo.png[Groovy logo,200,float="right"] -The Apache Groovy team is pleased to announce version 2.5.3 of Apache Groovy. Apache Groovy is a multi-facet programming language for the JVM. Further details can be found at the http://groovy.apache.org website. +The Apache Groovy team is pleased to announce version 2.5.3 of Apache Groovy. Apache Groovy is a multi-facet programming language for the JVM. Further details can be found at the https://groovy.apache.org website. This release is a maintenance release of the GROOVY_2_5_X branch. It is strongly encouraged that all users using prior versions on this branch upgrade to this version. diff --git a/site/src/site/blog/groovy-2-5-3-windows.adoc b/site/src/site/blog/groovy-2-5-3-windows.adoc index 195bc45..d55b946 100644 --- a/site/src/site/blog/groovy-2-5-3-windows.adoc +++ b/site/src/site/blog/groovy-2-5-3-windows.adoc @@ -5,4 +5,4 @@ Remko Popma :description: Groovy 2.5.3 Windows Installer Release Announcement. The Windows installer for Groovy 2.5.3 (community artifact) is available from: -https://bintray.com/groovy/Distributions/Windows-Installer/groovy-2.5.3-installer \ No newline at end of file +https://groovy.jfrog.io/artifactory/dist-release-local/groovy-windows-installer/groovy-2.5.3/ \ No newline at end of file diff --git a/site/src/site/blog/groovy-2-5-4-windows.adoc b/site/src/site/blog/groovy-2-5-4-windows.adoc index d90b2df..1009339 100644 --- a/site/src/site/blog/groovy-2-5-4-windows.adoc +++ b/site/src/site/blog/groovy-2-5-4-windows.adoc @@ -5,4 +5,4 @@ Remko Popma :description: Groovy 2.5.4 Windows Installer Release Announcement. The Windows installer for Groovy 2.5.4 (community artifact) is available from: -https://bintray.com/groovy/Distributions/Windows-Installer/groovy-2.5.4-installer \ No newline at end of file +https://groovy.jfrog.io/artifactory/dist-release-local/groovy-windows-installer/groovy-2.5.4/ \ No newline at end of file diff --git a/site/src/site/blog/groovy-2-5-5-windows.adoc b/site/src/site/blog/groovy-2-5-5-windows.adoc index ef8ed38..00dafe0 100644 --- a/site/src/site/blog/groovy-2-5-5-windows.adoc +++ b/site/src/site/blog/groovy-2-5-5-windows.adoc @@ -5,4 +5,4 @@ Remko Popma :description: Groovy 2.5.5 Windows Installer Release Announcement. The Windows installer for Groovy 2.5.5 (community artifact) is available at: -https://bintray.com/groovy/Distributions/Windows-Installer/groovy-2.5.5-installer +https://groovy.jfrog.io/artifactory/dist-release-local/groovy-windows-installer/groovy-2.5.5/ diff --git a/site/src/site/blog/groovy-2-5-7-and.adoc b/site/src/site/blog/groovy-2-5-7-and.adoc index 059ec3e..dda92e5 100644 --- a/site/src/site/blog/groovy-2-5-7-and.adoc +++ b/site/src/site/blog/groovy-2-5-7-and.adoc @@ -4,16 +4,12 @@ Remko Popma :keywords: groovy, windows installer, release :description: Groovy 2.5.7 and 3.0.0-beta-1 Windows Installer Release Announcement. -The Windows installer for Groovy 2.5.7 (Community Artifact) is now available from Bintray: -https://bintray.com/groovy/Distributions/Windows-Installer/groovy-2.5.7-installer. +The Windows installer for Groovy 2.5.7 (Community Artifact) is now available: +https://groovy.jfrog.io/artifactory/dist-release-local/groovy-windows-installer/groovy-2.5.7/ -The Windows installer for Groovy 3.0.0-beta-1 (Community Artifact) is now available from Bintray: -https://bintray.com/groovy/Distributions/download_file?file_path=groovy-3.0.0-beta-1-installer.exe - -These are also the first releases where a preview of the Windows Installers is created with the WiX Toolset. You are invited to try them out and provide any feedback you might have. The intention is to eventually replace the current NSIS-based installer with this installer. It is believed to be reasonably stable. The maintainer of these installer has personally been using these instead of the NSIS based installer for a while now. Here are the links to those installers: - -3.0.0-beta-1: https://bintray.com/groovy/Distributions/download_file?file_path=groovy-3.0.0-beta-1+%28preview+installer%29.msi - -2.5.7: https://bintray.com/groovy/Distributions/download_file?file_path=groovy-2.5.7+%28preview+installer%29.msi +The Windows installer for Groovy 3.0.0-beta-1 (Community Artifact) is now available: +https://groovy.jfrog.io/artifactory/dist-release-local/groovy-windows-installer/groovy-3.0.0-beta-1/ +These are also the first releases where a preview of the Windows Installers is created with the WiX Toolset. You are invited to try them out and provide any feedback you might have. The intention is to eventually replace the current NSIS-based installer with this installer. It is believed to be reasonably stable. The maintainer of these installer has personally been using these instead of the NSIS based installer for a while now. +Those .msi installers are in the same directory as above. Be aware that you need to fully uninstall the NSIS based Groovy installation before installing with an MSI installer. \ No newline at end of file diff --git a/site/src/site/blog/groovy-3-0-0-alpha1.adoc b/site/src/site/blog/groovy-3-0-0-alpha1.adoc index bc78a6a..6b7ceda 100644 --- a/site/src/site/blog/groovy-3-0-0-alpha1.adoc +++ b/site/src/site/blog/groovy-3-0-0-alpha1.adoc @@ -5,6 +5,5 @@ Remko Popma :description: Groovy 2.4.16 Windows Installer Release Announcement. The Windows installer for Groovy 3.0.0-alpha-4 (Community Artifact) is available from the usual place: -https://bintray.com/groovy/Distributions/download_file?file_path=groovy-3.0.0-alpha-4-installer.exe - +https://groovy.jfrog.io/artifactory/dist-release-local/groovy-windows-installer/groovy-3.0.0-alpha-4/ Note this installer doesn't include Spock since there isn't a Spock release compatible with Groovy 3.0. diff --git a/site/src/site/blog/groovy-3-0-0-beta2.adoc b/site/src/site/blog/groovy-3-0-0-beta2.adoc index c9f725a..9f30275 100644 --- a/site/src/site/blog/groovy-3-0-0-beta2.adoc +++ b/site/src/site/blog/groovy-3-0-0-beta2.adoc @@ -4,10 +4,8 @@ Remko Popma :keywords: groovy, windows installer, release :description: Groovy 3.0.0-beta-2 Windows Installer Release Announcement. -The Windows installer for Groovy 3.0.0-beta-2 is now available from Bintray: -https://bintray.com/groovy/Distributions/download_file?file_path=groovy-3.0.0-beta-2-installer.exe - -I've again included a preview of an msi built with WiX, which I'm seeking feedback on: -https://bintray.com/groovy/Distributions/download_file?file_path=groovy-3.0.0-beta-2+%28preview+installer%29.msi +The Windows installer for Groovy 3.0.0-beta-2 is now available: +https://groovy.jfrog.io/artifactory/dist-release-local/groovy-windows-installer/groovy-3.0.0-beta-2/ +I've again included a preview of an msi built with WiX, which I'm seeking feedback on. Look in the same directory. Be aware that you need to fully uninstall the NSIS based Groovy installation before installing with an MSI installer. \ No newline at end of file diff --git a/site/src/site/blog/groovy-3-highlights.adoc b/site/src/site/blog/groovy-3-highlights.adoc index 2496e03..2727035 100644 --- a/site/src/site/blog/groovy-3-highlights.adoc +++ b/site/src/site/blog/groovy-3-highlights.adoc @@ -256,12 +256,13 @@ artifacts can be found on that page along with information to allow you to verif You can use the zip installation on any platform with Java support, or consider using an installer for your platform or IDE. -The Windows installer for the latest versions of Groovy 3 are available from https://bintray.com/groovy/Distributions/Windows-Installer[bintray]. (community artifact) +The Windows installer (community artifact) for the latest versions of Groovy 3 are available from: +https://groovy.jfrog.io/artifactory/dist-release-local/groovy-windows-installer/ For Linux users, the latest versions of Groovy 3 are also available in the https://snapcraft.io/groovy[Snap Store]. (community artifact) -For Eclipse users, the latest versions of the Groovy 3 groovy-eclipse-batch plugin are available from https://bintray.com/groovy/maven/groovy-eclipse-batch/[bintray]. (community artifact) +For Eclipse users, the latest versions of the Groovy 3 groovy-eclipse-batch plugin are available from bintray (UPDATE: now Maven Central). (community artifact) For Intellij users, the latest community editions of https://www.jetbrains.com/idea/[IDEA] have Groovy 3 support. diff --git a/site/src/site/blog/groovy-gatherers.adoc b/site/src/site/blog/groovy-gatherers.adoc index 606cd39..e50290e 100644 --- a/site/src/site/blog/groovy-gatherers.adoc +++ b/site/src/site/blog/groovy-gatherers.adoc @@ -6,7 +6,7 @@ Paul King :description: This post looks at using Gatherers (JEP 461) with Groovy. An interesting feature being previewed in JDK22 is _Gatherers_ -(https://openjdk.java.net/jeps/461[JEP 461]). +(https://openjdk.org/jeps/461[JEP 461]). This blog looks at using that feature with Groovy. The examples in this blog were tested with Groovy 4.0.16 using JDK version 22-ea+27-2262. As the JDK version we used is still in early access status, diff --git a/site/src/site/blog/groovy-list-processing-cheat-sheet.adoc b/site/src/site/blog/groovy-list-processing-cheat-sheet.adoc index be4b550..25ccf9d 100644 --- a/site/src/site/blog/groovy-list-processing-cheat-sheet.adoc +++ b/site/src/site/blog/groovy-list-processing-cheat-sheet.adoc @@ -236,7 +236,7 @@ GParsPool.withPool { ---- -Or using (https://openjdk.java.net/jeps/425[JEP 425]) virtual threads: +Or using (https://openjdk.org/jeps/425[JEP 425]) virtual threads: [source,groovy] ---- diff --git a/site/src/site/releasenotes/groovy-4.0.adoc b/site/src/site/releasenotes/groovy-4.0.adoc index bed8fa8..3444fa2 100644 --- a/site/src/site/releasenotes/groovy-4.0.adoc +++ b/site/src/site/releasenotes/groovy-4.0.adoc @@ -1129,7 +1129,7 @@ to help improve overall performance of the indy bytecode. [[Groovy4.0-breaking]] == Other breaking changes -* Groovy added some very minor enhancements when using the link:https://javaee.github.io/jaxb-v2/[JAXB technology] in its optional `groovy-jaxb` module. Since JAXB is link:https://openjdk.java.net/jeps/320[no longer bundled in the JDK], we removed this module. Users wanting that functionality are likely able to use the Groovy 3 version of that module with Groovy 4, though we don't guarantee this going forward. +* Groovy added some very minor enhancements when using the link:https://javaee.github.io/jaxb-v2/[JAXB technology] in its optional `groovy-jaxb` module. Since JAXB is link:https://openjdk.org/jeps/320[no longer bundled in the JDK], we removed this module. Users wanting that functionality are likely able to use the Groovy 3 version of that module with Groovy 4, though we don't guarantee this going forward. (link:https://issues.apache.org/jira/browse/GROOVY-10005[GROOVY-10005]). * The optional `groovy-bsf` module provides a Groovy BSF engine for the version 2 of BSF (a.k.a. beanshell) framework. This version hasn't had a release since 2005 and has reached end-of-life. In Groovy 4 we have removed this module. Users wanting that functionality are likely able to use the Groovy 3 version of that module with Groovy 4, though we don't guarantee this going forward. (link:https://issues.apache.org/jira/browse/GROOVY-10023[GROOVY-10023]). @@ -1276,7 +1276,7 @@ link:https://issues.apache.org/jira/browse/GROOVY-10543[GROOVY-10543] * Groovy optionally supports the use of security policy files to trigger security exceptions if unpermitted operations are performed (e.g. reading properties, exiting the JVM or accessing resources like files). -With the Java plan to phase out security policy framework (link:https://openjdk.java.net/jeps/411[JEP-411]), future Groovy versions will likely phase +With the Java plan to phase out security policy framework (link:https://openjdk.org/jeps/411[JEP-411]), future Groovy versions will likely phase out this optional support. In the meantime, users could expect warning messages if using such features and potentially exceptions in JDK 18 or 19. * Of particular note around security exceptions (see previous point), when using `groovysh` on JDK18 or JDK19, users should set `JAVA_OPTS` to `-Djava.security.manager=allow`. The `groovysh` tool uses a security manager to prohibit calls to `System::exit`. Alternative APIs to deal with this scenario are expected to emerge at some point and `groovysh` will move to those when available. diff --git a/site/src/site/releasenotes/groovy-5.0.adoc b/site/src/site/releasenotes/groovy-5.0.adoc index 23dc908..558d13d 100644 --- a/site/src/site/releasenotes/groovy-5.0.adoc +++ b/site/src/site/releasenotes/groovy-5.0.adoc @@ -419,7 +419,7 @@ names << 35 // boom! fails early === Underscore as a placeholder The use of "_" (underscore) as a placeholder for unused parameters is earmarked -for inclusion in future Java versions (see "Treatment of underscores" in https://openjdk.java.net/jeps/302[JEP 302: Lambda Leftovers]). +for inclusion in future Java versions (see "Treatment of underscores" in https://openjdk.org/jeps/302[JEP 302: Lambda Leftovers]). This is available in Groovy 5. Some examples: [source,groovy] @@ -471,10 +471,10 @@ and could be supported in contexts where expressions are expected. As inspiration, Java has made, or is investigating future enhancements including switch expressions and other related enhancements: -link:https://openjdk.java.net/jeps/354[JEP 354: Switch Expressions (Second Preview)] -link:https://openjdk.java.net/jeps/361[JEP 361: Switch Expressions] -link:https://openjdk.java.net/jeps/405[JEP 405: Record Patterns & Array Patterns (Preview)] -link:https://openjdk.java.net/jeps/406[JEP 406: Pattern Matching for switch (Preview)] +link:https://openjdk.org/jeps/354[JEP 354: Switch Expressions (Second Preview)] +link:https://openjdk.org/jeps/361[JEP 361: Switch Expressions] +link:https://openjdk.org/jeps/405[JEP 405: Record Patterns & Array Patterns (Preview)] +link:https://openjdk.org/jeps/406[JEP 406: Pattern Matching for switch (Preview)] We should investigate these proposals both in terms of enhancing the existing Groovy switch but also in terms of deciding which syntax from Java we might like to support in the future. diff --git a/site/src/site/wiki/GEP-12.adoc b/site/src/site/wiki/GEP-12.adoc index 3409200..a65d417 100644 --- a/site/src/site/wiki/GEP-12.adoc +++ b/site/src/site/wiki/GEP-12.adoc @@ -210,7 +210,7 @@ selection based on the type provided by the open block. In later versions of Groovy the static type checker has to be improved to refine method selection by the given type signature through the open block or lambda. A SAM type is then a fitting type for the coercion only if the provided types and the target types in the SAM are matching by number and type itself. A more detailed description can be -found here: http://cr.openjdk.java.net/~dlsmith/jsr335-0.6.1/F.html +found here: http://cr.openjdk.org/~dlsmith/jsr335-0.6.1/F.html == References and useful links diff --git a/site/src/site/wiki/groovy-release-discussion.adoc b/site/src/site/wiki/groovy-release-discussion.adoc index af7753a..ed5c4e0 100644 --- a/site/src/site/wiki/groovy-release-discussion.adoc +++ b/site/src/site/wiki/groovy-release-discussion.adoc @@ -80,7 +80,7 @@ Releasing a new version of Groovy also implies updating the website. Technically * connect to the server and update the _symlinks_ in _/var/www/docs/docs_ for _latest_ and _next_ versions of Groovy, so that the latest documentation link points to the just released version of Groovy * *then* update the _sitemap.groovy_ file in the Groovy Website repo to add the new version, commit, and push, leading to the generation of the website. In particular, the static website generator will fetch the release notes from JIRA and generate a pretty page using the website template, as well as generating some documentation pages from the whole documentation, again decorated with the website template. -Optionally, for major versions, release notes can be written in Asciidoctor format, and published through the website (see https://github.com/groovy/groovy-website/tree/master/site/src/site/releasenotes). +Optionally, for major versions, release notes can be written in Asciidoctor format, and published through the website (see github.com/groovy/groovy-website/tree/master/site/src/site/releasenotes). Eventually, the joint builds on the CI server need to be updated so that they use the latest snapshot versions of Groovy. This is done by changing the `CI_GROOVY_VERSION` environment variable of each build configuration.
