You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2017/12/09 17:24:11 UTC
[maven-shared-incremental] 14/44: configure site deployment
This is an automated email from the ASF dual-hosted git repository.
hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git
commit 89ba33ef00f2906385101bc221d40df871ffa67c
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Thu Dec 13 10:58:27 2012 +0000
configure site deployment
git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1421221 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 65 insertions(+)
diff --git a/pom.xml b/pom.xml
index a88c1b3..2fcd2ab 100644
--- a/pom.xml
+++ b/pom.xml
@@ -40,6 +40,13 @@
<url>http://svn.apache.org/viewvc/maven/shared/trunk/maven-shared-incremental</url>
</scm>
+ <distributionManagement>
+ <site>
+ <id>apache.website.svnpub</id>
+ <url>scm:svn:${svnUrl}</url>
+ </site>
+ </distributionManagement>
+
<issueManagement>
<system>jira</system>
<url>https://jira.codehaus.org/browse/MSHARED/component/15650</url>
@@ -47,6 +54,12 @@
<properties>
<mavenVersion>2.2.1</mavenVersion>
+
+ <maven.sites.cache>${user.home}/maven-sites</maven.sites.cache>
+ <siteFilePath>${maven.sites.cache}/shared/${project.artifactId}-${project.version}</siteFilePath>
+ <scmPubCheckoutDirectory>${siteFilePath}-content</scmPubCheckoutDirectory>
+ <svnUrl>https://svn.apache.org/repos/infra/websites/production/maven/content/shared-archives/${project.artifactId}-${project.version}</svnUrl>
+
</properties>
<dependencies>
@@ -130,6 +143,58 @@
</execution>
</executions>
</plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ <configuration>
+ <skipDeploy>true</skipDeploy>
+ </configuration>
+ <executions>
+ <execution>
+ <id>stage-for-scm-publish</id>
+ <phase>post-site</phase>
+ <goals>
+ <goal>stage</goal>
+ </goals>
+ <configuration>
+ <skipDeploy>false</skipDeploy>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-scm-publish-plugin</artifactId>
+ <version>1.0-beta-2</version>
+ <configuration>
+ <checkinComment>Apache ${project.name} site deployment</checkinComment>
+ </configuration>
+ <executions>
+ <execution>
+ <id>scm-publish</id>
+ <phase>site-deploy</phase>
+ <goals>
+ <goal>publish-scm</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
</plugins>
</build>
+
+ <profiles>
+ <profile>
+ <id>site-release</id>
+ <properties>
+
+ <siteFilePath>${maven.sites.cache}/shared/${project.artifactId}</siteFilePath>
+ <scmPubCheckoutDirectory>${siteFilePath}-content</scmPubCheckoutDirectory>
+ <svnUrl>https://svn.apache.org/repos/infra/websites/production/maven/content/shared/${project.artifactId}</svnUrl>
+
+ </properties>
+ </profile>
+ </profiles>
+
</project>
--
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.