adjust download page
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 @@
tr {
th 'Groovy version(s)'
th 'Release Jars'
- th 'Snapshot(*) Jars'
}
}
tbody {
@@ -474,7 +473,6 @@
}
}
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 @@
}
}
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 @@
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']