title: Spring SAML: Could not find artifacts while using as maven dependency with version 1.0.4.RELEASE
body: <p>I am trying to use <code>spring-security-saml2-core-1.0.4.RELEASE</code> as maven dependency for my project and encounter two issues when <code>mvn install</code>:</p>
  
  <ol>
  <li><p>Failure <code>"Could not find artifact xml-apis:xml-apis:jar:1.4 ... "</code>. I have not found 1.4 version of xml-apis dependency neither in Maven repository nor in repositories listed in <a href="https://github.com/spring-projects/spring-security-saml/blob/rb1.0.4.RELEASE/build.gradle" rel="noreferrer">build.gradle</a> file. As a workaround I am forced to add explicit dependency with slightly different version to my project:</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;xml-apis&lt;/groupId&gt;
      &lt;artifactId&gt;xml-apis&lt;/artifactId&gt;
      &lt;version&gt;1.4.01&lt;/version&gt;
      &lt;scope&gt;runtime&lt;/scope&gt;
  &lt;/dependency&gt;
  </code></pre></li>
  <li><p>Failure: <code>"Could not find artifact org.opensaml:opensaml:jar:2.6.6 ..." and "Could not find artifact ca.juliusdavies:not-yet-commons-ssl:jar:0.3.17 ..."</code>. As a workaround I am forced to add explicit maven repositories where I was able to find the artifacts to my project:</p>
  
  <pre><code>&lt;repository&gt;
      &lt;id&gt;alfresco&lt;/id&gt;
      &lt;name&gt;Alfresco&lt;/name&gt;
      &lt;url&gt;https://artifacts.alfresco.com/nexus/content/repositories/public/&lt;/url&gt;
  &lt;/repository&gt;
  &lt;repository&gt;
      &lt;id&gt;mulesoft&lt;/id&gt;
      &lt;name&gt;Mulesoft&lt;/name&gt;
      &lt;url&gt;http://repository.mulesoft.org/releases/&lt;/url&gt;
  &lt;/repository&gt;
  </code></pre></li>
  </ol>
  
  <p>Is it possible to handle the build issues without declaring explicit dependency and repositories?</p>