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

Allow to filter artifacts in car file generation

Apply templateInsert Lucidchart DiagramXMLWordPrintable

    • All
    • Hide

      using the system property talend.bundle.exclude.artifacts

      • you can split multiple artifacts separated by ,
      • the form used for filtering artifact is groupId:artifactId:version
      • it uses a String::startsWith so case is important, do not provide too wide pattern like "j,o,i,com"
      • it can be hardcoded in pom.xml or dynamically with --define, groovy script or profiles

      Samples

       mvn talend-component:car -Dtalend.bundle.exclude.artifacts=" org.apache.commons:"
       mvn talend-component:car -DskipTests -Dtalend.exclude.artifacts="org.apache.parquet,org.apache.avro:avro:1.8.2,com"
      
      Show
      using the system property talend.bundle.exclude.artifacts you can split multiple artifacts separated by , the form used for filtering artifact is groupId:artifactId:version it uses a String::startsWith so case is important, do not provide too wide pattern like "j,o,i,com" it can be hardcoded in pom.xml or dynamically with --define , groovy script or profiles Samples mvn talend-component:car -Dtalend.bundle.exclude.artifacts=" org.apache.commons:" mvn talend-component:car -DskipTests -Dtalend.exclude.artifacts="org.apache.parquet,org.apache.avro:avro:1.8.2,com"
    • GreenHopper Ranking:
      0|i27cez:
    • 9223372036854775807
    • Small

      The goal is to provide a way to filter artifacts embedded in the car produced by the talend-maven-plugin.

      First approach, provide a system property containing the excluding filters to apply when generating the dependencies.

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

              Created:
              Updated:
              Resolved: