Adding a Protocol to Deploy the Site

Out of the box, Maven 3 only supports file:, http: and https: as transport protocols. Maven 2 adds scp: to this list.

If you try to deploy a site with an unsupported protocol, you'll get an error:

Unsupported protocol: '...' for site deployment to
Currently supported protocols are: ...
    Protocols may be added through wagon providers.
    For more information, see

As explained in the error message, to deploy a site with a non-built-in protocol, you need to add the corresponding wagon provider.

You can add it either as a global extension, or declare it at as a dependency of the site plugin:

            <dependency><!-- add support for ssh/scp -->