Created
August 21, 2016 08:09
-
-
Save dinolupo/a91d652882db0003c89559b774fe4b5c to your computer and use it in GitHub Desktop.
Maven Javadoc And Sources
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # When you’re using Maven in an IDE you often find the need for your IDE to resolve source code and Javadocs for your library dependencies. There’s an easy way to accomplish that goal. | |
| mvn dependency:sources | |
| mvn dependency:resolve -Dclassifier=javadoc | |
| # The first command will attempt to download source code for each of the dependencies in your pom file. | |
| # The second command will attempt to download the Javadocs. | |
| # Maven is at the mercy of the library packagers here. So some of them won’t have source code packaged and many of them won’t have Javadocs. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment