[slf4j-user] using BasicMDCAdapter from maven snapshot ?

Maarten Bosteels mbosteels.dns at gmail.com
Sat Jan 26 14:08:20 CET 2008


On Jan 26, 2008 9:56 AM, simon <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
> http://www.slf4j.org/mailman/listinfo/user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/slf4j-user/attachments/20080126/2e3927fb/attachment.htm>


More information about the slf4j-user mailing list