Skip to content

37bytes/files-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

files-service

Релиз в Maven Central

  1. Импорт GPG ключа. Создать файл maven_private.key с содержимым из Vault dev/maven_central/GPG_PRIVATE_KEY.
  gpg --import maven_private.key   
  1. Настроить maven. Отредактировать ~/.m2/settings.xml Значения брать из Vault dev/maven_central
<settings>
    <servers>
        <server>
            <id>ossrh</id>
            <username>USERNAME</username>
            <password>PASSWORD</password>
        </server>
    </servers>
    <profiles>
        <profile>
            <id>ossrh</id>
            <activation>
                <activeByDefault>false</activeByDefault>
            </activation>
            <properties>
                <gpg.keyname>GPG_KEYNAME</gpg.keyname>
                <gpg.passphrase>GPG_PASSPHRASE</gpg.passphrase>
            </properties>
        </profile>
    </profiles>
</settings>
  1. В pom.xml обновить версию.

  2. В IDE выбрать Maven профиль osshr и запустить сначала clean, после deploy

  3. Для проверки зайти https://s01.oss.sonatype.org и в поиске вбить dev.b37.libs и найти артифакт и версию

В maven central появляется не сразу, синкается через некоторое время. Можно проверить поиском https://central.sonatype.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages