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

wrong dependencies get required for components

Apply templateInsert Lucidchart Diagram
    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • None
    • None
    • None
    • None
    • All
    • Hide

      no more an issue

      Show
      no more an issue
    • Small

    Description

      The dependencies.txt file is generated according to the pom dependencies.
      It includes test dependencies which are not used by the framework but those test dependencies sometime have provided dependencies.
      The problem is that those provided sub dependencies of the test dependencies are marked as provided in the dependencies.txt file and are therefore required for the component which should not be the case because they are test dependencies.

      One solution would be to not add test dependencies in the dependencies.txt file hoping it does not take those sub dependencies along
      this implies modifying the parent pom.

      as an example the simplefile-io runtime get the following dependencies

      The following files have been resolved:
         com.google.cloud.bigdataoss:util:jar:1.4.5:compile
         org.glassfish.grizzly:grizzly-http:jar:2.1.2:provided
         org.slf4j:slf4j-log4j12:jar:1.7.10:provided
      

      where the slf4j-log4j12 comes from some test dependencies.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sgandon sebastien gandon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: