You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2021/09/05 13:50:15 UTC

[commons-rng] 04/04: Do not perform minimal site checkout in pre-site phase

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

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-rng.git

commit 080304a4c7e5394a97dccffa29f4bc4ee2590dd7
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Sun Sep 5 14:50:08 2021 +0100

    Do not perform minimal site checkout in pre-site phase
    
    This profile must now be explicitly activated.
---
 pom.xml | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/pom.xml b/pom.xml
index d8a4cf0..7ed7017 100644
--- a/pom.xml
+++ b/pom.xml
@@ -494,7 +494,7 @@
       <id>is-child-module</id>
       <activation>
         <file>
-          <missing>${basedir}/CONTRIBUTING.md</missing>
+          <missing>${basedir}/RELEASE-NOTES.txt</missing>
         </file>
       </activation>
       <properties>
@@ -503,13 +503,9 @@
     </profile>
     <profile>
       <!-- Runs if the SVN site checkout does not exist.
-           This is either obtained using svn (for the parent) or an empty directory is created. -->
-      <id>setup-checkout</id>
-      <activation>
-        <file>
-          <missing>${commons.scmPubCheckoutDirectory}</missing>
-        </file>
-      </activation>
+           This is either obtained using svn (for the parent) or an empty directory is created. 
+           The site-content directory is used when updating the live site. -->
+      <id>site-checkout</id>
       <build>
         <plugins>
           <plugin>
@@ -564,7 +560,7 @@ This is avoided by creating an empty directory when svn is not available.
     </profile>
     <profile>
       <!-- Allow the SVN site checkout to be removed in the clean phase. -->
-      <id>clean-checkout</id>
+      <id>clean-site-checkout</id>
       <activation>
         <file>
           <exists>${commons.scmPubCheckoutDirectory}</exists>