maven maven pom file analysis

 

 

Dependent usage

Equivalent to import

 

Use junit for testing

Create a test file in the test folder. Note that the test file will only test the files in the main folder.

 Then execute mvn test file name (note that there is no semicolon)

Will generate a compiled test source file

And prompt the result of the test in cmd

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Guess you like

Origin blog.csdn.net/qq_35677589/article/details/112491809