Adding Maven-supported javadoc deployment
The snippet can be accessed without any authentication.
Authored by
Christos Christodoulopoulos
Edited
reporting.xml 1011 B
<!-- Add the following to your pom.xml under the main node -->
<reporting>
<excludeDefaults>true</excludeDefaults>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.3</version>
</plugin>
</plugins>
</reporting>
<!-- Replace the current <distributionManagement> with this (change artifactId) -->
<distributionManagement>
<repository>
<id>CogcompSoftware</id>
<name>CogcompSoftware</name>
<url>scp://bilbo.cs.illinois.edu:/mounts/bilbo/disks/0/www/cogcomp/html/m2repo</url>
</repository>
<site>
<id>CogcompSoftwareDoc</id>
<url>scp://bilbo.cs.illinois.edu:/mounts/bilbo/disks/0/www/cogcomp/html/software/doc/${project.artifactId}</url>
</site>
</distributionManagement>
<!-- You can now deploy the javadoc using mvn site-deploy -->
Please register or sign in to comment