Friday, October 25, 2013

Why maven doesn't downloads source and javadoc files

When you can not see any source code in your IDE such as Eclipse this most probably happen because your Maven (if you do use Maven) does not downloaded source jar file (e.g. filename-source.jar).

Maven does not downloads a source and javadoc jar files by default.

This option should be added to its settings file in ~/.m2/settings.xml file like this:

<profiles>
<profile>
    <id>downloadSources</id>
    <properties>
        <downloadSources>true</downloadSources>
        <downloadJavadocs>true</downloadJavadocs>           
    </properties>
</profile>
</profiles>

<activeProfiles>
  <activeProfile>downloadSources</activeProfile>
</activeProfiles>

Here is the link about this topic:
http://stackoverflow.com/questions/5780758/maven-always-download-sources-and-javadocs

How to enter on Apple Dev Site

https://daw.apple.com