title: Could not find artifact and could not resolve dependencies
body: <p>I'm working in a maven project which contains many dependencies, i have a dependency from a centralized <strong>remote NEXUS repository</strong> ,so i should have a specific configuration in my <strong>setting.xml</strong>..
  so When i launch <strong>clean install</strong> from the maven tab in intellij it displays errors:</p>
  
  <blockquote>
    <p>ERROR] Failed to execute goal on project calender: Could not resolve
    dependencies for project com.orange:calender:war:1.0-SNAPSHOT: Could
    not find artifact com.francetelecom.clara.component:security:jar:3.0.0
    in central (<a href="https://repo.maven.apache.org/maven2" rel="nofollow noreferrer">https://repo.maven.apache.org/maven2</a>) -> [Help 1]</p>
  </blockquote>
  
  <p>but when i switch to the Terminal tab in intellij  the build succeed without errors and when i try to deploy the war within Tomcat it won't.
  Tomcat log:</p>
  
  <blockquote>
    <p>java.lang.NoSuchMethodError:
    org.apache.commons.collections.ArrayStack: method (I)V not found
      at org.apache.commons.digester.Digester.(Digester.java:150)   at
    com.francetelecom.clara.security.config.SecurityConfig.parse(SecurityConfig.java:95)
      at
    com.francetelecom.clara.security.SecurityManager.initialize(SecurityManager.java:114)
      at
    com.francetelecom.clara.security.SecurityManager.(SecurityManager.java:99)
      at
    com.francetelecom.clara.security.SecurityManager.getContextInstance(SecurityManager.java:371)</p>
  </blockquote>