This merge tool is a helping hand in case you have multiple Salesforce manifests that need to be combined some way: summarized together or found the components that both contain.
You need Java 8+ and Maven 3
# build the package
mvn clean install;
# copy the result file to the parent
mv target/manifest-merge-0.1-IN\ DEVEOPMENT-jar-with-dependencies.jar .
# rename to the short name
mv manifest-merge-0.1-IN\ DEVEOPMENT-jar-with-dependencies.jar manifest-merge.jar
Use the built jar file "with dependencies"
java -jar manifest-merge.jar STRATEGY target.xml source1.xml soutce2.xml [...source.xml files]
Additional flags:
-h
or--help
to print the usage. You can also write thejava -jar manifest-merge.jar HELP
- UNIFY (A ∩ B), allows as many sources as entered, at least 2
- INTERSECT (A ∪ B), allows as many sources as entered, at least 2
- SUBTRACT (A ∖ B), remove elements of source 2 from source 1
- Highest
- Lowest
- Custom
- Form the first package
- From the last package
- Set as separate CLI argument <- WIP, currently takes the highest version, but can be changed through the source code
- Custom
- Form the first package
- From the last package
- Set as separate CLI argument <- WIP, currently takes nulls, but can be changed through the source code
MIT