The Maven Upload Plugin, as the name implies, allows you to upload resources from your build to a remote location using wagon.
<project>
[...]
<build>
<plugin>
<groupId>com.atlassian.maven.plugins</groupId>
<artifactId>maven-upload-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<id>upload-javadoc</id>
<phase>deploy</phase>
<goals>
<goal>upload</goal>
</goals>
<configuration>
<uploadResourceSrc>target/site/apidocs/*</uploadResourceSrc>
<uploadResourceDest>${pom.artifactId}/${pom.version}</uploadResourceDest>
<uploadServerId>atlassian-documentation</uploadServerId>
<uploadUrl>dav:https://docs.atlassian.com/</uploadUrl>
</configuration>
</execution>
</executions>
</plugin>
</build>
[...]
</project>