Encountered such a problem today, from the Internet under a maven build open source blog, use eclipse run, I do not want to eclipse the original maven repository
operating:
Step 1: Set you will want to use maven dependent profile
Step two: Remove the original maven dependence
1
The third step: Right Project -> maven -> Disable Workspace Resolution
Step Four: Right Project -> maven -> select maven profile
Step five: When activated maven -> Enable Workspace Resolution
Step Six: Close the open project on it