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

Thanks

-D



On Sun, Jul 24, 2016 at 9:54 AM, Christian Schulte <c...@schulte.it> wrote:

> Am 07/24/16 um 09:32 schrieb Dan Tran:
> > yes, found this
> >
> > <dependency>
> > <groupId>com.googlecode.json-simple</groupId>
> > <artifactId>json-simple</artifactId>
> > <version>${simple-json.version}</version>
> > <optional>true</optional>
> > </dependency>
> >
> > at sprint-boot-dependencies-1.2.8's dependencyManagement.  This may be a
> > bug of the BOM.  Not sure why it is set as optional and it is the only
> one
> > in that BOM.
>
> This must have been done intentionally without the author noticing this
> is not working. What to do about it depends on you needing that
> dependency or not. Maybe ask upstream what they recommend you to do
> about it. It's optional for a reason. If you are importing that BOM and
> decide you need that dependency, you need to set optional to false
> manually where the dependency is used to override the imported
> management information.
>
> Regards,
> --
> Christian
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

Reply via email to