The flatten plugin from maven helps to remove any development-specific element, build specific element or environment-specific elements in the pom file and prepares a pom file that can be published and can be consumed by other
Command to execute it
mvn flatten:clean flatten:flatten
After the execution, we can find the flattened pom file in the same location where original pom file was and with the name .flattened-pom.xml
No comments:
Post a Comment