Skip to content

Instantly share code, notes, and snippets.

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