Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invoking Ivy Standalone with SCP Resolver plugin causes error #88

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

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