Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to add component after manually tweaking version #21

Open
reckart opened this issue Apr 9, 2018 · 2 comments
Open

Unable to add component after manually tweaking version #21

reckart opened this issue Apr 9, 2018 · 2 comments

Comments

@reckart
Copy link
Member

reckart commented Apr 9, 2018

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.

@reckart
Copy link
Member Author

reckart commented Apr 9, 2018

Hm, maybe just the message "Already added" is wrong because the component actually does show up under "My Components".

The UI should show the normal message, something like "Added blah blah click here to see".

@reckart
Copy link
Member Author

reckart commented Apr 9, 2018

Btw. I have even deleted earlier versions of the component and then registered it again... still it said "already added"...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant