Problem: When I build my maven project, I have one XML file in my project that starts validation but it remains under the validation process. So I want to exclude it from validation.
Solution:
Go to Eclipse/STS -> Window -> Preference -> Validation
Click on the red marked button to go to a particular setting. The below window will pop up.
Click on "Exclude Group" and then click "Add Rule..."
After click on "Add Rule..." below the window of "New Filter Rule Wizard" will pop up.
Select "Folder or file name" from the below options and then click on the Next button.
After Click on Next below window will be shown. Browse folder or file you want to exclude and click Finish.
Apply the above changes. I hope this information will be helpful.
Solution:
Go to Eclipse/STS -> Window -> Preference -> Validation
Click on the red marked button to go to a particular setting. The below window will pop up.
Click on "Exclude Group" and then click "Add Rule..."
After click on "Add Rule..." below the window of "New Filter Rule Wizard" will pop up.
Select "Folder or file name" from the below options and then click on the Next button.
After Click on Next below window will be shown. Browse folder or file you want to exclude and click Finish.
Apply the above changes. I hope this information will be helpful.
0 comments:
Post a Comment