Error during maven build: "[java] Timestamp response not valid"
- by fei
My maven build started failing randomly, and it got the following error which I cannot make sense of, and googling it doesn't give me anything useful:
[echo] Creating a full package...
[java] Timestamp response not valid
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to execute: Executing Ant script: /airtest.build.xml [package-admin-air]: Failed to execute.
Java returned: 10
This is a random error that pops up in various point during the build process, and sometimes the build will succeed and then the next one will fail again. This is really weird, does anyone seen this before? I'm using maven 2.2.1
BTW, the error return code 10 in windows mean "Environment is invalid.: