Maven addiction for homemade cans at the project level

I created a java class and converted to jar files. So, I want to use these jar files, which I placed at the project level in some folder, for example, "External Jar". Therefore, I need to write a dependency in maven, when someone imports my project, they should be able to run the program.

+6
source share
1 answer

Basically, you created your own jar, and you want to publish this jar, so when someone else clones / uses your project, this jar comes (provided that you have a maven project and your jar's dependency is included in pom .Xml).

, maven, -, http://kirang89.imtqy.com/blog/2013/01/20/uploading-your-jar-to-maven-central/ , .

: - khmarbaise, http://central.sonatype.org/ .

+10

Source: https://habr.com/ru/post/1016608/


All Articles