[slf4j-user] using BasicMDCAdapter from maven snapshot ?
Maarten Bosteels
mbosteels.dns at gmail.com
Tue Jan 29 22:17:39 CET 2008
On Jan 29, 2008 8:09 PM, Ceki Gulcu <listid at qos.ch> wrote:
>
> Maarten,
>
> Simon is correct by stating that SNAPSHOTS are not published by global
> repositories. There are all sorts of solutions to get around this,
> typically
> installing the jar locally or installing the jar is some secondary
> repository
> and referring to this secondary repo in your project's pom.xml file.
>
> I think an easieser solution to this problem is to publish a milestone
> version
> of SLF4J 1.5 called 1.5-M0 on maven repositories without necessarily
> updating
> the SLF4J website. This should enable you to get the features you ask for
> immediately and at the same time remove the pressure on a SLF4J release
> date.
>
> Would that work for you?
Sure, that would be great. Thanks.
Are you saying that we shouldn't expect a release of 1.5 in February ?
Maarten
>
> Maarten Bosteels wrote:
> > On Jan 26, 2008 9:56 AM, simon <skitching at apache.org
> > <mailto:skitching at apache.org>> wrote:
> >
> > On Fri, 2008-01-25 at 22:43 +0100, Maarten Bosteels wrote:
> > > Ceki,
> > >
> > > The mina team has decided to add some (at least one)
> MDC-aware
> > > Formatter's for java.util.logging, so that MINA users
> > > can use the formatter out-of-the box.
> > >
> > > Is there a maven snapshot that contains the latest changes
> > > (BasicMDCAdapter etc)
> > >
> > > I see that you mention bumping the version to 1.5 in the
> last
> > commit
> > > message of BasicMDCAdapter
> > > so I tried to set up a dependency like this
> > >
> > > <dependency>
> > > <groupId>org.slf4j</groupId>
> > > <artifactId>slf4j-api</artifactId>
> > > <version>1.5.0-SNAPSHOT</version>
> > > </dependency>
> > >
> > > but maven did not find it.
> > >
> > > I am not too familiar with maven, should I
> > > a) add another repository in my local maven config
> > > b) manually install the dependency to my local repo
> > > c) wait for you to publish a 1.5.0-SNAPSHOT somewhere ?
> >
> > Snapshots are not published to the main maven repositories;
> it
> > doesn't
> > make sense for snapshots to be mirrored world-wide. So if you
> > want a
> > snapshot, you explicitly need to tell maven the location of
> an
> > appropriate snapshot repository to use.
> >
> > You can find information about defining snapshot repositories
> > here:
> >
> >
> http://maven.apache.org/guides/development/guide-plugin-snapshot-repositories.html
> >
> > However I don't know which actual repository slf4j snapshots
> get
> > published to (if any).
> >
> >
> > Ok, let me rephrase my questions:
> > 1) Is there are maven reposistory where SLF4J snapshots are published
> > 2) If yes, would it be possible to publish the latest SLF4J version
> > (including the MDC stuff) to this repo ?
> >
> > Maarten
> >
> >
> >
> > For obvious reasons, it isn't in the
> > ASF's
> > snapshot repo that the above doc talks about.
> >
> > For the moment, I suggest the best solution would indeed be
> to
> > install
> > it into your local repository with
> > mvn install:install-file
> >
> > Regards,
> > Simon
> >
> >
> >
> > _______________________________________________
> > user mailing list
> > user at slf4j.org <mailto:user at slf4j.org>
> > http://www.slf4j.org/mailman/listinfo/user
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > user mailing list
> > user at slf4j.org
> > http://www.slf4j.org/mailman/listinfo/user
>
> --
> Ceki Gülcü
> Logback: The reliable, generic, fast and flexible logging framework for
> Java.
> http://logback.qos.ch
> _______________________________________________
> user mailing list
> user at slf4j.org
> http://www.slf4j.org/mailman/listinfo/user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/slf4j-user/attachments/20080129/fbb7e8fd/attachment.htm>
More information about the slf4j-user
mailing list