Skip to content

Instantly share code, notes, and snippets.

@jorisdevrede
Created December 4, 2017 13:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jorisdevrede/f74dc358365847473bb43660e6edacc5 to your computer and use it in GitHub Desktop.
Save jorisdevrede/f74dc358365847473bb43660e6edacc5 to your computer and use it in GitHub Desktop.
Development setup

Java

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

Java Cryptography Extension (JCE) Unlimited Strength

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

Maven setup

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment