title: Adding log4j to maven project
body: <p>I am getting Could not publish to the server. java.lang.IndexOutOfBoundsException exception, when adding log4j dependency to pom.xml
  here is dependency</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;log4j&lt;/groupId&gt;
      &lt;artifactId&gt;log4j&lt;/artifactId&gt;
      &lt;version&gt;1.2.17&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>Everything is OK, when I remove dependency from pom.xml. Can you help me to find the problem?</p>