【发布时间】:2012-12-13 17:39:43
【问题描述】:
我被分配了在我的公司和客户之间实施 SAML 的任务。我正在考虑使用 OpenSAML,但我正在努力设置 maven 项目。
我添加依赖:
<dependency>
<groupId>org.opensaml</groupId>
<artifactId>opensaml</artifactId>
<version>2.5.1</version>
</dependency>
但是pom文件有错误:Missing artifact xerces:xml-apis:jar:1.4.01
我在 maven 存储库中找不到此依赖项。检查 OpenSAML 站点时,它指出:
在基于 Maven 的项目中使用 OpenSAML
以下是在内部使用 OpenSAML 所需的信息 基于 Maven 的项目。 Maven 存储库: https://build.shibboleth.net/nexus/content/repositories/releases集团 ID:org.opensaml 工件 ID:opensaml
但是当我在我的 pom 文件中配置该存储库时,它仍然找不到依赖项。
<repositories>
<repository>
<id>org.opensaml</id>
<url>https://build.shibboleth.net/nexus/content/repositories/releases</url>
</repository>
</repositories>
有人在 Maven 中设置了 OpenSAML 可以提供帮助吗?
【问题讨论】:
标签: maven dependencies opensaml