This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-site-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new 351d78cb Declare the file wagon that site:stage uses
351d78cb is described below
commit 351d78cb2b0ab36a0319089527f6c5f6fb506e4c
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Thu Nov 5 01:01:03 2026 +0000
Declare the file wagon that site:stage uses
site:stage deploys to a file: URL through Wagon and relied on the
wagon-file provider Maven ships in lib/. Declaring it keeps staging working on
a distribution without it.
---
pom.xml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/pom.xml b/pom.xml
index a3ab8168..d9887639 100644
--- a/pom.xml
+++ b/pom.xml
@@ -435,6 +435,14 @@ under the License.
<version>${wagonVersion}</version>
<scope>provided</scope>
</dependency>
+ <!-- the provider for file: URLs, used by site:stage, so that staging does
not depend on the one a Maven
+ distribution ships; other protocols come from build extensions (plain
http: cannot copy directories) -->
+ <dependency>
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-file</artifactId>
+ <version>${wagonVersion}</version>
+ <scope>runtime</scope>
+ </dependency>
<dependency>
<groupId>org.apache.commons</groupId>