Valentyn Tymku
Valentyn Tymku

Reputation: 3

Maven SCM plugin, how set failOnError = false

How can I configure Maven SCM plugin for ignoring errors during scm checkout? (Errors like "Permission denied" or other). I know about configuration property <failOnError>false</failOnError> in other plugins, but this plugin does not have such option (or I didn't find it in documentation).

Here is my pom.xml section:

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
<version>1.9.5</version>
<executions>
    <execution>
        <phase>validate</phase>
        <goals>
            <goal>checkout</goal>
        </goals>
    </execution>
</executions>
<configuration>
    <failOnError>false</failOnError> <!-- It does not work! :( -->
</configuration>

Upvotes: 0

Views: 1723

Answers (0)

Related Questions