Not able to get git information from Scala Test suite

Hello - I’m writing a scala unittest,
which checks the git information, and somehow it is not working from the Unit Test

Added in pom.xml

>  <plugin>
>             <groupId>pl.project13.maven</groupId>
>             <artifactId>git-commit-id-plugin</artifactId>
>             <version>2.2.4</version>
>             <executions>
>                 <execution>
>                     <id>get-the-git-infos</id>
>                     <goals>
>                         <goal>revision</goal>
>                     </goals>
>                 </execution>
>             </executions>
>             <configuration>
>                 <dotGitDirectory>{[email protected]}/test.git</dotGitDirectory>
>                 <commitIdGenerationMode>flat</commitIdGenerationMode>
>                 <injectAllReactorProjects>true</injectAllReactorProjects>
>                 <verbose>true</verbose>
>                 <failOnNoGitDirectory>true</failOnNoGitDirectory>
>                 <failOnUnableToExtractRepoInfo>true</failOnUnableToExtractRepoInfo>
>                 <gitDescribe>
>                     <skip>true</skip>
>                 </gitDescribe>
>             </configuration>
>         </plugin>
    
    
    folder structures :

{project_dir}/module_folder/pom.xml
{project_dir}/module_folder/src/main/scala/BuildInfo.scala (i’m able to read the git info from this file)
{project_dir}/module_folder/test/main/scala/BuildInfoSuite.scala (i’m NOT able to read the git info from this file)

    Any ideas on what i need to do to get this working ?