Cherry Cherry - 1 year ago 193
Java Question

Can not download sources with Intellij Idea community 12.1.4 and maven 3.0.5

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.

Answer Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download