Skip to content

Instantly share code, notes, and snippets.

@vanpeerdevelopment
Created December 26, 2013 12:21
Show Gist options
  • Save vanpeerdevelopment/8133127 to your computer and use it in GitHub Desktop.
Save vanpeerdevelopment/8133127 to your computer and use it in GitHub Desktop.
Example to show executing maven with an environment variable passed to the mvn command.
mvn -Dmaven.repo.local=C:\repository clean install
...
mvn -Dmaven.repo.local=C:\repository clean install
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment