In Maven for a cloned project (even multi-module) from GitHub if the mvn compile
command is executed mostly happens the following:
- it downloads all the dependencies declared according in the
pom.xml
file - it compiles
- it executes the tests
Until here all is OK.
Now in the STS IDE is possible enable/disable the following checkboxes
- Download Artifact Sources
- Download Artifact Javadoc
as follows:
In the figure I have disabled them to save space in the repository.
- Assuming that
mvn compile
by default downloads both (pls confirm if that is correct) - How I can indicate explicitly through parameters in the command that Maven should download or not each (
Artifact Sources|Javadoc
)? - therefore represent the GUI settings through parameters in the command line