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 Diagram
    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: