1

I have just finished a project which i put on github- it is a library i hope others can use. I want to generate a jar from this project and make it available to other people and other projects via maven. Just wondering what the best way of making the project available through maven is? I would like it to be as simple as adding the following to pom.xml for the end user:

<dependency>
  <groupId>com.github.mylibraryproject</groupId>
  <artifactId>mylibrary</artifactId>
  <version>LATEST</version>
</dependency>
audrey kropic
  • 33
  • 1
  • 4

1 Answers1

1

You should make Maven repository on github. This example is shown in this link.

Community
  • 1
  • 1
wittakarn
  • 3,124
  • 1
  • 18
  • 31