Expansion Diff
Use the expansion diff tool to compare the expanded artifacts of 2 different expansionSettings. You can use this to see the changes between expander versions or when adding options.
Download the jar:
mvn dependency:copy "-Dartifact=net.democritus.tools:expansion-diff-tool:1.8.0:jar:jar-with-dependencies" "-DoutputDirectory=."
Run expansion-diff with:
java -jar expansion-diff-tool-1.8.0-jar-with-dependencies.jar <oldExpansionSettingsFile> <newExpansionSettingsFile>
Additional arguments
Args | Description |
---|---|
-V , --version | Prints the version of the application. |
--help | Prints documentation. |
-e , --exclude=<exclude> | Filter files matching a glob pattern. |
-f , --pomXml=<pomXml> | pom.xml to expand with. (default: pom-expansion.xml ) |
-o , --output=<outputFile> | Target file to write output to. If not defined, output will be written to stdout. |
--simplify | Reduce the number of diffs for the same expander. |
--skipExpansion | Skip expansion and only compare dirs. |