Skip to content

Latest commit

 

History

History
43 lines (36 loc) · 1.15 KB

README.md

File metadata and controls

43 lines (36 loc) · 1.15 KB

Maven repository

This repository is used to keep published Maven packages in one repository for convenience.

Please see the GitHub Packages documentation on how to configure for usage.

Example configuration

Inside ~/.m2/settings.xml:

<repository>
    <id>anskaffelser</id>
    <url>https://maven.pkg.github.com/anskaffelser/maven</url>
    <snapshots>
        <enabled>true</enabled>
    </snapshots>
</repository>
<server>
    <id>anskaffelser</id>
    <username>[GITHUB USERNAME]</username>
    <password>[GITHUB TOKEN]</password>
</server>

Publishing information inside pom.xml:

<distributionManagement>
    <repository>
        <id>anskaffelser</id>
        <name>Anskaffelser Maven repository</name>
        <url>https://maven.pkg.github.com/anskaffelser/maven</url>
    </repository>
    <snapshotRepository>
        <id>anskaffelser</id>
        <name>Anskaffelser Maven repository</name>
        <url>https://maven.pkg.github.com/anskaffelser/maven</url>
    </snapshotRepository>
</distributionManagement>