This is an automated email from the ASF dual-hosted git repository.

gk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/turbine-parent.git


The following commit(s) were added to refs/heads/master by this push:
     new 71736bd  adapt for git apache deployment: update scm to git, set as 
target branch asf-site (to be created yet), with the intention to deploy to 
root folder (valid for static output). More info in 
https://maven.apache.org/plugins/maven-scm-publish-plugin/various-tips.html in 
section Git branch on what to do. For first time deployment: check that 
turbine-parent has set subdir in .asf.yaml in branch asf-site, before ask INFRA 
to active deployment.
71736bd is described below

commit 71736bd1441a93a3c53f0a6a90a80b5c05d050d7
Author: Georg Kallidis <[email protected]>
AuthorDate: Thu Sep 9 15:50:20 2021 +0200

    adapt for git apache deployment: update scm to git, set as target branch 
asf-site (to be created yet),
    with the intention to deploy to root folder (valid for static output).
    More info in 
https://maven.apache.org/plugins/maven-scm-publish-plugin/various-tips.html in 
section Git branch on what to do.
    For first time deployment: check that turbine-parent has set subdir in 
.asf.yaml in branch asf-site, before ask INFRA to active deployment.
---
 pom.xml | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/pom.xml b/pom.xml
index d6ab2cd..9cbc996 100644
--- a/pom.xml
+++ b/pom.xml
@@ -29,8 +29,9 @@
 
   <distributionManagement>
     <site>
-      <id>turbine.apache.org</id>
-      <url>scm:svn:${turbine.scmPubUrl}</url>
+      <id>apache.website</id>
+      <!-- scmPubUrl should be different for each project. If not defined 
scmPubUrl uses default value ${project.distributionManagement.site.url} -->
+      <url>scm:git:${turbine.scmPubUrl}</url>
     </site>
   </distributionManagement>
 
@@ -277,9 +278,11 @@
         <artifactId>maven-scm-publish-plugin</artifactId>
         <configuration>
           <content>${project.reporting.outputDirectory}</content>
-          <pubScmUrl>scm:svn:${turbine.scmPubUrl}</pubScmUrl>
+          <pubScmUrl>scm:git:${turbine.scmPubUrl}</pubScmUrl>
           
<checkoutDirectory>${turbine.scmPubCheckoutDirectory}</checkoutDirectory>
           <tryUpdate>true</tryUpdate>
+          <!-- branch where to deploy -->
+          <scmBranch>asf-site</scmBranch>
         </configuration>
         <executions>
           <execution>
@@ -672,7 +675,7 @@
     <!-- value modules can override it -->
     <turbine.site.path>${project.artifactId}</turbine.site.path>
 
-    
<turbine.scmPubUrl>https://svn.apache.org/repos/infra/websites/production/turbine/content/${turbine.site.path}</turbine.scmPubUrl>
+    
<turbine.scmPubUrl>https://gitbox.apache.org/repos/asf/${turbine.site.path}.git</turbine.scmPubUrl>
     
<turbine.scmPubCheckoutDirectory>${turbine.site.cache}/${turbine.site.path}</turbine.scmPubCheckoutDirectory>
 
     <!-- maven-surefire-plugin -->

Reply via email to