Hi guys,

I'm failing to include both the directory server client for test and
the API and I'd like to ask if there is a smart way to do this because
at this time I've got lost inside the duplicated classes and Maven
artifacts. I join my dependencies below  :

            <dependency>
              <groupId>org.apache.directory.server</groupId>
              <artifactId>apacheds-server-integ</artifactId>
              <version>1.5.7</version>
              <exclusions>
                <exclusion>
                        <groupId>org.slf4j</groupId>
                        <artifactId>slf4j-api</artifactId>
                </exclusion>
                <exclusion>
                        <groupId>org.apache.directory.shared</groupId>
                        <artifactId>shared-ldap-schema</artifactId>
                </exclusion>
              </exclusions>
              <scope>test</scope>
            </dependency>
            <dependency>
              <groupId>org.apache.directory.server</groupId>
              <artifactId>apacheds-core-integ</artifactId>
              <version>1.5.7</version>
              <exclusions>
                <exclusion>
                        <groupId>org.slf4j</groupId>
                        <artifactId>slf4j-api</artifactId>
                </exclusion>
                <exclusion>
                        <groupId>org.apache.directory.shared</groupId>
                        <artifactId>shared-ldap-schema</artifactId>
                </exclusion>
              </exclusions>
              <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>org.apache.directory.shared</groupId>
                <artifactId>shared-all</artifactId>
                <version>1.0.0-M11</version>
            </dependency>

I've got some troubles about missing classes, so I added :
            <dependency>
                <groupId>org.apache.directory.client.ldap</groupId>
                <artifactId>ldap-client-api</artifactId>
                <version>0.1</version>
            </dependency>

And now I've got new missing class exception about
org.apache.directory.shared.ldap.exception.LdapInvalidDnException
which seems to be part of shared-ldap-0.9.18 which should be included
thanks to ldap-client-api-0.1.

Thanks,
-- 
Sebastien BAHLOUL
IAM / Security specialist
Ldap Synchronization Connector : http://lsc-project.org
Blog : http://sbahloul.wordpress.com/

Reply via email to