Skip to content

Conversation

@MicahMartin
Copy link

@MicahMartin MicahMartin commented Jul 25, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant