Details
Description
- added a new index and pointed it at one nexus group. The context provided by nexus is "public-merged".
- then edited the existing Central index url to point at another nexus instance.
- clicked retrieve context and it also said public-merged.
- When i saved it, the central one simply disappeared.
What if i really want both indexes? I don't have control all the time of the context used on the remote url so m2e should be able to handle this.
Nexus deals with it by changing the context after it's downloaded before attempting to merge them together.
Activity
Eugene Kuleshov
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Summary | m2e incorrectly handles indexes with the same context | allow to use non-unique index ids |
| Component/s | Indexer [ 11992 ] | |
| Description |
I added a new index and pointed it at one nexus group. The context provided by nexus is "public-merged". I then edited the existing Central index url to point at another nexus instance. I clicked retrieve context and it also said public-merged. When i saved it, the central one simply disappeared. What if i really want both indexes? I don't have control all the time of the context used on the remote url so m2e should be able to handle this. Nexus deals with it by changing the context after it's downloaded before attempting to merge them together. |
* added a new index and pointed it at one nexus group. The context provided by nexus is "public-merged". * then edited the existing Central index url to point at another nexus instance. * clicked retrieve context and it also said public-merged. * When i saved it, the central one simply disappeared. What if i really want both indexes? I don't have control all the time of the context used on the remote url so m2e should be able to handle this. Nexus deals with it by changing the context after it's downloaded before attempting to merge them together. |
Jason van Zyl
made changes -
| Fix Version/s | 0.9.7.1 [ 14715 ] |
Jason van Zyl
made changes -
| Workflow | Maven New [ 97000 ] | jira [ 101162 ] |
Jason van Zyl
made changes -
| Assignee | Rich Seddon [ rich.seddon ] |
Unfortunately this is limitation in the indexer, the context id must match id in the index. All relevant code is actually in the nexus indexer component.