Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content
This repository was archived by the owner on Mar 31, 2025. It is now read-only.
This repository was archived by the owner on Mar 31, 2025. It is now read-only.

Publish to Maven Repository #89

Open

Description

@mario-teq

Hello,
Do you plan to publish to maven repository ?
The last time it was in 2018.
https://mvnrepository.com/artifact/com.sybit/airtable.java
Best regards

Activity

  1. stritti commented on Jun 2, 2024

    @stritti
    Member

    At the moment it is published here: https://github.com/Sybit-Education/airtable.java/packages/2156671?version=0.3.0

    We have to check how we could sync while jFrog-Repo does not exist any more. Any suggestions?

  2. mario-teq commented on Jun 2, 2024

    @mario-teq
    Author

    Hello @stritti

    this is what I get in maven

    Could not resolve dependencies for project f88:backend:jar:1.0.0-SNAPSHOT: Failed to collect dependencies at com.sybit:airtable.java:jar:0.3.0: Failed to read artifact descriptor for com.sybit:airtable.java:jar:0.3.0: Could not transfer artifact com.sybit:airtable.java:pom:0.3.0 from/to airtable (https://maven.pkg.github.com/Sybit-Education/airtable.java): authentication failed for https://maven.pkg.github.com/Sybit-Education/airtable.java/com/sybit/airtable.java/0.3.0/airtable.java-0.3.0.pom, status: 401 Unauthorized -> [Help 1]

    maybe from me ... or the jar needs to be deployed in maven central ? https://maven.apache.org/repository/guide-central-repository-upload.html

  3. stritti commented on Jun 3, 2024

    @stritti
    Member

    Hello @mario-teq,

    have you added the additional repository to your pom?

    https://maven.pkg.github.com/Sybit-Education/airtable.java

    See also: https://maven.apache.org/guides/mini/guide-multiple-repositories.html

    Update: I just now saw the status 401 Unauthorized. Hm, I think, I have to check some settings for that.

  4. stritti commented on Jun 3, 2024

    @stritti
    Member

    Hi @mario-teq,

    as I now learned, you have to use always personal access token to access the Github repository: https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-apache-maven-registry#authenticating-to-github-packages

    I think, we should really use maven central.

  5. mario-teq commented on Jun 3, 2024

    @mario-teq
    Author

    Adding personal access in ~/.m2/settings.xml in necessary for each person in the team
    Yes using maven central is better :)

  6. djmally commented on Jul 10, 2024

    @djmally

    @stritti would you be able to publish this package to Maven Central? I'd like to use this in a project I'm working on where setting up Github authentication for everyone + CI is very difficult.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions