add a timeout to prevent hanging too long

This commit is contained in:
olivier lamy 2012-12-03 13:43:11 +01:00
parent b63904c9db
commit 971f1cf749
1 changed files with 1 additions and 1 deletions

View File

@ -247,7 +247,7 @@ Do you want to continue?</input>
</target>
<target name="maven-compile" depends="compile-boot,process-classes" description="compiles Maven using the bootstrap Maven, skipping automated tests">
<java fork="true" classname="org.apache.maven.cli.MavenCli" failonerror="true">
<java fork="true" classname="org.apache.maven.cli.MavenCli" failonerror="true" timeout="600000">
<!--jvmarg line="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000"/-->
<classpath refid="maven.classpath" />
<arg value="${maven.debug}" />