Search code examples
javamavenmaven-changes-plugin

How to configure timeout for maven-changes-plugin?


I have a maven-changes-plugin configured for a build process. Sometimes, JIRA intranet server is down and the build takes ages waiting for a long timeout on JIRA.

Is there a way to configure the timeout?


Solution

  • It does not appear so. The source for the RestJiraDownloader, the class that queries JIRA for issues, has hard-coded timeout values. Lines 562-566 indicate a connection timeout of 36 seconds and a receive timeout of 32 seconds.