Skip to content

Unable to add component after manually tweaking version #21

Description

@reckart

I have already registered the following Maven/UIMA component:

<groupId>eu.openminted.uc-tdm-socialsciences</groupId>
<artifactId>ss-variable-detection</artifactId>
<artifactId>ss-variable-detection</artifactId>

        <ns1:resourceIdentifier resourceIdentifierSchemeName="maven">mvn:eu.openminted.uc-tdm-socialsciences:ss-variable-detection:1.0.1-SNAPSHOT#eu.openminted.uc.socialsciences.variabledetection.uima.VariableMentionDisambiguator</ns1:resourceIdentifier>

Now I am trying to add it again (because I updated the SNAPSHOT) and am trying to do so by appending injecting an extra part into the version striing (.20180408.2227). I do this in two places:

      <ns1:resourceIdentifiers>
        <ns1:resourceIdentifier resourceIdentifierSchemeName="maven">mvn:eu.openminted.uc-tdm-socialsciences:ss-variable-detection:1.0.1.20180408.2227-SNAPSHOT#eu.openminted.uc.socialsciences.variabledetection.uima.VariableMentionDisambiguator</ns1:resourceIdentifier>
      </ns1:resourceIdentifiers>

and

   <ns1:versionInfo>
      <ns1:version>1.0.1.20180408.2227-SNAPSHOT</ns1:version>
    </ns1:versionInfo>

However, the registry still tells me that the component has already been added instead of registering it again...

What am I doing wrong? It seems to me that the registry should consider the descriptor with the adjusted version string to be a new component.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions