Skip to content

Instantly share code, notes, and snippets.

@noherczeg
Last active August 29, 2015 14:21
Show Gist options
  • Select an option

  • Save noherczeg/c85c0805015d0a668601 to your computer and use it in GitHub Desktop.

Select an option

Save noherczeg/c85c0805015d0a668601 to your computer and use it in GitHub Desktop.
// MAVEN DEP DOWNLOAD BUG
Known Ubuntu + java + keytool bug, where maven can't download dependencies:
CA certs are corrupt somehow, so we need to regen them....
https://help.ubuntu.com/lts/serverguide/certificates-and-security.html#generating-a-csr
// JAVA
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
sudo apt-get install oracle-java7-set-default
// MAVEN
- dl
- sudo nano ~/.profile
- Add to the end of the file:
PATH=/home/YOUR_USER_NAME/Tools/maven/bin/:${PATH}
- save
- source ~/.profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment