ant-ivy icon indicating copy to clipboard operation
ant-ivy copied to clipboard

Invoking Ivy Standalone with SCP Resolver plugin causes error

Open MicahMartin opened this issue 6 years ago • 0 comments

How do I use ivy as a standalone with the sftp resolver ivysettings.xml

....

<sftp name="publish" host="ivy.boston.com" user="${login.user}" userPassword="${login.password}"  >
  <ivy pattern="/tech/ivy/[organization]/[module]/[type]s/[artifact]-[revision].[ext]" />
  <artifact pattern="/tech/ivy/[organization]/[module]/[type]s/[artifact]-[revision].[ext]" />
</sftp>

... I'm getting this error

"main" java.lang.NoClassDefFoundError: com/jcraft/jsch/JSchException 

Tried including jsch on the classpath with java -cp ~/Downloads/apache-ivy-2.1.0-rc1/ivy-2.1.0-rc1.jar:lib/* com.apache.ivy.Main I am using ivy with deps.

Please send help, I don't want to use eclipse.

MicahMartin avatar Jul 25 '19 20:07 MicahMartin