java - How to deploy a custom jar file into maven central repository to use in pom.xml as a dependency -


this question has answer here:

i know how deploy custom jar file maven central repository use in pom.xml dependency other developers in maven projects. have followed several documentations this. couldn't deploy maven central repository.

move top directory of project pom.xml , follow these basics -

in build environment, use following call cleanly build , deploy artifacts shared repository.

mvn clean deploy 

the same command can used in multi-module scenario (i.e. project 1 or more subprojects). maven traverses every subproject , executes clean, executes deploy (including of prior build phase steps).


Comments

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -