Skip to content

Latest commit

 

History

History
53 lines (45 loc) · 1.58 KB

File metadata and controls

53 lines (45 loc) · 1.58 KB

External Dependencies

A definition of Maven bom used to define all internal dependencies based on your project needs.

Prerequisites

Refer to root README

Usage

Maven

Import the bom

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>com.petromirdzhunev</groupId>
            <artifactId>external-dependencies</artifactId>
            <version>${latest_external_dependencies_version}</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
    </dependencies>
</dependencyManagement>

where ${latest_external_dependencies_version} is the last created version in Nexus, e.g. 1.2.3

Development

Build and publish SNAPSHOT versions to local repository

Change the version by adding a -SNAPSHOT suffix in the pom.xml file and then execute:

 mvnd -B clean install

Pointing to a local version

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>com.petromirdzhunev</groupId>
            <artifactId>external-dependencies</artifactId>
            <version>${latest_external_dependencies_version}-SNAPSHOT</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
    </dependencies>
</dependencyManagement>

Tracking changes

The external dependencies are not under our control, and we don't have a guarantee that they will have a changelog and whether it will follow the required format, so there is no need to put efforts in this direction.