& lt project & gt
& ltmodelVersion & gt4 . 0 . 0 & lt; /model version & gt;
& ltgroupId & gtcom . my company . app & lt; /groupId & gt;
& ltartifactId & gt My application & lt/artifactid >
& lt packaging & gtjar & lt/ packaging & gt
& lt/version & gt; 1.0- snapshot & lt/version >
& lt dependency & gt
& lt dependency & gt
& ltgroupId & gtjunit & lt/groupId & gt;
& ltartifactId & gtjunit & lt/artifact id & gt;
& lt version & gt3.8.1< /version & gt;
& lt/scope & gt; Test & lt/scope >
& lt/dependency & gt;
& lt/dependencies & gt;
& lt/project & gt;
This POM script allows compiling, testing and generating basic documents. You may ask how to do it with only 15 lines of code? In fact, this is a very good and basic question. The answer lies in Maven's secret code for its super POM.