Skip to content

Instantly share code, notes, and snippets.

@xinyii
Last active April 27, 2021 02:58
Show Gist options
  • Save xinyii/014a79ee6a5dc6f55e749d32ac86bf32 to your computer and use it in GitHub Desktop.
Save xinyii/014a79ee6a5dc6f55e749d32ac86bf32 to your computer and use it in GitHub Desktop.
[Maven install jar into local repo] #maven
mvn org.apache.maven.plugins:maven-install-plugin:2.5.2:install-file \
-Dfile=<jar-file> \
-DgroupId=<group> \
-DartifactId=<artifact> \
-Dversion=1.0 \
-Dpackaging=jar \
-DlocalRepositoryPath=${master_project}/local-maven-repo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment