Git Product home page Git Product logo

Comments (6)

pcoltau avatar pcoltau commented on May 29, 2024 1

I have the same issue. There are two solutions for this:

  1. Upload the project to the central maven repository, following this guide: https://maven.apache.org/guides/mini/guide-central-repository-upload.html

or

  1. Use jitpack.io as a maven repository. Jitpack.io is a package repository for git and will make a maven jar dependency from most java projects in git: https://jitpack.io/#xenomachina/kotlin-argparser

The second option is the easiest solution right now, but it's not an "official" maven release of this project, which it really deserves to have.

from kotlin-argparser.

xenomachina avatar xenomachina commented on May 29, 2024

Unfortunately, I have almost no experience with Maven (I only use gradle), so I'm not sure if I'll be able to help, but would it be possible for you to post a build file that reproduces the problem? Also, what exact error message are you getting, and is it at compile time or run time?

from kotlin-argparser.

pcoltau avatar pcoltau commented on May 29, 2024

This guide for publishing a release to a maven repository seems to be more hands-on: https://maven.apache.org/guides/mini/guide-3rd-party-jars-remote.html

from kotlin-argparser.

xenomachina avatar xenomachina commented on May 29, 2024

Thanks for the info! Is it really not possible to have Maven pull from jcenter? This video seems to suggest that it's possible, but requires updating your maven settings (not ideal -- gradle's approach of having this in the project's build makes more sense, IMHO).

In any case, it probably is about time I put this project up on Maven Central. I found this tutorial for using Bintray as a gateway to Maven Central, so I'm working through that.

from kotlin-argparser.

seanfdnn avatar seanfdnn commented on May 29, 2024

Sorry I couldn't be more help! After using pip and npm, this is the first project I've used Maven (or Gradle) for so I'm fumbling my way through it too.

from kotlin-argparser.

xenomachina avatar xenomachina commented on May 29, 2024

Ok, I've finally gotten around to getting these up on maven central. Sorry it took a while.

Feel free to reopen if you're still having issues related to this.

from kotlin-argparser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.