You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Geoffrey De Smet <ge...@gmail.com> on 2006/07/21 17:31:43 UTC

commons-logging-api vs commons-logging

In the central repo there are 2 jars for commons-logging.

On which one should I depend or should I depend on both?


             <dependency>
                 <groupId>commons-logging</groupId>
                 <artifactId>commons-logging-api</artifactId>
                 <version>1.0.4</version>
             </dependency>
             <dependency>
                 <groupId>commons-logging</groupId>
                 <artifactId>commons-logging</artifactId>
                 <version>1.0.4</version>
             </dependency>


-- 
With kind regards,
Geoffrey De Smet


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: commons-logging-api vs commons-logging

Posted by Dennis Lundberg <de...@apache.org>.
Geoffrey De Smet wrote:
> In the central repo there are 2 jars for commons-logging.
> 
> On which one should I depend or should I depend on both?
> 
> 
>             <dependency>
>                 <groupId>commons-logging</groupId>
>                 <artifactId>commons-logging-api</artifactId>
>                 <version>1.0.4</version>
>             </dependency>
>             <dependency>
>                 <groupId>commons-logging</groupId>
>                 <artifactId>commons-logging</artifactId>
>                 <version>1.0.4</version>
>             </dependency>

If you are a normal user of commons-logging you should depend on 
commons-logging-api. If you extend commons-logging in any way you are 
better off depending on commons-logging.

-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: commons-logging-api vs commons-logging

Posted by Carlos Sanchez <ca...@apache.org>.
AFAIK api is compile time and the other is runtime

On 7/21/06, Geoffrey De Smet <ge...@gmail.com> wrote:
> In the central repo there are 2 jars for commons-logging.
>
> On which one should I depend or should I depend on both?
>
>
>              <dependency>
>                  <groupId>commons-logging</groupId>
>                  <artifactId>commons-logging-api</artifactId>
>                  <version>1.0.4</version>
>              </dependency>
>              <dependency>
>                  <groupId>commons-logging</groupId>
>                  <artifactId>commons-logging</artifactId>
>                  <version>1.0.4</version>
>              </dependency>
>
>
> --
> With kind regards,
> Geoffrey De Smet
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
                             -- The Princess Bride

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org