How to publish Maven packages to a single GitHub repository

How to publish Maven packages to a single GitHub repository

TramoTech

11 месяцев назад

5,049 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@KarimaFikri-j4g
@KarimaFikri-j4g - 02.11.2023 19:06

👍👍👍👍👍👍

Ответить
@albatross4197
@albatross4197 - 03.11.2023 08:06

Well explained 👍

Ответить
@victorchavez9412
@victorchavez9412 - 14.12.2023 13:28

I followed the steps and I can publish the package but when importing my github package I get status code: 401, reason phrase: Unauthorized (401)

Ответить
@pareshgupta3288
@pareshgupta3288 - 07.01.2024 12:37

After uploading How can I deploy via GITHUB since it's maven based project and not a static one so please explain I am really confused.

Ответить
@lucasseeger2347
@lucasseeger2347 - 16.01.2024 18:37

I followed the same steps and it worked for me. Thanks

Ответить
@ifeoluwae-stvadebayocoven9990
@ifeoluwae-stvadebayocoven9990 - 21.01.2024 19:47

its not working for me

Ответить
@ahmedzuffenhausen9299
@ahmedzuffenhausen9299 - 15.02.2024 09:42

Well explained

Ответить
@Aditya7deep_BOD
@Aditya7deep_BOD - 15.04.2024 08:37

Extremely useful. Thanks boss

Ответить
@martinzaragoza5027
@martinzaragoza5027 - 19.04.2024 10:09

Concise ; straight to the point

Good job

Ответить
@uwemnkereuwem6272
@uwemnkereuwem6272 - 24.04.2024 10:00

What happens if you try to load the package from another machine where you haven't added the access token to maven?

Ответить
@codeuntilbecomebillionaire
@codeuntilbecomebillionaire - 06.05.2024 11:31

Hi, i trying to do the same like you explain in the video, but i dont find file settings.xml in my .m2 folder. Could you tell what's wrong with my setting ?

Ответить
@AntonHueber
@AntonHueber - 08.05.2024 09:56

Thanks! It helped me

Ответить
@SonarMaghreb
@SonarMaghreb - 10.05.2024 07:15

Thanks

Ответить
@savrikbot
@savrikbot - 10.05.2024 07:40

thanks, useful!

Ответить
@imadabid1672
@imadabid1672 - 02.06.2024 03:59

Thanks

Ответить
@gauravjaiswal9808
@gauravjaiswal9808 - 06.07.2024 12:17

can i also create it for the gradle

Ответить
@maheshbelkhude9513
@maheshbelkhude9513 - 11.07.2024 12:50

I followed the same steps and it worked for me with PAT token.
But when I am using GITHUB_TOKEN which was generating in workflows and replacing in my settings.xml with this token I am not able to publish artifacts and it's showing 401 unauthorized although I gave all permissions to this token in workflow
please anyone can help me with this.

Ответить
@achaabni
@achaabni - 20.07.2024 21:28

does this work in your organisation with your own personal token ?

Ответить
@ahmeteminsaglik
@ahmeteminsaglik - 06.09.2024 00:56

Thank you. I just created my first package. I am very delighted.
I was just confused in setting.xml but it is easy.

Ответить
@ahmeteminsaglik
@ahmeteminsaglik - 06.09.2024 02:34

I created a GitHub package. It is public. But I can not download that jar module with `mvn install` command from GitHub package when I delete setting.xml. I can download only if I have setting.xml in .m2 folder. How can any user install my java module only using dependency in pom.xml?

Ответить