Skip to content

Instantly share code, notes, and snippets.

@helpermethod
Last active June 16, 2017 16:14
Show Gist options
  • Save helpermethod/b0284c3add95bddbc0ad63ff1d6e7ebb to your computer and use it in GitHub Desktop.
Save helpermethod/b0284c3add95bddbc0ad63ff1d6e7ebb to your computer and use it in GitHub Desktop.
Maven Offline Betrieb

Maven Offline Betrieb

  • $HOME/.m2/repository umbenennen
$ mv $HOME/.m2/repository{,.old}

In Projektordner dependency:go-offline Goal ausführen

$ mvn clean install dependency:resolve-plugins dependency:go-offline

Neues repository umbenennen, z.B.

$ mv $HOME/.m2/repository{,.schulung}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment