You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2021/04/16 21:50:22 UTC
[groovy-website] branch asf-site updated: adjust download page
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
The following commit(s) were added to refs/heads/asf-site by this push:
new 741a5da adjust download page
741a5da is described below
commit 741a5da6be44746c5b3dc578dd27bb4c1e1fd877
Author: Paul King <pa...@asert.com.au>
AuthorDate: Sat Apr 17 07:50:13 2021 +1000
adjust download page
---
site/src/site/pages/download.groovy | 5 +---
site/src/site/pages/snapshots.groovy | 54 ++++++++++++++++++++++++++++++++++++
site/src/site/sitemap-dev.groovy | 1 +
3 files changed, 56 insertions(+), 4 deletions(-)
diff --git a/site/src/site/pages/download.groovy b/site/src/site/pages/download.groovy
index 63fc6d3..478ffbf 100644
--- a/site/src/site/pages/download.groovy
+++ b/site/src/site/pages/download.groovy
@@ -463,7 +463,6 @@ layout 'layouts/main.groovy', true,
tr {
th 'Groovy version(s)'
th 'Release Jars'
- th 'Snapshot(*) Jars'
}
}
tbody {
@@ -474,7 +473,6 @@ layout 'layouts/main.groovy', true,
}
}
td "${$a(href:'https://repo1.maven.org/maven2/org/codehaus/groovy/','Maven Central')} or ${$a(href:'https://groovy.jfrog.io/artifactory/libs-release-local/org/codehaus/groovy','Groovy artifactory release repository')}"
- td "${$a(href:'https://groovy.jfrog.io/artifactory/libs-snapshot-local/org/codehaus/groovy','Groovy artifactory snapshots repository')}"
}
tr {
td {
@@ -483,11 +481,10 @@ layout 'layouts/main.groovy', true,
}
}
td "${$a(href:'https://repo1.maven.org/maven2/org/apache/groovy/','Maven Central')} or ${$a(href:'https://groovy.jfrog.io/artifactory/libs-release-local/org/apache/groovy','Groovy artifactory release repository')}"
- td "${$a(href:'https://repository.apache.org/content/repositories/snapshots/org/apache/groovy','ASF Snapshots repository')}"
}
}
}
- p "(*) Snapshots are not official releases but are provided to assist with integration testing leading up to an official release."
+ p "Note for the development community: developers needing access to pre-release artifacts to assist with integration testing leading up to an official release should consult the appropriate ${$a(href: 'snapshots.html','developer documentation')}."
}
hr(class: 'divider')
diff --git a/site/src/site/pages/snapshots.groovy b/site/src/site/pages/snapshots.groovy
new file mode 100644
index 0000000..5cb9d1f
--- /dev/null
+++ b/site/src/site/pages/snapshots.groovy
@@ -0,0 +1,54 @@
+layout 'layouts/main.groovy', true,
+ pageTitle: "The Apache Groovy programming language - Snapshot artifacts",
+ mainContent: contents {
+
+ div(id: 'content', class: 'page-1') {
+ div(class: 'row') {
+ div(class: 'row-fluid') {
+ div(class: 'col-lg-3') {
+ ul(class: 'nav-sidebar') {
+ li {
+ a(href: 'download.html', 'Download Official Releases of Groovy')
+ }
+ }
+ }
+
+ div(class: 'col-lg-8 col-lg-pull-0') {
+ h1('Snapshot artifact information')
+ p "The Groovy project values our official releases highly. They are checked by our test suite of over 10000 tests before releasing and cross-checked by humans as part of a ${$a(href:'https://www.apache.org/legal/release-policy.html#:~:text=Each%20PMC%20MUST%20obey%20the,by%20PMC%20members%20are%20binding.','formal release process')}."
+ p 'Snapshots are not official releases and are made available only to the development community to assist with integration testing leading up to an official release.'
+ h3 'Maven repositories'
+ table(class: 'table') {
+ thead {
+ tr {
+ th 'Groovy version(s)'
+ th 'Official Release Jars'
+ th 'Snapshot Jars'
+ }
+ }
+ tbody {
+ tr {
+ td {
+ strong {
+ em 'Groovy versions 1.x to 3.x'
+ }
+ }
+ td "${$a(href:'https://repo1.maven.org/maven2/org/codehaus/groovy/','Maven Central')} or ${$a(href:'https://groovy.jfrog.io/artifactory/libs-release-local/org/codehaus/groovy','Groovy artifactory release repository')}"
+ td "${$a(href:'https://groovy.jfrog.io/artifactory/libs-snapshot-local/org/codehaus/groovy','Groovy artifactory snapshots repository')}"
+ }
+ tr {
+ td {
+ strong {
+ em 'Groovy versions 4.x+'
+ }
+ }
+ td "${$a(href:'https://repo1.maven.org/maven2/org/apache/groovy/','Maven Central')} or ${$a(href:'https://groovy.jfrog.io/artifactory/libs-release-local/org/apache/groovy','Groovy artifactory release repository')}"
+ td "${$a(href:'https://repository.apache.org/content/repositories/snapshots/org/apache/groovy','ASF Snapshots repository')}"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
diff --git a/site/src/site/sitemap-dev.groovy b/site/src/site/sitemap-dev.groovy
index ee31f20..7cea665 100644
--- a/site/src/site/sitemap-dev.groovy
+++ b/site/src/site/sitemap-dev.groovy
@@ -59,6 +59,7 @@ pages {
page 'search', 'search', [category: 'Search']
page 'download', 'download', [category: 'Download', distributions: distributions]
page 'versioning', 'versioning', [category: 'Download']
+ page 'snapshots', 'snapshots', [category: 'Develop']
page 'contribute', 'index', [category: 'Develop']
page 'guidelines', 'guidelines', [category: 'Develop']
page 'buildstatus', 'buildstatus', [category: 'Develop']