1. Install library – mvn install
mvn install:install-file -Dfile=c:\kaptcha-2.3.jar -DgroupId=com.google.code -DartifactId=kaptcha -Dversion=2.3 -Dpackaging=jar
mvn install:install-file -Dfile=dwr.jar -DgroupId=org.directwebremoting -DartifactId=dwr -Dversion=3.0.RC2 -Dpackaging=jar
-DgeneratePom=true -Dclassifier=sources
2. Modify pom.xml file
After installed, you can add the custom library details into your “pom.xml” file like this
3. Done
Build it, now the “kaptcha” jar is able to retrieve from your Maven local repository.