To build StrongKey FIDO ServerTM from source, certain dependencies are required. If these dependencies are not present in the Maven repository, follow the instructions below.
How to add Maven dependencies in local Maven Repository
When a maven project cannot find the dependencies and is unable to build, add the dependencies manually. These dependencies can be found in the server/lib/ directory.
Add Maven dependencies
- Run these commands in a terminal in the fido2/server directory to add the dependencies.
- SYNTAX
mvn install:install-file -Dfile=<path-to-file> -DgroupId="group-id" -DartifactId="artifact-id" -Dversion="version" -Dpackaging="packaging" -DgeneratePom=true/false
- Example
mvn install:install-file "-Dfile=lib/replicationEJB-4.10.0.jar" "-DgroupId=com.strongkey" "-DartifactId=replicationEJB" "-Dversion=4.10.0" "-Dpackaging=jar" "-DgeneratePom=true"
- This will add the replicationEJB-4.10.0.jar to the local maven repository. Find it in the .m2 directory once installed. Change the packaging to the appropriate value (jar/war/ear).
LIST OF DEPENDENCIES NEEDED FOR STRONGKEY FIDO SERVER (v4.10.0)
- replicationEJB-4.10.0.jar
- replicationWAR-4.10.0.war