Created
April 6, 2017 03:06
-
-
Save thiamteck/49a4dbdca01b15028d26d573590262f8 to your computer and use it in GitHub Desktop.
Remove default namespace declaration from pom.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Reference : http://stackoverflow.com/a/16700113/90101 | |
# | |
# | |
# remove default namespace declaration | |
# | |
sed -e 's/ xmlns=".*"//g' pom.xml | |
# | |
# remove all namespace declaration | |
# TODO remove schemaLocation | |
# | |
sed -e 's/ xmlns.*=".*"//g' pom.xml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment