开发者

How to include test code in maven artifact?

I ha开发者_如何学Gove following problem module core contains test utils which is resused in dependent modules.

How to use this code in those modules? (maven dosen't include this code by convention, but how to solve this problem)


Use maven-source-plugin to create a test jar. It will be published along with your normal jar as an artifact of the build.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜