HannesWell edited a comment on pull request #105:
URL: https://github.com/apache/maven-indexer/pull/105#issuecomment-933865098
Is the following code a suitable workaround for the meantime until the next
indexer release?
```
NexusIndexer indexer = ...;
IndexingContext ctx = ...;
indexer.removeIndexingContext(ctx, true);
ctx = indexer.addIndexingContextForced(ctx.getId(), ctx.getRepositoryId(),
ctx.getRepository(),
ctx.getIndexDirectoryFile(), ctx.getRepositoryUrl(),
ctx.getIndexUpdateUrl(), ctx.getIndexCreators());
ctx.rebuildGroups();
ctx.updateTimestamp(true, null);
```
--
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]