You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by mi...@apache.org on 2020/11/22 17:07:31 UTC
[httpcomponents-core] 01/01: Configure SCM Publish Plugin
This is an automated email from the ASF dual-hosted git repository.
michaelo pushed a commit to branch site-deployment
in repository https://gitbox.apache.org/repos/asf/httpcomponents-core.git
commit d8f7cc5a41da23a49e65658502e925bbe3ff3d55
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Sun Nov 22 18:07:10 2020 +0100
Configure SCM Publish Plugin
---
pom.xml | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/pom.xml b/pom.xml
index fcda983..d69a49c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -43,6 +43,13 @@
<system>Jira</system>
<url>https://issues.apache.org/jira/browse/HTTPCORE</url>
</issueManagement>
+ <distributionManagement>
+ <site>
+ <id>apache.website</id>
+ <url>scm:svn:https://svn.apache.org/repos/asf/httpcomponents/site/${hc.site.path}</url>
+ </site>
+ </distributionManagement>
+
<scm>
<connection>scm:git:https://gitbox.apache.org/repos/asf/httpcomponents-core.git</connection>
@@ -70,6 +77,8 @@
<log4j.version>2.8.2</log4j.version>
<rxjava.version>2.2.8</rxjava.version>
<api.comparison.version>5.0</api.comparison.version>
+ <hc.site.path>core-archives/core-LATEST</hc.site.path>
+ <hc.site.cache>${user.home}/hc-sites</hc.site.cache>
</properties>
<dependencyManagement>
@@ -110,6 +119,28 @@
</dependencyManagement>
<build>
+ <pluginManagement>
+ <plugins>
+ <!-- site publishing configuration -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ <configuration>
+ <!-- for multi-modules site staging -->
+ <topSiteURL>scm:svn:https://svn.apache.org/repos/asf/httpcomponents/site/${hc.site.path}</topSiteURL>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-scm-publish-plugin</artifactId>
+ <configuration>
+ <checkoutDirectory>${hc.site.cache}/${hc.site.path}</checkoutDirectory>
+ <serverId>apache.releases.https</serverId>
+ <tryUpdate>true</tryUpdate>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
<plugins>
<plugin>
<artifactId>maven-jar-plugin</artifactId>