Maven: install an artifact to local repository
January 17, 2012 13:49:26 Last update: January 17, 2012 13:49:26
Some dependencies may not be available from the central Maven repository, or any public repository (for example, due to licensing issues). You can install these to your local repository with the Maven Install Plugin:
mvn install:install-file -Dfile=path-to-your-artifact-jar \ -DgroupId=your.groupId \ -DartifactId=your-artifactId \ -Dversion=version \ -Dpackaging=jar \ -DlocalRepositoryPath=path-to-specific-local-repo
fileparameter is required.