Skip to content

Invoking Ivy Standalone with SCP Resolver plugin causes error#88

Closed
MicahMartin wants to merge 5 commits intomasterfrom
1.4.x
Closed

Invoking Ivy Standalone with SCP Resolver plugin causes error#88
MicahMartin wants to merge 5 commits intomasterfrom
1.4.x

Conversation

@MicahMartin
Copy link
Copy Markdown

@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.

@bodewig
Copy link
Copy Markdown
Member

bodewig commented Feb 16, 2026

I don't understand this PR, it contains changes that are part of master and have been for a very long time event before this PR has been opened.

@bodewig bodewig closed this Feb 16, 2026
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.

2 participants