On Mon, Aug 24, 2009 at 10:16 AM, lounnaci<m.lounn...@hb-technologies.com.dz> wrote: > > Hi > > The problem is always there. It is blocking :,( >
Check you have the dependency correct in your XML. If the dependency is an open-source one, then you can use a site like http://mvnrepository.com/ to check that the dependency is available in one of the central Maven repositories. Maven should then download the dependency for you, into your local Maven repository (~/.m2/repo). Unfortunately, if the dependency you want is not in a Maven repository, then you have a two-step process: 1. configure the dependency in your pom.xml, as you've already done. 2. install the dependency manually into your Maven repository: Here's an example of how to install the BouncyCastle dependency manually: mvn install:install-file -DgroupId=bouncycastle -DartifactId=bctsp-jdk14 -Dversion=138 -Dpackaging=jar -Dfile=./bctsp-jdk14-138.jar The final parameter, file, should point to where you have the JAR on your computer. The other parameters should match exactly what you've configured in your pom.xml dependencies. FINALLY -- its always a good idea (esp. if you're having Eclipse errors) to do a full clean, before compiling: i.e. mvn clean compile Alex --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net For additional commands, e-mail: users-h...@appfuse.dev.java.net