On 6/29/07, Heinrich Nirschl <[EMAIL PROTECTED]> wrote:
On Thu, 2007-06-28 at 10:20 +0930, Barrie Treloar wrote:
> When I run dependency:analyze on my module I get:
>
> [INFO] Found Resolved Dependency / DependencyManagement mismatches:
> [INFO]  Ignoring Direct Dependencies.
> [INFO] javax.servlet:servlet-api:jar was excluded in DepMgt, but
> version 2.3 has been found in the dependency tree.
>
> mvn site's Dependency Tree:
> org.springframework:spring-beans:jar
>     * commons-logging:commons-logging:jar
>           o logkit:logkit:jar
>           o avalon-framework:avalon-framework:jar
>           o javax.servlet:servlet-api:jar
>

This is why servlet-api was pulled in. You seem to have a dependency on
spring which in turn uses commons-logging and commons-logging brings in
servlet-api.

I always add the exclusions you specified for easyconf also to all the
spring modules.

Look more closely at the error
> [INFO] javax.servlet:servlet-api:jar was excluded in DepMgt, but
> version 2.3 has been found in the dependency tree.

I only excluded javax.servlet from EasyConf and not commons-logging,
so I shouldn't be getting this error.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to