[slf4j-user] version99 repo setup with nexus

Robert Elliot rob at lidalia.org.uk
Fri Dec 23 11:04:15 CET 2011


Maven will put it on the classpath at compile time from the command line, too. Provided only prevents it being put on the runtime classpath. 

On 23 Dec 2011, at 10:02, ceki <ceki at qos.ch> wrote:

> 
> As Jeff said, provided scope works correctly on command-line, but eclipse includes it in the classpath at compile time. The correct link is:
> 
>  http://www.slf4j.org/faq.html#excludingJCL
> 
> Cheers,
> -- 
> Ceki
> http://twitter.com/#!/ceki
> 
> On 23.12.2011 03:19, jsw wrote:
>> Provided scope works correctly on command-line, but eclipse includes it
>> in the classpath at compile time, according to this:
>> 
>> http://www.slf4j.org/faq.html#maven2
>> 
>> jeff
>> 
>> On Thu, Dec 22, 2011 at 6:14 PM, Rusty Wright <rwright.lists at gmail.com
>> <mailto:rwright.lists at gmail.com>> wrote:
>> 
>>    Is version99 still needed?  I thought you could avoid that hack by
>>    using the provided scope.  This is what I have in my pom.xml:
>> 
>>    <dependency>
>>    <groupId>commons-logging</groupId>
>>    <artifactId>commons-logging</artifactId>
>> 
>>    <version>1.1.1</version>
>> 
>>    <scope>provided</scope>
>>    </dependency>
>> 
>>    <dependency>
>>    <groupId>commons-logging</groupId>
>>    <artifactId>commons-logging-api</artifactId>
>> 
>>    <version>1.1</version>
>> 
>>    <scope>provided</scope>
>>    </dependency>
>> 
>>    http://lumpynose.wordpress.com/
>> 
>> 
>>    On 2011-12-12 09:04, jsw wrote:
>>>    Hi,
>>> 
>>>    Has anyone has gotten the version99 repository setup with nexus? I
>>>    am unable to pull dependencies from this repo via nexus. From the
>>>    nexus console I can browse remote, but nothing shows up in browse
>>>    storage or browse index.
>>> 
>>>    Repository ID: version99
>>>    Repository Name: Version99
>>>    Repository Type: proxy
>>>    Repository Policy: Release
>>>    Repository Format: maven2
>>>    Contained in groups:
>>> 
>>>    Remote URL: http://version99.qos.ch/
>>> 
>>>    thanks,
>>>    jeff
>>> 
> _______________________________________________
> slf4j-user mailing list
> slf4j-user at qos.ch
> http://mailman.qos.ch/mailman/listinfo/slf4j-user


More information about the slf4j-user mailing list