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 deploythe 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
Post a Comment