"Maven Series" - Download Source Code

Method 1: Modify setting.xml

Add the following configuration

<profiles>    
<profile>    
    <id>downloadSources</id>    
    <properties>    
        <downloadSources>true</downloadSources>    
        <downloadJavadocs>true</downloadJavadocs>               
    </properties>    
</profile>    
</profiles>    
    
<activeProfiles>    
  <activeProfile>downloadSources</activeProfile>    
</activeProfiles> 

Method 2: Execute the command manually

Modify maven configuration

Excuting an order

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325113806&siteId=291194637