Uploaded image for project: 'Talend Component Kit'
  1. Talend Component Kit
  2. TCOMP-2133

component-registry uses detailed version not baseVersion in snapshot case

Apply templateInsert Lucidchart DiagramXMLWordPrintable

      With new version of mojo (TCOMP-2102), the component-registry.properties is filed with artifact's snapshot detailed version (ie including timestamp) meanwhile the repository created uses baseVersion (ie  x.y.z-SNAPSHOT).
      Thus, component-server on starter cannot find  artifacts in repository.
       

      For instance, artifact  org.talend.components:jdbc-ee:car:component:1.33.0-20220507.091042-30 (1.33.0-SNAPSHOT) is stored in repository as

      /opt/talend/connectors/org/talend/components/jdbc-ee/1.33.0-SNAPSHOT/jdbc-ee:1.33.0-SNAPSHOT.jar
      

      but in registry we have :

      jdbc-ee:=org.talend.components:jdbc-ee:car:component:1.33.0-20220507.091042-30
      

      So, artifact 1.33.0-SNAPSHOT cannot be found.

            emmanuel_g emmanuel gallois
            emmanuel_g emmanuel gallois
            emmanuel gallois
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: