org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)

锋齐叶落 / 2023-05-15 / 原文

或者在POM中加入

<plugins>
    <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>exec-maven-plugin</artifactId>
        <version>1.6.0</version>
        <configuration>
            <classpathScope>test</classpathScope>
        </configuration>
    </plugin>
</plugins>