Skip to content

publishing a .jar on repsy

Émilien Devos edited this page Feb 5, 2021 · 2 revisions

In ~/.m2/settings:

<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
    http://maven.apache.org/xsd/settings-1.0.0.xsd">

    <servers>
        <server>
        <id>bolt-private</id>
        <username>username</username>
        <password>password</password>
        </server>
    </servers>
</settings>

Then

mvn deploy:deploy-file -DgroupId=me.example -DartifactId=yourpluginname -Dversion=1.2 -Dfile=./YOUR-Plugin-1.x-SNAPSHOT.jar -DrepositoryId=bolt-private -Durl=https://repo.repsy.io/mvn/boltrip/private
Clone this wiki locally