pttorgenrud wrote:
Hi Guillaume,
I fiddled some more. It was just a matter of creating the project properly
(core only so far, I haven't looked at pam yet) and including the
dependencies. I was too impatient yesterday :)
Minimal dependencies to create an sshd-core Eclipse project without errors:
mina-core jar
slf4j-simple jar
slf4f-api jar
junit jar
bcprov jar
spring jar
Jsch project (JCraft doesn't seem to distribute jars and you have to correct
a bug in one of the examples.)
JZlib project
Using mvn dependency:list gives you the dependencies :
...
[INFO] aopalliance:aopalliance:jar:1.0:test
[INFO] bouncycastle:bcprov-jdk15:jar:140:compile
[INFO] com.jcraft:jsch:jar:0.1.41:test
[INFO] com.jcraft:jzlib:jar:1.0.7:compile
[INFO] commons-logging:commons-logging:jar:1.1.1:test
[INFO] jline:jline:jar:0.9.94:test
[INFO] junit:junit:jar:4.4:test
[INFO] log4j:log4j:jar:1.2.13:test
[INFO] org.apache.mina:mina-core:jar:2.0.0-M6:compile
[INFO] org.slf4j:slf4j-api:jar:1.5.2:compile
[INFO] org.slf4j:slf4j-log4j12:jar:1.4.3:test
[INFO] org.springframework:spring-beans:jar:2.5.5:test
[INFO] org.springframework:spring-context:jar:2.5.5:test
[INFO] org.springframework:spring-core:jar:2.5.5:test
...
and for PAM :
[INFO] commons-logging:commons-logging:jar:1.1.1:compile
[INFO] net.sf.jpam:jpam:jar:1.1:compile
[INFO] org.apache.mina:mina-core:jar:2.0.0-M6:compile
[INFO] org.apache.sshd:sshd-core:jar:1.0-SNAPSHOT:compile
[INFO] org.slf4j:slf4j-api:jar:1.5.2:compile
Note that some of the dependencies are deduced autimatically from other
jars (aopalliance is pulled by log4j, AFAICT)
--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org