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

leerho pushed a commit to branch 9.1.X
in repository https://gitbox.apache.org/repos/asf/datasketches-java.git


The following commit(s) were added to refs/heads/9.1.X by this push:
     new cc5eba818 Allow Maven builds from the source release, which has no 
.git directory
cc5eba818 is described below

commit cc5eba818c260c0b9011791218819bd32a2d06ca
Author: Lee Rhodes <[email protected]>
AuthorDate: Wed Nov 4 14:10:48 2026 -0800

    Allow Maven builds from the source release, which has no .git directory
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
 pom.xml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 8d89bae54..bbc11301f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -574,6 +574,8 @@ under the License.
             </execution>
           </executions>
           <configuration>
+            <!-- Maven commands are sometimes run on the release artifact 
directly, which is not a Git repository -->
+            <failOnNoGitDirectory>false</failOnNoGitDirectory>
             <generateGitPropertiesFile>true</generateGitPropertiesFile>
             
<generateGitPropertiesFilename>${project.basedir}/git.properties</generateGitPropertiesFilename>
             <includeOnlyProperties>
@@ -606,7 +608,7 @@ under the License.
               <inputExclude>**/*.yml</inputExclude>
               <inputExclude>**/.*</inputExclude>
               <inputExclude>**/test-output/**/*</inputExclude>
-              <!-- <inputExclude>**/git.properties</inputExclude> -->
+              <inputExclude>**/git.properties</inputExclude>
               <inputExclude>**/doc/**</inputExclude>
               <inputExclude>**/docs/**</inputExclude>
               <inputExclude>**/*.sk</inputExclude>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to