Skip to content

Instantly share code, notes, and snippets.

@gwsu2008
Last active May 26, 2020 05:00
Show Gist options
  • Save gwsu2008/667845fbd44ff7aa095385f70c5d8941 to your computer and use it in GitHub Desktop.
Save gwsu2008/667845fbd44ff7aa095385f70c5d8941 to your computer and use it in GitHub Desktop.
maven-local-repo
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<!-- localRepository
| The path to the local repository maven will use to store artifacts.
|
| Default: ${user.home}/.m2/repository -->
<localRepository>E:/devsetup/M2</localRepository>
</settings>
mvn help:evaluate -Dexpression=settings.localRepository | grep -v '\[INFO\]'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment