如何告诉jQAssistant扫描maven中的.git目录?

How to tell jQAssistant to scan .git directory in maven?

我在 Maven 项目中配置了 jQAssistant 来扫描 jacoco 报告:

<scanInclude>
    <path>my-maven-submodule/target/site/jacoco</path>
</scanInclude>

这很好用。然后我配置 jQA 扫描一个 Git repo:

<scanInclude>
    <path>.git</path>
</scanInclude>

这不起作用,因为没有输入 .git 目录。没有 "Entering .git" 日志消息,Git 扫描仪插件在其调试输出中显示没有提供此目录中的文件。为什么?以及如何配置 jQA 扫描 .git 目录? 使用的独立程序,例如by Gradle 工作正常,Git 仓库被导入。

刚刚修改并尝试使用 Spring Petclinic 示例 (http://github.com/buschmais/spring-petclinic) - 它正在运行:

        <!-- jQAssistant -->
        <plugin>
            <groupId>com.buschmais.jqassistant.scm</groupId>
            <artifactId>jqassistant-maven-plugin</artifactId>
            <version>${jqassistant.version}</version>
            <executions>
                <execution>
                    <goals>
                        <goal>scan</goal>
                        <goal>analyze</goal>
                    </goals>
                    <configuration>
                        <failOnViolations>false</failOnViolations>
                        <!--
                        <groups>
                            <group>default</group>
                        </groups>
                        -->
                        <scanIncludes>
                            <scanInclude>
                                <path>.git</path>
                            </scanInclude>
                        </scanIncludes>
                        <reportProperties>
                            <graphml.report.directory>${project.build.directory}/graphml</graphml.report.directory>
                        </reportProperties>
                    </configuration>
                </execution>
            </executions>
            <dependencies>
                <dependency>
                    <groupId>com.buschmais.jqassistant.plugin</groupId>
                    <artifactId>jqassistant.plugin.jpa2</artifactId>
                    <version>${jqassistant.version}</version>
                </dependency>
                <dependency>
                    <groupId>com.buschmais.jqassistant.plugin</groupId>
                    <artifactId>jqassistant.plugin.graphml</artifactId>
                    <version>${jqassistant.version}</version>
                </dependency>
                <dependency>
                    <groupId>de.kontext-e.jqassistant.plugin</groupId>
                    <artifactId>jqassistant.plugin.git</artifactId>
                    <version>1.1.1</version>
                </dependency>
            </dependencies>
        </plugin>