Thanks to Ted Wise, I taught my "modern java" build to automatically download sources and javadocs. Using maven:
<plugin> <artifactId>maven-dependency-plugin</artifactId> <version>${maven-dependency-plugin.version}</version> <executions> <execution> <id>download-sources</id> <phase>generate-sources</phase> <goals> <goal>sources</goal> </goals> </execution> <execution> <id>download-javadocs</id> <phase>generate-sources</phase> <configuration> <classifier>javadoc</classifier> </configuration> <goals> <goal>resolve</goal> </goals> </execution> </executions> </plugin>
No comments:
Post a Comment