Skip to content

Commit 41c98f7

Browse files
committed
Clarify Spring Data LDAP Dependency Requirements
Closes gh-32
1 parent 3bb4b44 commit 41c98f7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/docs/asciidoc/index.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,17 +241,20 @@ At a minimum, to use Spring LDAP you need the following:
241241
* `spring-ldap-core`: The Spring LDAP library
242242
* `spring-core`: Miscellaneous utility classes used internally by the framework
243243
* `spring-beans`: Interfaces and classes for manipulating Java beans
244-
* `spring-data-commons`: Base infrastructure for repository support and so on
245244
* `slf4j`: A simple logging facade, used internally
246245

247246
In addition to the required dependencies, the following optional dependencies are required for certain functionality:
248247

248+
* `spring-data-ldap`: Base infrastructure for repository support and so on
249249
* `spring-context`: Needed if your application is wired up by using the Spring Application Context. `spring-context` adds the ability for application objects to obtain resources by using a consistent API. It is definitely needed if you plan to use the `BaseLdapPathBeanPostProcessor`.
250250
* `spring-tx`: Needed if you plan to use the client-side compensating transaction support.
251251
* `spring-jdbc`: Needed if you plan to use the client-side compensating transaction support.
252252
* `commons-pool`: Needed if you plan to use the pooling functionality.
253253
* `spring-batch`: Needed if you plan to use the LDIF parsing functionality together with Spring Batch.
254254

255+
NOTE: `spring-data-ldap` transitively adds `spring-repository.xsd`, which `spring-ldap.xsd` uses.
256+
Because of this, Spring LDAP's XML config support requires the dependency even when Spring Data's feature set is not in use.
257+
255258
[[spring-ldap-getting-started]]
256259
=== Getting Started
257260

0 commit comments

Comments
 (0)