Repository: flex-site Updated Branches: refs/heads/maven-site e604b986b -> c5b281672
- Fine tuned the git site deployment Project: http://git-wip-us.apache.org/repos/asf/flex-site/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-site/commit/c5b28167 Tree: http://git-wip-us.apache.org/repos/asf/flex-site/tree/c5b28167 Diff: http://git-wip-us.apache.org/repos/asf/flex-site/diff/c5b28167 Branch: refs/heads/maven-site Commit: c5b281672fd4f5de45e62ef092ee4e01aa599bf8 Parents: e604b98 Author: Christofer Dutz <christofer.d...@codecentric.de> Authored: Sun Oct 9 21:43:57 2016 +0200 Committer: Christofer Dutz <christofer.d...@codecentric.de> Committed: Sun Oct 9 21:43:57 2016 +0200 ---------------------------------------------------------------------- pom.xml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-site/blob/c5b28167/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 40e3b50..15a2967 100644 --- a/pom.xml +++ b/pom.xml @@ -171,9 +171,22 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-scm-publish-plugin</artifactId> <version>1.1</version> - <configuration> - <scmBranch>asf-site</scmBranch> - </configuration> + <executions> + <execution> + <id>scm-publish</id> + <phase>site-deploy</phase> + <!-- deploy site with maven-scm-publish-plugin --> + <goals> + <goal>publish-scm</goal> + </goals> + <configuration> + <!-- mono-module doesn't require site:stage --> + <content>${project.build.directory}/site</content> + <!-- branch where to deploy --> + <scmBranch>asf-site</scmBranch> + </configuration> + </execution> + </executions> </plugin> </plugins> </build>