Is it possible to use SSH/SCP for publishing to a maven repo using the new publishing mechanism?


(Karel Maesen) #1

I’m trying to set up a Maven publication using the maven-publish plugin, but I can’t figure out how to configure this so that the protocol to use is scp. Just changing the url to “scp://” gives me

Failed to publish publication ‘mavenJava’ to repository ‘hs-snapshots-repository’

Error deploying artifact ‘org.hibernate:hibernate-spatial:jar’: Error retrieving previous build number for artifact ‘org.hibernate:hibernate-spatial:jar’: repository metadata for: ‘snapshot org.hibernate:hibernate-spatial:4.3-SNAPSHOT’ could not be retrieved from repository: remote due to an error: Unsupported Protocol: ‘scp’: Cannot find wagon which supports the requested protocol: scp

Is scp/ssh even supported? Or am I missing something?


(Warren Muller) #2

Did you get any further with this? I have the same problem. Thanks