Skip to content

[MASSEMBLY-832] Consider dependency optional attribute when gather dependencies #1056

Open
@jira-importer

Description

@jira-importer

Nikolas Falco opened MASSEMBLY-832 and commented

In some scenario we would like to have the opportunity to skip optional dependencies

<assembly ...>
  <id>dist</id>
  <formats>
    <format>zip</format>
  </formats>
    <includeBaseDirectory>false</includeBaseDirectory>
    <moduleSets>
      <moduleSet>
        <!-- Enable access to all projects in the current multimodule build! -->
        <useAllReactorProjects>true</useAllReactorProjects>
        <binaries>
          <outputDirectory>3rdparty</outputDirectory>
          <unpack>false</unpack>

          <dependencySets>
            <dependencySet>
              <!-- option 1 -->
              <considerOptional>true</considerOptional>
              <!-- or option 2 -->
              <includes>
                <!-- groupId:artifactId:type[:classifier][:optional]:version -->
                <include>*:*:*:false:*</include>
              </includes>
           </dependencySet>
         </dependencySets>
       </binaries>
    </moduleSet>
  </moduleSets>
</assembly>

Affects: 2.6

Issue Links:

  • HIVE-25832 Exclude Category-X JDBC drivers from binary distribution
    ("causes")

Remote Links:

2 votes, 4 watchers

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions