Skip to Main Content

Maven Usage

Delete maven repository invalid jar package script

```
delLastUpdated.bat
```

Copy the above file using method: and double click on, enter the address of the Mavenn repository or drag the repository folder into the command window. img.png

Maven -pluses


crean ploy -Dmaven.test.skip=true -pl project-a (only one of them is constructed)
 
clean - Dmaven.test. kip=true -pl project-a, project-b,project-c (only three of them constructed)

# Example
mvn clean package - Dmaven.test.skip=true -pl cn.facoder:mall-server -am

Dependency Analysis

  • mvn dependency:analyze
  • Can analyze which dependencies are not available

jar package wasting

  • 参考文章 Primary thinking:will place dependency on host, load dependencies by mounting