Skip to content

Upload to Maven #27

Open
Open

Description

@roll

Overview

Hi @georgeslabreche, is it possible to upload tableschema/datapackage-java to Maven (if I understand correctly it's something like a central repository for Java Packages like PyPi/NPM/etc in other languages)

Also, if yes, I'd ask you to release both as version 1 as there is not active development at the moment.

WDYT?

Activity

  1. roll commented on Nov 1, 2019

    @roll
    ContributorAuthor

    It seems there is no native way to deploy to Maven using Travis. I found only this option - https://github.com/stefanbirkner/travis-deploy-to-maven-central

    BTW is it needed to be uploaded to Maven or it can be used from Github Releases? Not sure how Java ecosystem works

    cc @iSnow

  2. iSnow commented on Nov 1, 2019

    @iSnow
    Collaborator

    Well, it can be used from Github releases, but only if you install yet another plugin in your project definition (pom.xml).

    For exposure, it would be very desirable to move to Maven Central - this is where most every Java dev would head if they wanted to look whether a Java port is available and whether it looks like it will be supported for some time. A bit like every serious JS project would have an artifact on npm.

    I haven't ever pushed anything to Maven Central via a CI pipeline. I've done it manually on one of my smaller project, and it's a bit hairy to set up - you basically need a GPG key-pair, a mail address and an evening of swearing. Once it is setup, it's quite sweet.

    In a shared project, that begs the question who is going to store the secrets (if we aren't going directly for Travis, but even then someone should safe-keep them as a backup) and which mail address to use. I don't know how the project handles issues like this?

  3. roll commented on Nov 1, 2019

    @roll
    ContributorAuthor

    @iSnow
    Usually, we use some kind of okfn account and Travis secrets to release - https://github.com/frictionlessdata/tabulator-py/blob/master/.travis.yml

    I can set up Open Knowledge account on Maven and Travis later if you show me examples of how to deploy using CLI (so I'll figure out how to translate it to CI-based releasing)

  4. self-assigned this
    on Nov 1, 2019
  5. sashamitrovich commented on Jun 16, 2021

    @sashamitrovich

    No need to use a maven repo, it can be deployed here on GitHub as a package. The whole process can be easily automated with a Workflow (Action).

  6. roll commented on Jun 16, 2021

    @roll
    ContributorAuthor

    We're leaning towards using Github Actions when we can in Frictionless so it will be a great solution for us

  7. sashamitrovich commented on Jun 16, 2021

    @sashamitrovich

    I might be able to set it up for you, time permitting.

  8. roll commented on Jun 16, 2021

    @roll
    ContributorAuthor

    Great @sashamitrovich!

    Can you please PR a Github Action? cc @iSnow

  9. lwinfree commented on Aug 12, 2021

    @lwinfree
    Member

    Hi all! We're hoping to get this released as version 1.0.0. I think (?) that we don't need it on Maven because it is on Jitpack (https://jitpack.io/#frictionlessdata/tableschema-java). Am I understanding this issue correctly?

  10. iSnow commented on Aug 18, 2021

    @iSnow
    Collaborator

    @lwinfree We basically have three options:

    • Maven Central, the traditional and most widely used repo
    • Jitpack which we are using now for snapshots and tag releases
    • Github which is gaining traction.

    I don't care much either way, only thing important to me is that we keep Jitpack for the snapshots/tags

  11. lwinfree commented on Aug 18, 2021

    @lwinfree
    Member

    @iSnow OK Let's stay with Jitpack for now then, and maybe github in the future.

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions