sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
sudo apt-get install oracle-java8-set-default
To utilize 256 bits keys in Java, the following extensions need to be installed: Unlimited Strength Jurisdiction Policy Files (Java 8)
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-unlimited-jce-policy
To use the central maven repository the following settings.xml must be used (to be placed in ~/.m2/): nexus central http://dev.domain.com/nexus/content/groups/public/
<profiles>
<profile>
<id>nexus</id>
<repositories>
<repository>
<id>Nexus</id>
<url>http://dev.domain.com/nexus/content/repositories/thirdparty</url>
</repository>
<repository>
<id>apache.snapshots</id>
<name>Apache Development Snapshot Repository</name>
<url>https://repository.apache.org/content/repositories/snapshots/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>Nexus</id>
<url>http://dev.domain.com/nexus/content/repositories/thirdparty</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>nexus</activeProfile>
</activeProfiles>
<proxies>
<proxy>
<id>optional</id>
<active>true</active>
<protocol>http</protocol>
<host>proxy.domain.com</host>
<port>8080</port>
<nonProxyHosts>localhost|domain.com</nonProxyHosts>
</proxy>
</proxies>