Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Flex Mavenizer - Deploying to server using SCP

$
0
0
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.

Viewing all articles
Browse latest Browse all 5648

Latest Images

Trending Articles



Latest Images