[slf4j-user] using BasicMDCAdapter from maven snapshot ?
simon
skitching at apache.org
Sat Jan 26 09:56:13 CET 2008
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). 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
More information about the slf4j-user
mailing list