From dec995c3267769deb8fce2de22653a2a0157ebf7 Mon Sep 17 00:00:00 2001 From: Slawomir Jaranowski Date: Fri, 6 Dec 2024 21:49:16 +0100 Subject: [PATCH] Try external download --- pom.xml | 13 +++++- src/site/resources/download.cgi | 22 ---------- src/site/xdoc/download.xml.vm | 75 --------------------------------- 3 files changed, 12 insertions(+), 98 deletions(-) delete mode 100644 src/site/resources/download.cgi delete mode 100644 src/site/xdoc/download.xml.vm diff --git a/pom.xml b/pom.xml index 6c347f6a..7dda32c0 100644 --- a/pom.xml +++ b/pom.xml @@ -23,7 +23,7 @@ under the License. org.apache.maven.plugins maven-plugins - 43 + 44-SNAPSHOT @@ -139,6 +139,7 @@ under the License. org.apache.maven.plugin-tools maven-plugin-annotations + ${version.maven-plugin-tools} javax.inject @@ -438,6 +439,16 @@ under the License. + + org.apache.maven.plugins + maven-remote-resources-plugin + + + site-download + pre-site + + + diff --git a/src/site/resources/download.cgi b/src/site/resources/download.cgi deleted file mode 100644 index 1b178d2e..00000000 --- a/src/site/resources/download.cgi +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/sh -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -# Just call the standard mirrors.cgi script. It will use download.html -# as the input template. -exec /www/www.apache.org/dyn/mirrors/mirrors.cgi $* \ No newline at end of file diff --git a/src/site/xdoc/download.xml.vm b/src/site/xdoc/download.xml.vm deleted file mode 100644 index 8f28f053..00000000 --- a/src/site/xdoc/download.xml.vm +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - Download ${project.name} Source - - - -
- -

${project.name} ${project.version} is distributed in source format.

- -

Use a source archive if you intend to build ${project.name} yourself.

- -

Otherwise, simply use the ready-made binary artifacts from central repository.

- -

${project.name} is distributed under the Apache License, version 2.0.

- - - -

This is the current stable version of ${project.name}.

- - - - - - - - - - - - - - - - - - -
LinkChecksumSignature
${project.name} ${project.version} (Source zip)${project.artifactId}-${project.version}-source-release.zip${project.artifactId}-${project.version}-source-release.zip.sha512${project.artifactId}-${project.version}-source-release.zip.asc
- -

It is essential that you verify the integrity of the downloaded file - using the checksum (.sha512 file) - or using the signature (.asc file) against the public KEYS used by the Apache Maven developers. -

- -
- - -

It is strongly recommended to use the latest release version of ${project.name} to take advantage of the newest features and bug fixes.

-

Older non-recommended releases can be found on our archive site.

-
-
- -
-