0

site問題を修正するためにフェーズの前に実行する必要があるこのスクリプトがあります( http://jira.codehaus.org/browse/MSITE-640 )。

<plugin>
    <groupId>org.codehaus.mojo</groupId>
    <artifactId>exec-maven-plugin</artifactId>
    <version>1.3</version>
    <inherited>false</inherited>
    <executions>
        <execution>
            <id>workaround-MSITE-640</id>
            <!--it should be 'site' but maven doesn't pick up there-->
            <phase>validate</phase>
            <goals>
                <goal>exec</goal>
            </goals>
            <configuration>
                <failWithEmptyArgument>false</failWithEmptyArgument>
                <workingDirectory>${project.basedir}</workingDirectory>
                <executable>./workaround-MSITE-640.sh</executable>
                <arguments>
                    <argument>${settings.localRepository}</argument>
                </arguments>
            </configuration>
        </execution>
    </executions>
</plugin>

しかし、私はその段階でそれを実行できないようです。下に入れようとしましたreporting -> pluginsが、入れられませんconfiguration

べき等であるため、複数回実行しても問題ありませんが、正しいフェーズに関連付けることができれば幸いです。

ありがとう

4

0 に答える 0