[ https://jira.codehaus.org/browse/MCHANGES-341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=352940#comment-352940 ]
Mirko Friedenhagen edited comment on MCHANGES-341 at 9/19/14 3:10 PM: ---------------------------------------------------------------------- Fixed with http://svn.apache.org/viewvc?view=revision&revision=1626316. I uploaded a SNAPSHOT to https://repository.apache.org/content/repositories/snapshots/org/apache/maven/plugins/maven-changes-plugin/2.11-SNAPSHOT/maven-changes-plugin-2.11-20140919.195826-187.pom [~boris.pavlovic], please test whether the SNAPSHOT resolves this, I currently do not have an instance with this problem. You may set timeouts on the CLI with {{changes.connectionTimeout}} resp. {{changes.receiveTimout}} or by configuring: {code} <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-changes-plugin</artifactId> <version>2.11-SNAPSHOT</version> <configuration> ... <connectionTimeout>300000<connectionTimeout><!-- 5 minutes --> <receiveTimout>300000<receiveTimout><!-- 5 minutes --> ... </configuration> </plugin> </plugins> {code} was (Author: mfriedenhagen): Fixed with http://svn.apache.org/viewvc?view=revision&revision=1626316. I uploaded a SNAPSHOT to https://repository.apache.org/content/repositories/snapshots/org/apache/maven/plugins/maven-changes-plugin/2.11-SNAPSHOT/maven-changes-plugin-2.11-20140919.195826-187.pom [~boris.pavlovic], please test whether the SNAPSHOT resolves this, I currently do not have an instance with this problem. > Externalize JIRA server timeout values to the configuration section > ------------------------------------------------------------------- > > Key: MCHANGES-341 > URL: https://jira.codehaus.org/browse/MCHANGES-341 > Project: Maven Changes Plugin > Issue Type: Improvement > Reporter: Boris Pavlovic > Assignee: Mirko Friedenhagen > Fix For: 2.11 > > > [Based on the StackOverflow > Question|http://stackoverflow.com/questions/25626369/how-to-configure-timeout-for-maven-changes-plugin/25627583#25627583] > ---------------- > QUESTION: > 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? > ANSWER: > 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. -- This message was sent by Atlassian JIRA (v6.1.6#6162)