Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

Latest commit

 

History

History
48 lines (30 loc) · 969 Bytes

File metadata and controls

48 lines (30 loc) · 969 Bytes

PacMan

Utility to configure build tools to use security gateway as package repository.

pacman aka. Package Manager inspired by the pacman is a tool for easily configuring various package managers such as Gradle, Maven etc. to use the security gateway for downloading required dependencies.

Setup

Run pacman configuration wizard

./pacman.sh configure

Refer to gateway authentication) for more details on how to create gateway users.

Configure Gradle

./pacman.sh setup-gradle

Configure Maven

./pacman.sh setup-maven

Note: This script overwrite $HOME/.m2/settings.xml

Configuring Project

To configure package managers building a specific project, set environment

GATEWAY_PROJECT_ID=project-id

Cleanup

Remove any configuration file added by pacman

./pacman clean

Reference