To install a library, copy its definition into the $SERVER_HOME/repository/libraries/usr directory. Ensure that all referenced bundles have been installed as well.
$SERVER_HOME/repository/libraries/usr