springboot project descriptions are incorporated PW jar package based build tool problems gradle

First described in the next issue, recently I had a mission, a service push is to increase the functionality of the original application springboot project for the information recording operation, etc., using dubbo service, due to the previous methods have been in the company's other projects good package needs to be done is to introduce a jar package of the project, but considering the circumstances, the item is not on the maven central warehouse, before consideration is the introduction of a local jar package, according to the internet to find some ways, the introduction of local after the jar package, when the project started, there jar package introduced in the bean not found abnormal, leading to the project failed to start;

Convert ideas, PW jar package will consider introducing in, and later reference https://www.jianshu.com/p/c360c2c3002e this article, PW introduced in gradle address in the repository, thereby introducing jar package on it.

The purpose of writing this essay is a record of what was stepped on a big pit!

Guess you like

Origin www.cnblogs.com/hinther/p/11484857.html