From 28c3305ad6147dfda7b062a34712e5c8e5b9b77c Mon Sep 17 00:00:00 2001 From: Guilhem Bonnefille <guilhem.bonnefille@csgroup.eu> Date: Tue, 30 Jun 2020 15:11:26 +0200 Subject: [PATCH] Declare SSH target for uploading site --- pom.xml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 380f3492..613e0701 100644 --- a/pom.xml +++ b/pom.xml @@ -148,7 +148,7 @@ <site> <id>rugged.website</id> <name>Rugged Website</name> - <url>https://www.orekit.org/rugged/</url> + <url>scp://cochise@spoutnik.orekit.org/var/www/mvn-sites/site-rugged-${project.version}</url> </site> </distributionManagement> @@ -321,6 +321,13 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-site-plugin</artifactId> <version>${rugged.maven-site-plugin.version}</version> + <dependencies> + <dependency><!-- add support for ssh/scp --> + <groupId>org.apache.maven.wagon</groupId> + <artifactId>wagon-ssh</artifactId> + <version>3.3.4</version> + </dependency> + </dependencies> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> -- GitLab