logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Sicker <boa...@gmail.com>
Subject Re: BOM dependency with gradle
Date Thu, 02 Jun 2016 16:36:45 GMT
I'm not sure if BOMs work outside Maven as it's based on a Maven-specific
feature that Ralph was involved in a while back.

On 2 June 2016 at 10:13, Gary Gregory <garydgregory@gmail.com> wrote:

> On Jun 2, 2016 3:04 AM, "Greg Thomas" <greg.d.thomas@gmail.com> wrote:
> >
> > > I explicitly specify the version for log4j-api and  log4j-core as well.
> >
> > Doesn't that defeat the point of the BOM?
>
> It sure seems like it!
>
> Gary
> >
> > Greg
> >
> > On 2 June 2016 at 09:38, Remko Popma <remko.popma@gmail.com> wrote:
> > > I explicitly specify the version for log4j-api and  log4j-core as well.
> > >
> > > Sent from my iPhone
> > >
> > >> On 2016/06/02, at 17:03, Greg Thomas <greg.d.thomas@gmail.com> wrote:
> > >>
> > >> Is there a correct syntax to use the BOM dependency with gradle?
> > >>
> > >> I've currently got the following ...
> > >>
> > >> compile group: 'org.apache.logging.log4j,' name: 'log4j-bom', version:
> '2.6'
> > >> compile group: 'org.apache.logging.log4j', name: 'log4j-api'
> > >> compile group: 'org.apache.logging.log4j', name: 'log4j-core'
> > >>
> > >> But dependency resolution fails ...
> > >>
> > >> C:\Greg\test>gradlew dependencies
> > >> :dependencies
> > >>
> > >> ------------------------------------------------------------
> > >> Root project
> > >> ------------------------------------------------------------
> > >>
> > >> archives - Configuration for archive artifacts.
> > >> No dependencies
> > >>
> > >> compile - Dependencies for source set 'main'.
> > >> +--- org.apache.logging.log4j:log4j-bom:2.6
> > >> +--- org.apache.logging.log4j:log4j-api: FAILED
> > >> +--- org.apache.logging.log4j:log4j-core: FAILED
> > >> ...
> > >>
> > >> What's the right syntax, if it's even possible?
> > >>
> > >> Thanks,
> > >>
> > >> Greg
> > >>
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> > >> For additional commands, e-mail: log4j-user-help@logging.apache.org
> > >>
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> > > For additional commands, e-mail: log4j-user-help@logging.apache.org
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> > For additional commands, e-mail: log4j-user-help@logging.apache.org
> >
>



-- 
Matt Sicker <boards@gmail.com>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message