简体   繁体   English

从1.3.2版开始,中央Maven中缺少Spring-ldap jar

[英]Spring-ldap jar is missing in central maven starting from version 1.3.2

I couldn't find the spring-ldap jar in central maven starting from version 1.3.2. 从版本1.3.2开始,我在中央Maven中找不到spring-ldap jar。

We use maven to manage dependency and we pull the spring jars from central maven (in turn using an internal repository)because this jar is not available in central maven we are not able to pull it. 我们使用Maven来管理依赖关系,并从中央Maven中提取弹簧罐(依次使用内部存储库),因为该罐在中央Maven中不可用,因此我们无法提取它。 Please advice why this jar is missing in Maven central and what alternate options are available? 请提出意见,为什么Maven Central中缺少此jar,还有哪些替代选项可用?

Even in spring repo( https://repo.spring.io/release ) the artifact are provided as a zip file and the jar isn't provided directly. 即使在spring repo( https://repo.spring.io/release )中,工件也以zip文件形式提供,而jar却没有直接提供。

Looking for the below artifact Group ID: org.springframework.ldap Artifact ID: spring-ldap version: 2.0.2 寻找以下工件组ID:org.springframework.ldap工件ID:spring-ldap版本:2.0.2

The best option, as for me, is to use needed submodules of spring-ldap, for instance spring-ldap-core: 对我来说,最好的选择是使用spring-ldap所需的子模块,例如spring-ldap-core:

<dependency>
    <groupId>org.springframework.ldap</groupId>
    <artifactId>spring-ldap-core</artifactId>
    <version>2.0.4.RELEASE</version>
</dependency>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM