In addition to specifying the scope of test or compile does
<optional>true</optional> help with what you want?

On Feb 26, 3:55 am, Jeppe Nejsum Madsen <[email protected]> wrote:
> Hi,
>
> For the new logging code I need a setup that I can't really see how to
> achieve with Maven:
>
> 1) Both slf4j-log4j and logback-classic needs to be on the classpath
> when compiling
> 2) Only  sf4j-log4j should be on the classpath when testing
> 3) None should be included in the generated pom dependencies
>
> Using scope=provided takes care of 1) & 3) But both are still included
> in the classpath during test
>
> /Jeppe

-- 
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.

Reply via email to