settings - you can delete these if you never use Eclipse. The xargs command then unpacks each source jar into $dir. The sed command extracts the paths of the source jars (relative to your maven local repository). If you downloaded the source distribution, you need at least the following to build. In my example, you can see that there are sources for the JCIP annotations jar, but not the FindBugs JSR305 jar. This file contains the paths to your source jars. This runs mvn eclipse:eclipse -DdownloadSources, which will download the sources, and write a. You could try something like this: dir=target/sources The dependency plugin can also download sources, but it's harder to get the list of jars you need. You could use the maven-eclipse-plugin plugin to download the sources, and give you a list of the source jars that are available (some of your dependencies might not have sources available).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |