Hi,

I am having a issue when I ma trying to deploy file on the remote repository.

I am trying to upload the bundle from Windows machine to remote repository 
which is on a linux machine. I am using the following command:

mvn org.apache.felix:maven-bundle-plugin:2.1.0:deploy-file 
-DobrRepository=http://<linux_server>/WEB_ROOT/m2_repo/repository.xml 
-Durl=scp:// <linux_server>/var/www/html/WEB_ROOT/m2_repo/inhouse 
-DrepositoryId=inhouse -DgroupId=com.springsource 
-DartifactId=com.springsource.javax.ejb -Dversion=3.0.0 -Dpackaging=jar 
-Dfile=com.springsource.javax.ejb_3.0.0.jar

but it gives the following error:

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Authentication failed

Embedded error: Cannot connect. Reason: ProxyHTTP: java.io.IOException: proxy 
error: Forbidden

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------

I am having no clue why this error comes.

Thanks & Regards,
Mohit Kumar


DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only. 
It shall not attach any liability on the originator or HCL or its affiliates. 
Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the 
opinions of HCL or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have 
received this email in error please delete it and notify the sender 
immediately. Before opening any mail and 
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------

Reply via email to