[ http://jira.codehaus.org/browse/MRM-112?page=all ]
Maria Odea Ching updated MRM-112: --------------------------------- Remaining Estimate: 5 hours Original Estimate: 5 hours > Creation of MetadataReposiotryIndex fails if provided index directory exists, > but works if the directory does not exists > ------------------------------------------------------------------------------------------------------------------------ > > Key: MRM-112 > URL: http://jira.codehaus.org/browse/MRM-112 > Project: Maven Repository Manager > Type: Bug > Components: indexing > Versions: 1.0-alpha-1 > Reporter: Alexander Smirnoff > Assignee: Maria Odea Ching > > Original Estimate: 5 hours > Remaining: 5 hours > > Here is the stacktrace: > org.apache.maven.repository.indexing.RepositoryIndexException: C:\dev\index > is not a valid index directory. > at > org.apache.maven.repository.indexing.AbstractRepositoryIndex.indexExists(AbstractRepositoryIndex.java:257) > at > org.apache.maven.repository.indexing.MetadataRepositoryIndex.deleteIfIndexed(MetadataRepositoryIndex.java:195) > at > org.apache.maven.repository.indexing.MetadataRepositoryIndex.indexMetadata(MetadataRepositoryIndex.java:173) > at > org.apache.maven.repository.indexing.MetadataRepositoryIndex.index(MetadataRepositoryIndex.java:67) > ... > the directory exists, if you will pass the path that does not exists, all > works fine. -- 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