Trying to get site:stage-deploy to run by adding a top-level distribution site URL
Project: http://git-wip-us.apache.org/repos/asf/jclouds/repo Commit: http://git-wip-us.apache.org/repos/asf/jclouds/commit/22e28b5c Tree: http://git-wip-us.apache.org/repos/asf/jclouds/tree/22e28b5c Diff: http://git-wip-us.apache.org/repos/asf/jclouds/diff/22e28b5c Branch: refs/heads/EXPERIMENTAL-fix-site-stage-deploy Commit: 22e28b5c3befd63f08d6786dc71a2dd666d88c06 Parents: 51cee8b Author: Andrew Phillips <[email protected]> Authored: Mon Dec 9 12:21:06 2013 -0500 Committer: Andrew Phillips <[email protected]> Committed: Mon Dec 9 12:21:06 2013 -0500 ---------------------------------------------------------------------- pom.xml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/jclouds/blob/22e28b5c/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 8986fce..5f25ae7 100644 --- a/pom.xml +++ b/pom.xml @@ -115,7 +115,15 @@ </plugin> </plugins> </build> - + + <!-- Maven generates incorrect links without the <site> declaration here --> + <distributionManagement> + <site> + <id>jclouds-github-pages-site</id> + <url>${maven.site.url.base}/${project.version}/${project.artifactId}/</url> + </site> + </distributionManagement> + <profiles> <profile> <id>distribution</id>
