1. แบบที่ทำผ่าน Command Line ให้เพิ่ม
-DdownloadSources=true -DdownloadJavadocs=true
2. แบบที่เพิ่มใน settings.xml (ให้เพิ่มไฟล์นี้ใน Folder .m2)
<profiles> <profile> <id>downloadSources</id> <properties> <downloadSources>true</downloadSources> <downloadJavadocs>true</downloadJavadocs> </properties> </profile> </profiles> <activeProfiles> <activeProfile>downloadSources</activeProfile> </activeProfiles> Referencehttp://stackoverflow.com/questions/5780758/maven-always-download-sources-and-javadocs
0 comments:
แสดงความคิดเห็น