0

I have a github repo that I created a Release for. While creating the release I manually added a .jar file. Lets call it exampleLibrary.jar This would be github.com/MyExampleRepo/Releases

I have a project I want to add a dependency for to use this exampleLibrary.jar file I added in my release v1.0

This project using Ivy.xml for resolving dependencies.

To get the jar from github using maven with pom.xml I imagine it would look something like this:

<dependency>
    <groupId>com.github.User</groupId>
    <artifactId>Repo name</artifactId>
    <version>Release tag</version>
</dependency>

How would I do this using Ivy.xml? This is what I have tried:

<dependency org="com.github" name="MyExampleRepo" rev="v1.0"/>
Josh Adams
  • 2,113
  • 2
  • 13
  • 25
  • Possible duplicate of [ivy dependency on external JAR](https://stackoverflow.com/questions/2987108/ivy-dependency-on-external-jar) – dnault Mar 26 '19 at 20:07
  • Most dependency managers (Gradle, Maven, Ivy, etc.) will have a much easier time consuming a library if you publish it to a Maven repository like Maven Central or Jcenter. – dnault Mar 26 '19 at 20:15

0 Answers0