Re: Guice 6.0 & 7.0 release candidates, Jakarta support

2023-05-14 Thread Mark Derricutt
On 14 May 2023, at 0:12, 'Sam Berlin' via google-guice wrote:

> The jakarta.inject dependencies come this stanza in the parent pom, which the 
> core pom references here.  They refer to this Maven artifact.  In the 7.0.0 
> release, this artifact is used instead of the javax.inject one, whereas in 
> 6.0.0 it's used in addition to the javax.inject one.  (In releases prior to 
> 6, the jakarta dependencies did not exist.)

Sweet - looks like I'd included the 1.x version of the jakarta.inject which was 
the problem

Mark


---
"The ease with which a change can be implemented has no relevance at all to 
whether it is the right change for the (Java) Platform for all time."  
Mark Reinhold.

Mark Derricutt
http://www.chaliceofblood.net
http://www.theoryinpractice.net
http://twitter.com/talios
http://facebook.com/mderricutt

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-guice+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-guice/59382700-1680-4620-B304-AC83B6A89375%40talios.com.


signature.asc
Description: OpenPGP digital signature


Re: Guice 6.0 & 7.0 release candidates, Jakarta support

2023-05-13 Thread 'Sam Berlin' via google-guice
Hi Mark,

The jakarta.inject dependencies come this stanza
 in the
parent pom, which the core pom references here
.  They
refer to this Maven artifact
.
In the 7.0.0 release, this artifact is used *instead* of the javax.inject
 one,
whereas in 6.0.0 it's used in addition
 to the
javax.inject one.  (In releases prior to 6, the jakarta dependencies did
not exist.)

The release pages talk more

about the jakarta transition and provide links to why Guice needs to do
this.

sam

On Sat, May 13, 2023 at 3:51 AM Mark Derricutt  wrote:

> On 6 May 2023, at 7:10, 'Sam Berlin' via google-guice wrote:
>
> I'm pleased to announce that Guice has two new release candidates
> available:
>
> I see the actual releases are out now, just tried updating it in our
> builds ( which make heavy use of exclusions for transitives ), I see a
> complaint about:
>
> NoClassDefFound jakarta/inject/Provider
>
> in my tests with mocks, but I can't find any dependency that actually
> provides that class to add as a dependency - looking at the poms (and the
> guide-parent pom) I couldn't spot anything either.
>
> Am I missing something obvious?
>
> Cheers
> Mark
> --
>
> "The ease with which a change can be implemented has no relevance at all
> to whether it is the right change for the (Java) Platform for all time." —
> Mark Reinhold.
>
> Mark Derricutt
> http://www.chaliceofblood.net
> http://www.theoryinpractice.net
> http://twitter.com/talios
> http://facebook.com/mderricutt
>
> --
> You received this message because you are subscribed to the Google Groups
> "google-guice" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-guice+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-guice/8DAAA386-118A-4442-97A5-4DE8AAF584E1%40talios.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-guice+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-guice/CABSN6G7zk5mNRAesf%2Bb_eSeZeONWXQ6P8m%3DMXBWZ-Lkw0cNXXA%40mail.gmail.com.


Re: Guice 6.0 & 7.0 release candidates, Jakarta support

2023-05-13 Thread Mark Derricutt
On 6 May 2023, at 7:10, 'Sam Berlin' via google-guice wrote:

> I'm pleased to announce that Guice has two new release candidates available:

I see the actual releases are out now, just tried updating it in our builds ( 
which make heavy use of exclusions for transitives ), I see a complaint about:

   NoClassDefFound jakarta/inject/Provider

in my tests with mocks, but I can't find any dependency that actually provides 
that class to add as a dependency - looking at the poms (and the guide-parent 
pom) I couldn't spot anything either.

Am I missing something obvious?

Cheers
Mark



---
"The ease with which a change can be implemented has no relevance at all to 
whether it is the right change for the (Java) Platform for all time."  
Mark Reinhold.

Mark Derricutt
http://www.chaliceofblood.net
http://www.theoryinpractice.net
http://twitter.com/talios
http://facebook.com/mderricutt

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-guice+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-guice/8DAAA386-118A-4442-97A5-4DE8AAF584E1%40talios.com.


signature.asc
Description: OpenPGP digital signature


Re: Guice 6.0 & 7.0 release candidates, Jakarta support

2023-05-07 Thread Martijn Verburg
Hear Hear.

Cheers,
Martijn


On Sat, 6 May 2023 at 07:14, Thomas Suckow  wrote:

>
> *> The Guice 6.0 & 7.0 releases are dedicated to Bob.*
> 﫡
>
> --
> You received this message because you are subscribed to the Google Groups
> "google-guice" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-guice+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-guice/af38455e-d1e8-462f-9363-de44fb620f5cn%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-guice+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-guice/CAP7YuAQ4TO6zu5_gjbcuk7%3D_M9fYh%2B0Bv-GtG4KfbB9t%3D73-Dw%40mail.gmail.com.