http://stackoverflow.com/questions/38555184/json-simple-marked-as-optional-under-spring-boot-dependencies-intentional

For my case, i override it at my BOM

-D

On Sun, Jul 24, 2016 at 10:44 AM, Christian Schulte <[email protected]> wrote:

> Am 07/24/16 um 19:25 schrieb Dan Tran:
> > Yes, I need to override the original import with  'optional' set to
> false.
> > At the same time, i file a bug  with spring to see if it is intentional
> >
>
> This is what I would do as well. If the majority of users will never
> need that dependency and it is not needed for normal operation, optional
> is the way to go. If the majority will need to override this to false,
> they should remove optional from the BOM. I've seen optional set to true
> for runtime scope dependencies most of the time. The way it is used in
> that BOM, they could also use provided scope (compile+optional behaves
> the same way the provided scope behaves).
>
> Regards,
> --
> Christian
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to