Execute discoverer and indexing (if no index exists yet) when the repository webapp is accessed. -------------------------------------------------------------------------------------------------
Key: MRM-116 URL: http://jira.codehaus.org/browse/MRM-116 Project: Maven Repository Manager Type: Task Reporter: Maria Odea Ching The discoverer and indexer are only executed when the scheduler is triggered on a certain time (default: everyday at 8AM). So when the repository webapp is deployed and a search is performed, the index cannot be found resulting to an exception being thrown since the index does not exist yet. To prevent this, when the repository webapp is accessed in the browser, it should be checked if an index already exists. If there is no index yet, then the discoverer and indexer should be executed. Otherwise, it should skip this and wait for the scheduled discovery and indexing. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira