Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Auto Closed
-
2.8
-
None
-
None
Description
This is certainly not an issue with m-site-p, however it may well not be an issue in wagon-provider-api either, as it's on 2.2 and site is still using 1.0.
I have my site distribution URL configured like so:
{{ <url>scp://private-site/home/private/site/releases/${project.groupId}/${project.artifactId}/${project.version}/</url> }}
Where "private-site" is an ssh configuration like this output from cat ~/.ssh/config:
Host private-site Hostname real.domain.name Port 1234
However site:deploy (presumably using wagon) ignores this and throws the following:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0:deploy (default-cli) on project myProject: Error uploading site: Cannot connect. Reason: java.net.UnknownHostException: private-site -> [Help 1]
I believe this is still an issue with site 3.2, however will check upon request.