Using the levigo Nexus repository

Using the levigo Nexus repository

To get access to levigo Maven artifacts, you can set up your maven configuration to include our Nexus repository.

Our Nexus UI can be browsed at https://levigo.de/maven2/
The Maven Repository URL is https://levigo.de/maven2/repository/all-repositories/

User and password have to be manually created, so please ask your contact at levigo to provide you access.

 How to set up the configuration

Please make sure your configuration includes the default Maven Central repository before the levigo repository, otherwise all Maven artifacts, including public ones, are requested through our Nexus which is slower and causes unnecessary traffic on our system.

→ Starting 30.11.2025 public Maven artifacts will no longer be available through our Nexus.

  • the Maven settings are defined using an XML configuration located by default at ~/.m2/settings.xml( ~ represents the user home directory).

  • If you want to set the configuration manually, you can use the -s flag like so:
    mvn install -s /path/to/custom-settings.xml

  • As a last resort, if you can not use a file:
    mvn install -s <(echo '<settings><servers><server>...</servers></settings>')

Example configuration:

<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd"> <localRepository/> <interactiveMode/> <usePluginRegistry/> <offline/> <pluginGroups/> <servers> <server> <id>levigo-nexus</id> <username>my-user</username> <password>***</password> </server> </servers> <proxies/> <profiles> <profile> <id>default</id> <activation> <activeByDefault>true</activeByDefault> </activation> <repositories> <repository> <id>maven-central</id> <url>https://repo.maven.apache.org/maven2/</url> <snapshots> <enabled>false</enabled> </snapshots> <releases> <enabled>true</enabled> <updatePolicy>daily</updatePolicy> <checksumPolicy>fail</checksumPolicy> </releases> </repository> <repository> <id>levigo-nexus</id> <url>https://levigo.de/maven2/repository/all-repositories/</url> <snapshots> <enabled>false</enabled> </snapshots> <releases> <enabled>true</enabled> <updatePolicy>never</updatePolicy> <checksumPolicy>fail</checksumPolicy> </releases> </repository> </repositories> </profile> </profiles> <activeProfiles/> </settings>

Replace the username and password with your credentials.

Reference:

Maven Settings: https://maven.apache.org/settings.html

Password Encryption: https://maven.apache.org/guides/mini/guide-encryption.html