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

或者在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>