Practical usecase scenario is : If we are working for multiple software vendor, we might need to
switch maven environment setting to customer's configuration settings and vice versa.
This can be done by
1. Maven cli with -s, --settings <args>
mvn -s customerXXXMvnSetting.xml
2. with git.
Initialize git repo in maven setting directory and create branch for different customers for example
git checkout -b customerXXXMvnSetting
Link
switch maven environment setting to customer's configuration settings and vice versa.
This can be done by
1. Maven cli with -s, --settings <args>
mvn -s customerXXXMvnSetting.xml
2. with git.
Initialize git repo in maven setting directory and create branch for different customers for example
git checkout -b customerXXXMvnSetting
Link
No comments:
Post a Comment