Install any jar manually into Maven repository

mvn install:install-file -DlocalRepositoryPath=local-repo -DcreateChecksum=true -Dpackaging=jar -Dfile=[your-jar] -DgroupId=[...] -DartifactId=[...] -Dversion=[...]
local-repo can be an additional repository (inside and exclusive) for a specific project or can be the default repository, which is ~/.m2/repository.
Share itShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

Leave a Reply

Your email address will not be published. Required fields are marked *