0

maven-scm-plugin を使用して、git リポジトリ (別名クローン) からプロジェクト ディレクトリにファイルをダウンロードしたい

エラーが発生します

Failed to execute goal org.apache.maven.plugins:maven-scm-plugin:1.12.2:export (myjsp) on project myproject-tomcat-web: Execution myjsp of goal org.apache.maven.plugins:maven-scm-plugin:1.12.2:export failed.: NullPointerException

pom.xml では、次の構成を使用します

            <plugin>
                <artifactId>maven-scm-plugin</artifactId>
                <version>1.12.2</version>
                <executions>
                    <execution>
                        <id>myjsp</id>
                        <phase>generate-resources</phase>
                        <goals>
                            <goal>export</goal>
                        </goals>
                        <configuration>
                            <connectionUrl>scm:git:https://git.myserver.com/myurl.git</connectionUrl>
                            <exportDirectory>target/web-resources/WEB-INF/resource</exportDirectory>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

同時に、すべてが SVN リポジトリから正常にロードされます (url を connectionUrl に設定する場合)。

何が問題なのですか?

4

1 に答える 1