title: IntelliJ IDEA does not recognise maven dependencies (omitted for conflict with ...)
body: <p>I loaded a Maven project in IntelliJ IDEA, when I run 'mvn clean package' in the terminal, it works fine, but IntelliJ IDEA can not debug or build it and in the UI, maven project tab, shows the following (red line on dependencies):</p>
  
  <p>omitted for conflict with STH</p>
  
  <p><a href="https://i.stack.imgur.com/aHys6.png" rel="noreferrer"><img src="https://i.stack.imgur.com/aHys6.png" alt="enter image description here"></a>
  How should I fix it?</p>