Skip to content

Latest commit

 

History

History
41 lines (34 loc) · 1.65 KB

File metadata and controls

41 lines (34 loc) · 1.65 KB

Java Project Dependency Management Template

The project contains templates for managing internal and external dependencies using Maven

Prerequisites

  1. Install SDKMAN
  2. Initialize SDKMAN environment
sdk env install
  1. Configure Maven settings
    • Copy settings.xml to your local .m2 folder
    • Secure your Nexus password using the following Maven guide
    • Replace username & password under <server> element

Usage

Distribution

Nexus

Distribution to Nexus is configured in two places:

  1. <distributionManagement> tag in pom.xml files
  2. settings.xml file, passed to Maven during the deployment in CI/CD pipeline. See an example in GitLab pipeline file defines the actual execution of the distribution

GitLab Registry

TBD

GitHub Packages

TBD

TODO: