Istvan Toth created HBASE-29016:
-----------------------------------

             Summary: Refactor assembly creation to use only DependencySets and 
move cached classpath creation to a new module
                 Key: HBASE-29016
                 URL: https://issues.apache.org/jira/browse/HBASE-29016
             Project: HBase
          Issue Type: Improvement
          Components: build
            Reporter: Istvan Toth
            Assignee: Istvan Toth


There are a few problem with the current assembly creation:

* The assembly and cached classpath creation is done from the same module, even 
though they need to include different JARs.

*  To filter out the test jars, the descriptor uses a combination of moduleSets 
and dependencySets.
* However, the results are less than ideal, as some test-related JARs are still 
included in the assembly, while some others have multiple versions of the same 
jar added to the assembly.

Separating the assembly and cached classpath creation lets us build the 
assembly without the extra test dependencies and duplicate versions in a much 
simpler and more robust manner.

Relying heavily on the maven dependency mechanism solves the problem of 
duplicate versions, and not depending on the test-related modules at all solves 
the problem of lingering test dependencies.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to