Hi Emmanuel, The build works fine for me with 2.1.3 (current master build), maybe your local artifacts are somehow corrupted?
Colm. On Mon, Apr 24, 2023 at 8:52 AM Emmanuel Lécharny <elecha...@gmail.com> wrote: > > Hi Colm, > > yesterday, I wasted e few hours trying to understand why ApacheDS wasnt > building properly with the latest API (2.1.3). I was getting OSGi errors > like this one: > > ERROR: Bundle org.apache.directory.server.core.annotations [19] Error > starting > file:/Users/elecharny/apacheds/directory-server-M27-osgi/osgi-integ/target/1682202749909-0/pax-exam-downloads/org.apache.directory.server.core.annotations_2.0.0.AM27-SNAPSHOT.jar > > ( > org.osgi.framework.BundleException: Unable to resolve > org.apache.directory.server.core.annotations [19](R 19.0): > missing requirement [org.apache.directory.server.core.annotations > [19](R 19.0)] osgi.wiring.package; > > (&(osgi.wiring.package=org.apache.directory.server.core)(version>=2.0.0.AM27-SNAPSHOT)) > [ > caused by: Unable to resolve org.apache.directory.server.core > [40](R > 40.0): > missing requirement [org.apache.directory.server.core [40](R > 40.0)] > osgi.wiring.package; > > (&(osgi.wiring.package=org.apache.directory.server.core.exception)(version>=2.0.0.AM27-SNAPSHOT)) > > [ > caused by: Unable to resolve > org.apache.directory.server.interceptors.exception [94](R 94.0): > missing requirement > [org.apache.directory.server.interceptors.exception [94](R 94.0)] > osgi.wiring.package; > > (&(osgi.wiring.package=org.apache.directory.api.ldap.model.constants)(version>=2.1.3.SNAPSHOT)) > ] > ] > Unresolved requirements: > [ > [org.apache.directory.server.core.annotations [19](R 19.0)] > osgi.wiring.package; > > (&(osgi.wiring.package=org.apache.directory.server.core)(version>=2.0.0.AM27-SNAPSHOT)) > ] > ) > > > I have no idea why it's expercting : > > org.apache.directory.api.ldap.model.constants)(version>=2.1.3.SNAPSHOT) > > So I did changed the API version to 2.1.4-SNAPSHOT and it built fine. > > At this point, I wonder if we haven't built teh LDAP API with remaining > 2.1.3-SNAPSHOT into it. > > I'll check that today. > > -- > *Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE > T. +33 (0)4 89 97 36 50 > P. +33 (0)6 08 33 32 61 > emmanuel.lecha...@busit.com https://www.busit.com/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org > For additional commands, e-mail: dev-h...@directory.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org For additional commands, e-mail: dev-h...@directory.apache.org