Hi Pierre-Arnaud, Thanks for that, it is now much better. Is there a doc page where I can find these details to avoid these newbie's questions ?
Regards, -- Sebastien BAHLOUL IAM / Security specialist Ldap Synchronization Connector : http://lsc-project.org Blog : http://sbahloul.wordpress.com/ 2012/3/20 Pierre-Arnaud Marcelot <[email protected]> > Hi Sébastien, > > You just need to add the following to the build section of your main > pom.xml file: > > <build> > <plugins> > [...] > <plugin> > <groupId>org.apache.felix</groupId> > <artifactId>maven-bundle-plugin</artifactId> > <inherited>true</inherited> > <extensions>true</extensions> > </plugin> > [...] > </plugins> > </build> > > "Bundle" is not a default maven packaging type. Adding the > 'maven-bundle-plugin' to the build will help Maven recognizing it. > > Regards, > Pierre-Arnaud > > > On 19 mars 2012, at 21:53, Sébastien Bahloul wrote: > > > Hi Emmanuel, > > > > I've tried to update the dependencies, but it seems that an artifact > > is missing : apacheds-jdbm2-2.0.0-M1.bundle > > > > Is there any requirement that I've missed ? > > > > Regards, > > -- > > Sebastien BAHLOUL > > IAM / Security specialist > > Ldap Synchronization Connector : http://lsc-project.org > > Blog : http://sbahloul.wordpress.com/ > > > > > > > > 2012/3/19 Sébastien Bahloul <[email protected]>: > >> Thank you, I'll try that. > >> > >> Regards, > >> -- > >> Sebastien BAHLOUL > >> IAM / Security specialist > >> Ldap Synchronization Connector : http://lsc-project.org > >> Blog : http://sbahloul.wordpress.com/ > >> > >> > >> > >> 2012/3/19 Emmanuel Lécharny <[email protected]>: > >>> Le 3/18/12 11:45 PM, Sébastien Bahloul a écrit : > >>> > >>>> 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. > >>> > >>> > >>> The pb is that you are using a version of ApacheDS which is quite old, > and > >>> use a revision of the API which is old too. You shoud try with the > latest > >>> version of ADS instead (2.0.0-M6 with LDAP API 1.0.0-M11) > >>> > >>> > >>> -- > >>> Regards, > >>> Cordialement, > >>> Emmanuel Lécharny > >>> www.iktek.com > >>> > >
