title: Maven Dependency Resolution for Apache Rampart Fails
body: <p>I'm having trouble performing a clean install on my Maven project. This was an old web project that I converted to Maven using Eclipse Kepler's 'Convert to Maven Project' functionality.  I am using JDK 1.6, with both project and workspace compliance set to 1.6 as well.  After converting the project to Maven, I began configuring the pom.  This went fine for the most part.</p>
  
  <p>Unfortunately, once I deployed to a local Tomcat 3.0.36 server, at runtime, I found more errors indicating missing Jars; this was expected, and the two that were missing were added to the pom.  Once these two jars were added to the pom, I was unable to build, as Maven says that it cannot transfer the dependencies to my local repository, from Maven's central repository, due to being unauthorized.</p>
  
  <p>I do not have proxies set up in my config, and I'm almost positive I don't need to set them up, particularly since I can retrieve other dependencies and their metadata, just not these two Jars.  I do have one mirror configured in my Maven settings, just as a backup in case central is over loaded.</p>
  
  <p>Does anyone know what is going on here?  Is it something to do with the "shibboleth" URL in the error log?  Do I need to exclude all rampart dependencies and manually add them to the POM?</p>
  
  <p>The error log:  </p>
  
  <pre><code>[DEBUG] Using mirror Central (http://repo1.maven.org/maven2) for central (http://repo.maven.apache.org/maven2).
  [DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=3, ConflictMarker.markTime=1, ConflictMarker.nodeCount=445, ConflictIdSorter.graphTime=2, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=87, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=34, ConflictResolver.conflictItemCount=180, DefaultDependencyCollector.collectTime=9571, DefaultDependencyCollector.transformTime=42}
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 10.129s
  [INFO] Finished at: Thu Oct 31 15:48:18 EDT 2013
  [INFO] Final Memory: 7M/120M
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal on project &lt;project&gt;: Could not resolve dependencies for project com.&lt;company&gt;:&lt;project&gt;:war:0.0.1: Failed to collect dependencies at org.opensaml:opensaml:jar:2.2.1 -&gt; org.opensaml:openws:jar:1.2.0 -&gt; org.opensaml:xmltooling:jar:1.1.0 -&gt; org.bouncycastle:bcprov-ext-jdk15:jar:1.40: Failed to read artifact descriptor for org.bouncycastle:bcprov-ext-jdk15:jar:1.40: Could not transfer artifact org.bouncycastle:bcprov-ext-jdk15:pom:1.40 from/to Central (http://repo1.maven.org/maven2): Not authorized , ReasonPhrase:Unauthorized. -&gt; [Help 1]
  org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project &lt;project&gt;: Could not resolve dependencies for project com.&lt;company&gt;:&lt;project&gt;:war:0.0.1: Failed to collect dependencies at org.opensaml:opensaml:jar:2.2.1 -&gt; org.opensaml:openws:jar:1.2.0 -&gt; org.opensaml:xmltooling:jar:1.1.0 -&gt; org.bouncycastle:bcprov-ext-jdk15:jar:1.40
      at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:220)
      at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:127)
      at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:257)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:200)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
      at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
      at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
      at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
      at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
      at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
      at org.codehaus.classworlds.Launcher.main(Launcher.java:46)
  Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project com.&lt;company&gt;:&lt;project&gt;:war:0.0.1: Failed to collect dependencies at org.opensaml:opensaml:jar:2.2.1 -&gt; org.opensaml:openws:jar:1.2.0 -&gt; org.opensaml:xmltooling:jar:1.1.0 -&gt; org.bouncycastle:bcprov-ext-jdk15:jar:1.40
      at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:167)
      at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:195)
      ... 23 more
  Caused by: org.eclipse.aether.collection.DependencyCollectionException: Failed to collect dependencies at org.opensaml:opensaml:jar:2.2.1 -&gt; org.opensaml:openws:jar:1.2.0 -&gt; org.opensaml:xmltooling:jar:1.1.0 -&gt; org.bouncycastle:bcprov-ext-jdk15:jar:1.40
      at org.eclipse.aether.internal.impl.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:292)
      at org.eclipse.aether.internal.impl.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:317)
      at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:159)
      ... 24 more
  Caused by: org.eclipse.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for org.bouncycastle:bcprov-ext-jdk15:jar:1.40
      at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:335)
      at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:217)
      at org.eclipse.aether.internal.impl.DefaultDependencyCollector.process(DefaultDependencyCollector.java:461)
      at org.eclipse.aether.internal.impl.DefaultDependencyCollector.process(DefaultDependencyCollector.java:573)
      at org.eclipse.aether.internal.impl.DefaultDependencyCollector.process(DefaultDependencyCollector.java:573)
      at org.eclipse.aether.internal.impl.DefaultDependencyCollector.process(DefaultDependencyCollector.java:573)
      at org.eclipse.aether.internal.impl.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:261)
      ... 26 more
  Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not transfer artifact org.bouncycastle:bcprov-ext-jdk15:pom:1.40 from/to Central (http://repo1.maven.org/maven2): Not authorized , ReasonPhrase:Unauthorized.
      at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:459)
      at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262)
      at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:239)
      at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:320)
      ... 32 more
  Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact org.bouncycastle:bcprov-ext-jdk15:pom:1.40 from/to Central (http://repo1.maven.org/maven2): Not authorized , ReasonPhrase:Unauthorized.
      at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$6.wrap(WagonRepositoryConnector.java:1016)
      at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$6.wrap(WagonRepositoryConnector.java:1004)
      at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:725)
      at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
      at java.lang.Thread.run(Thread.java:662)
  Caused by: org.apache.maven.wagon.authorization.AuthorizationException: Not authorized , ReasonPhrase:Unauthorized.
      at org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:932)
      at org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116)
      at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88)
      at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)
      at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:660)
      ... 4 more
  [ERROR] 
  [ERROR] 
  [ERROR] For more information about the errors and possible solutions, please read the following articles:
  [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
  </code></pre>
  
  <p>Here is my pom:  </p>
  
  <pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
  
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;groupId&gt;com.company&lt;/groupId&gt;
      &lt;artifactId&gt;project&lt;/artifactId&gt;
      &lt;version&gt;0.0.1&lt;/version&gt;
      &lt;packaging&gt;war&lt;/packaging&gt;
      &lt;name&gt;Web Services&lt;/name&gt;
      &lt;description&gt;This project handles communication.&lt;/description&gt;
  
      &lt;properties&gt;
          &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
  &lt;/properties&gt;
  
      &lt;repositories&gt;
          &lt;repository&gt;
              &lt;id&gt;opensaml&lt;/id&gt;
              &lt;name&gt;OpenSAML Repository&lt;/name&gt;
              &lt;url&gt;https://build.shibboleth.net/nexus/content/repositories/releases&lt;/url&gt;
      &lt;/repository&gt;
  &lt;/repositories&gt;
  
      &lt;build&gt;
          &lt;sourceDirectory&gt;src&lt;/sourceDirectory&gt;
  
          &lt;resources&gt;
              &lt;resource&gt;
                  &lt;directory&gt;src&lt;/directory&gt;
                  &lt;excludes&gt;
                      &lt;exclude&gt;**/*.java&lt;/exclude&gt;
              &lt;/excludes&gt;
          &lt;/resource&gt;
      &lt;/resources&gt;
  
          &lt;plugins&gt;
              &lt;!-- This plugin installs the Evip jar from the project's lib to the local 
              repository for normal Maven consumption --&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
                  &lt;artifactId&gt;exec-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;1.2.1&lt;/version&gt;
                  &lt;inherited&gt;false&lt;/inherited&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;id&gt;install-evip-jar&lt;/id&gt;
                          &lt;phase&gt;validate&lt;/phase&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;exec&lt;/goal&gt;
                      &lt;/goals&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
                  &lt;configuration&gt;
                      &lt;executable&gt;mvn&lt;/executable&gt;
                      &lt;arguments&gt;
                          &lt;argument&gt;install:install-file&lt;/argument&gt;
                          &lt;argument&gt;-Dfile=${basedir}\WebContent\WEB-INF\lib\EVIPSoapServer.jar&lt;/argument&gt;
                          &lt;argument&gt;-DgroupId=com.convergys&lt;/argument&gt;
                          &lt;argument&gt;-DartifactId=EVIPSoapServer&lt;/argument&gt;
                          &lt;argument&gt;-Dversion=1.0.0&lt;/argument&gt;
                          &lt;argument&gt;-Dpackaging=jar&lt;/argument&gt;
                  &lt;/arguments&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
  
              &lt;!-- This will compile source files into class files --&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                  &lt;version&gt;3.1&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;source&gt;1.6&lt;/source&gt;
                      &lt;target&gt;1.6&lt;/target&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
  
              &lt;!-- This includes java source files in the same location as class files --&gt;
              &lt;plugin&gt;
                  &lt;artifactId&gt;maven-war-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.3&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;warSourceDirectory&gt;WebContent&lt;/warSourceDirectory&gt;
                      &lt;webResources&gt;
                          &lt;resource&gt;
                              &lt;directory&gt;${project.build.sourceDirectory}&lt;/directory&gt;
                              &lt;targetPath&gt;WEB-INF/classes&lt;/targetPath&gt;
                      &lt;/resource&gt;
                  &lt;/webResources&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
          &lt;pluginManagement&gt;
              &lt;plugins&gt;
                  &lt;!--This plugin's configuration is used to store Eclipse m2e settings 
                  only. It has no influence on the Maven build itself. --&gt;
                  &lt;plugin&gt;
                      &lt;groupId&gt;org.eclipse.m2e&lt;/groupId&gt;
                      &lt;artifactId&gt;lifecycle-mapping&lt;/artifactId&gt;
                      &lt;version&gt;1.0.0&lt;/version&gt;
                      &lt;configuration&gt;
                          &lt;lifecycleMappingMetadata&gt;
                              &lt;pluginExecutions&gt;
                                  &lt;pluginExecution&gt;
                                      &lt;pluginExecutionFilter&gt;
                                          &lt;groupId&gt;
                                          org.codehaus.mojo
                                      &lt;/groupId&gt;
                                          &lt;artifactId&gt;
                                          exec-maven-plugin
                                      &lt;/artifactId&gt;
                                          &lt;versionRange&gt;
                                          [1.2.1,)
                                      &lt;/versionRange&gt;
                                          &lt;goals&gt;
                                              &lt;goal&gt;exec&lt;/goal&gt;
                                      &lt;/goals&gt;
                                  &lt;/pluginExecutionFilter&gt;
                                      &lt;action&gt;
                                          &lt;ignore&gt;&lt;/ignore&gt;
                                  &lt;/action&gt;
                              &lt;/pluginExecution&gt;
                          &lt;/pluginExecutions&gt;
                      &lt;/lifecycleMappingMetadata&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/pluginManagement&gt;
  &lt;/build&gt;
  
      &lt;dependencies&gt;
          &lt;!-- COMPILE DEPENDENCIES --&gt;
          &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;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.convergys&lt;/groupId&gt;
              &lt;artifactId&gt;EVIPSoapServer&lt;/artifactId&gt;
              &lt;version&gt;1.0.0&lt;/version&gt;
              &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.sun.xml.ws&lt;/groupId&gt;
              &lt;artifactId&gt;jaxws-rt&lt;/artifactId&gt;
              &lt;version&gt;2.1.3&lt;/version&gt;
              &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.axis2&lt;/groupId&gt;
              &lt;artifactId&gt;axis2-jaxws&lt;/artifactId&gt;
              &lt;version&gt;1.5.4&lt;/version&gt;
      &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.axis2&lt;/groupId&gt;
              &lt;artifactId&gt;axis2&lt;/artifactId&gt;
              &lt;version&gt;1.5.4&lt;/version&gt;
              &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;axis&lt;/groupId&gt;
              &lt;artifactId&gt;axis&lt;/artifactId&gt;
              &lt;version&gt;1.4&lt;/version&gt;
              &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.axis2&lt;/groupId&gt;
              &lt;artifactId&gt;axis2-transport-local&lt;/artifactId&gt;
              &lt;version&gt;1.5.4&lt;/version&gt;
              &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.axis2&lt;/groupId&gt;
              &lt;artifactId&gt;axis2-transport-http&lt;/artifactId&gt;
              &lt;version&gt;1.5.4&lt;/version&gt;
      &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.axis2&lt;/groupId&gt;
              &lt;artifactId&gt;axis2-kernel&lt;/artifactId&gt;
              &lt;version&gt;1.5.4&lt;/version&gt;
              &lt;scope&gt;compile&lt;/scope&gt;
              &lt;exclusions&gt;
                  &lt;!-- CANNOT HAVE SERVLET-API IN WEB-INF/LIB FOLDER --&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
                      &lt;artifactId&gt;servlet-api&lt;/artifactId&gt;
              &lt;/exclusion&gt;
          &lt;/exclusions&gt;
      &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.rampart&lt;/groupId&gt;
              &lt;artifactId&gt;rampart-trust&lt;/artifactId&gt;
              &lt;version&gt;1.5.1&lt;/version&gt;
              &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;org.apache.xalan&lt;/groupId&gt;
                      &lt;artifactId&gt;xalan&lt;/artifactId&gt;
              &lt;/exclusion&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;org.opensaml&lt;/groupId&gt;
                      &lt;artifactId&gt;opensaml&lt;/artifactId&gt;
              &lt;/exclusion&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;org.opensaml&lt;/groupId&gt;
                      &lt;artifactId&gt;openws&lt;/artifactId&gt;
              &lt;/exclusion&gt;
          &lt;/exclusions&gt;
      &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.rampart&lt;/groupId&gt;
              &lt;artifactId&gt;rampart-core&lt;/artifactId&gt;
              &lt;version&gt;1.5.1&lt;/version&gt;
              &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;org.apache.xalan&lt;/groupId&gt;
                      &lt;artifactId&gt;xalan&lt;/artifactId&gt;
              &lt;/exclusion&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;org.opensaml&lt;/groupId&gt;
                      &lt;artifactId&gt;opensaml&lt;/artifactId&gt;
              &lt;/exclusion&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;org.opensaml&lt;/groupId&gt;
                      &lt;artifactId&gt;openws&lt;/artifactId&gt;
              &lt;/exclusion&gt;
          &lt;/exclusions&gt;
      &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;commons-lang&lt;/groupId&gt;
              &lt;artifactId&gt;commons-lang&lt;/artifactId&gt;
              &lt;version&gt;2.6&lt;/version&gt;
              &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.ws.commons.axiom&lt;/groupId&gt;
              &lt;artifactId&gt;axiom-api&lt;/artifactId&gt;
              &lt;version&gt;1.2.10&lt;/version&gt;
              &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;xalan&lt;/groupId&gt;
              &lt;artifactId&gt;xalan&lt;/artifactId&gt;
              &lt;version&gt;2.7.1&lt;/version&gt;
      &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.opensaml&lt;/groupId&gt;
              &lt;artifactId&gt;opensaml&lt;/artifactId&gt;
              &lt;version&gt;2.2.1&lt;/version&gt;
              &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;opensaml&lt;/groupId&gt;
                      &lt;artifactId&gt;openws&lt;/artifactId&gt;
              &lt;/exclusion&gt;
          &lt;/exclusions&gt;
      &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;opensaml&lt;/groupId&gt;
              &lt;artifactId&gt;openws&lt;/artifactId&gt;
              &lt;version&gt;1.2.0&lt;/version&gt;
              &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;org.opensaml&lt;/groupId&gt;
                      &lt;artifactId&gt;xmltooling&lt;/artifactId&gt;
              &lt;/exclusion&gt;
          &lt;/exclusions&gt;
      &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.opensaml&lt;/groupId&gt;
              &lt;artifactId&gt;xmltooling&lt;/artifactId&gt;
              &lt;version&gt;1.2.0&lt;/version&gt;
              &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;org.bouncycastle&lt;/groupId&gt;
                      &lt;artifactId&gt;bcprov-ext-jdk15&lt;/artifactId&gt;
              &lt;/exclusion&gt;
          &lt;/exclusions&gt;
      &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.bouncycastle&lt;/groupId&gt;
              &lt;artifactId&gt;bcprov-ext-jdk15&lt;/artifactId&gt;
              &lt;version&gt;1.43&lt;/version&gt;
      &lt;/dependency&gt;
  
          &lt;!-- PROVIDED DEPENDENCIES --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
              &lt;artifactId&gt;servlet-api&lt;/artifactId&gt;
              &lt;version&gt;2.3&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  </code></pre>
  
  <p></p>