I installed Eclipse Neon, which has m2e plugin already installed.
In Window->Preferences->Maven->User Settings
I specified path to C:\Users\Морф\.m2\settings.xml
. This file contains:
<profile>
<id>downloadSources</id>
<properties>
<downloadSources>true</downloadSources>
<downloadJavadocs>true</downloadJavadocs>
</properties>
</profile>
.....
<activeProfiles>
<activeProfile>downloadSources</activeProfile>
</activeProfiles>
But sources are not downloaded automatically. I attempted Maven-> Download Sources, but still nothing.
My Eclipse Mars uses the same settings.xml
file, and all sources are automatically downloaded in Eclipse Mars, so file is correct.
So, how can I download sources automatically via maven in Eclipse Neon?