Gitlab Token Auth Plugin

How do I use it?

Nexus authentication using Gitlab User token


  • Unzip the bundle (target/ under sonatype-work/nexus/plugin-repository
  • Copy & Edit the sample/gitlab-plugin.xml to: sonatype-work/nexus/conf/gitlab-plugin.xml
  • Start Nexus and use the Administration->Server panel to add Gitlab Token Authentication Realm to the list of active realms.


<?xml version="1.0" encoding="UTF-8"?>


First: mvn generate-sources This generates Configuration stubsThen you can make changes using the configuration classes.Build: mvn clean install -DskipTests=true Generates: target/nexus-gitlab-token-auth-plugin-0.3.0-SNAPSHOT-bundle.zipIntegration Tests: mvn clean integration-test -P it Now you can run Integration Tests: mvn test


Thanks to the Crowd Plugin: GitHub - PatrickRoumanoff/nexus-crowd-plugin: Sonatype Nexus plugin for Atlassian Crowd integration This was heavily influenced and adapted for Gitlab.

Where do I get this?

Who can I contact about it?
COMPANY: Technical Fellow