And in case of running it from maven - instead of standart form:
you'll need to add the following dependencies:maven-antrun-plugin 1.7 deploy .... run
otherwise you'll get in maven smth like that:maven-antrun-plugin 1.7 org.apache.ant ant-jsch 1.7.0 com.jcraft jsch 0.1.48 deploy .... run
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (default) on project ...
ildException has occured: Problem: failed to create task or type scp
[ERROR] Cause: the class org.apache.tools.ant.taskdefs.optional.ssh.Scp was not found.
[ERROR] This looks like one of Ant's optional components.
[ERROR] Action: Check that the appropriate optional JAR exists in
[ERROR] -ANT_HOME\lib
[ERROR] -the IDE Ant configuration dialogs
[ERROR]
[ERROR] Do not panic, this is a common problem.
[ERROR] The commonest cause is a missing JAR.
[ERROR]
[ERROR] This is not a bug; it is a configuration problem
[ERROR]
[ERROR] around Ant part ...<scp ....
[ERROR] -> [Help 1]
Комментариев нет:
Отправить комментарий