I click "download sources and documentation" in Intellij Idea Community Edition 12.1.4 and get error that sources can not be downloaded. But when I try:
mvn dependency:sources
All sources are downloaded.
What is the problem?
P.S. I have checked that Idea use the same maven that use in console. There are not any "off line" mode buttons triggered in Idea.
Running IDEA version 12.1.6
and I have the same issue.
When I uncheck the following option it does work:
Settings > Maven > Importing > Use Maven3 to import project