Ok ... so I had a look. It seems that Aether doesn't support scp out of the box.
I tried adding the wagon-ssh module (I see you tried it too) but that didn't 
get me very far.
I'll try to dig a little deeper into this problem as soon as I can spare some 
time.

Chris

-----Ursprüngliche Nachricht-----
Von: acharles [mailto:[email protected]] 
Gesendet: Mittwoch, 12. März 2014 22:25
An: [email protected]
Betreff: Flex Mavenizer - Deploying to server using SCP

I am almost there in mavenizing the SDK and deploying it to our local repo, but 
I can't get it to work using SCP, even though it looks like it should. 
I use the following command line:

(this is on windows)

PS > java -cp ./flex-sdk-converter.jar SDKInVMDeployer ./output 
"scp://dev-linux.novalinx.net/var/www/maven" "<user-redacted>"
"<password-redacted>"

I get the following error/output:

Installing Artifact: org.apache.flex:compiler:4.12.0.20140303
 - File with extension pom
org.eclipse.aether.deployment.DeploymentException: Failed to deploy
artifacts/metadata: Cannot access ssh://dev-linux.novalinx.net/var/www/maven
with type default using the available connector factories:
BasicRepositoryConnectorFactory
        at
org.eclipse.aether.internal.impl.DefaultDeployer.deploy(DefaultDeployer.java:293)
        at
org.eclipse.aether.internal.impl.DefaultDeployer.deploy(DefaultDeployer.java:269)
        at
org.eclipse.aether.internal.impl.DefaultRepositorySystem.deploy(DefaultRepositorySystem.java:413)
        at SDKInVMDeployer.processArtifact(SDKInVMDeployer.java:214)
        at SDKInVMDeployer.processDir(SDKInVMDeployer.java:152)
        at SDKInVMDeployer.processDir(SDKInVMDeployer.java:161)
        at SDKInVMDeployer.processDir(SDKInVMDeployer.java:161)
        at SDKInVMDeployer.processDir(SDKInVMDeployer.java:161)
        at SDKInVMDeployer.processDir(SDKInVMDeployer.java:161)
        at SDKInVMDeployer.processDir(SDKInVMDeployer.java:161)
        at SDKInVMDeployer.start(SDKInVMDeployer.java:137)
        at SDKInVMDeployer.main(SDKInVMDeployer.java:89)
Caused by: org.eclipse.aether.transfer.NoRepositoryConnectorException:
Cannot access ssh://dev-linux.novalinx.net/var/www/maven with type default 
using the available connector factories: BasicRepositoryConnectorFactory
        at
org.eclipse.aether.internal.impl.DefaultRepositoryConnectorProvider.newRepositoryConnector(DefaultRepositoryC
onnectorProvider.java:208)
        at
org.eclipse.aether.internal.impl.DefaultDeployer.deploy(DefaultDeployer.java:289)
        ... 11 more

Caused by: org.eclipse.aether.transfer.NoRepositoryConnectorException:
Cannot access ssh://dev-linux.novalinx.net/var/www/maven using the registered 
transporter factories: HttpTransporterFactory, FileTransporterFactory, 
WagonTransporterFactory
        at
org.eclipse.aether.connector.basic.BasicRepositoryConnector.<init>(BasicRepositoryConnector.java:115)
        at
org.eclipse.aether.connector.basic.BasicRepositoryConnectorFactory.newInstance(BasicRepositoryConnectorFactory.java:171)
        at
org.eclipse.aether.internal.impl.DefaultRepositoryConnectorProvider.newRepositoryConnector(DefaultRepositoryConnectorProvider.java:140)
        ... 12 more

Caused by: org.eclipse.aether.transfer.NoTransporterException: Cannot access 
ssh://dev-linux.novalinx.net/var/www/maven using the registered transporter
factories: HttpTransporterFactory, FileTransporterFactory, 
WagonTransporterFactory
        at
org.eclipse.aether.internal.impl.DefaultTransporterProvider.newTransporter(DefaultTransporterProvider.java:185)
        at
org.eclipse.aether.connector.basic.BasicRepositoryConnector.<init>(BasicRepositoryConnector.java:111)

------------------------
I tried it with the "scp" prefix too and it doesn't work.
Documentation on this is rather sparse...I've searched and found little besides 
the Mavenizer page, which doesn't go into the details on the deployment 
transport.

Any help will be appreciated!  Thanks.




--
View this message in context: 
http://apache-flex-users.2333346.n4.nabble.com/Flex-Mavenizer-Deploying-to-server-using-SCP-tp5432.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to