You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Emmanuel Lécharny <el...@gmail.com> on 2023/04/24 07:51:21 UTC

Server build with API 2.1.3

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.lecharny@busit.com https://www.busit.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org


Re: Server build with API 2.1.3

Posted by Emmanuel Lécharny <el...@gmail.com>.
Indeed. I doomed my maven repo, and all is back on its feet.

On 24/04/2023 14:18, Colm O hEigeartaigh wrote:
> 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 <el...@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.lecharny@busit.com https://www.busit.com/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
>> For additional commands, e-mail: dev-help@directory.apache.org
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
> For additional commands, e-mail: dev-help@directory.apache.org
> 

-- 
*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.lecharny@busit.com https://www.busit.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org


Re: Server build with API 2.1.3

Posted by Colm O hEigeartaigh <co...@apache.org>.
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 <el...@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.lecharny@busit.com https://www.busit.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
> For additional commands, e-mail: dev-help@directory.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org