Summary of maven scope meaning

 

scope compile runtime jar提供
compile AND AND maven
provided AND N external
runtime N AND maven
system N N external
test Use in the test phase    

Y means relying on the jar package in the maven library, N means no need

The runtime needs to add the jar to the war

 

 

Reference article

http://note.youdao.com/share/?id=9db816dad8dd3fef018b7d5ab39c2d48&type=note#/

http://drizzlewalk.blog.51cto.com/2203401/665590

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326929363&siteId=291194637