jira-importer commented on issue #498: URL: https://github.com/apache/maven-scm/issues/498#issuecomment-2964599461
**[Ludovic Claude](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=ludovicc)** commented Adding the following lines to VssHistoryCommand.java takes care of this issue. It works well for me, builds are now executed when there are modifications in the VSS repository. //Display only versions that fall within specified data range. if ( startDate != null ) { + if (endDate == null) + { + endDate = new Date(); // = now + } SimpleDateFormat sdf = new SimpleDateFormat( "dd/MM/yyyy", Locale.ENGLISH ); String dateRange = sdf.format( endDate ) + "~" + sdf.format( startDate ); command.createArgument().setValue( VssConstants.FLAG_VERSION_DATE + dateRange ); } return command; -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
