You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Trygve Laugstol (JIRA)" <ji...@codehaus.org> on 2005/10/20 18:49:11 UTC

[jira] Closed: (MNG-1243) Excluding jsp-api from spring-mvc does not work.

     [ http://jira.codehaus.org/browse/MNG-1243?page=all ]
     
Trygve Laugstol closed MNG-1243:
--------------------------------

    Resolution: Won't Fix

> Excluding jsp-api from spring-mvc does not work.
> ------------------------------------------------
>
>          Key: MNG-1243
>          URL: http://jira.codehaus.org/browse/MNG-1243
>      Project: Maven 2
>         Type: Bug
>     Versions: 2.0
>  Environment: Windows, JDK 1.5, Maven 2.0
>     Reporter: larry

>
>
> I'm having problems excluding transitive dependencies.
> The debug log shows that jsp-api is included for compile:
> [DEBUG]   springframework:spring-webmvc:jar:1.2.5 (selected for compile)
> [DEBUG]     springframework:spring-web:jar:1.2.5 (selected for compile)
> [DEBUG]       javax.faces:jsf-api:jar:1.1 (selected for compile)
> [DEBUG]         javax.servlet:jsp-api:jar:2.0 (selected for compile)
> I've excluded the libraries using the following configuration. But the jsp-api is still included which breaks Tomcat.
>         <dependency>
>             <groupId>springframework</groupId>
>             <artifactId>spring-webmvc</artifactId>
>             <version>1.2.5</version>
>             <exclusions>
>                 <exclusion>
>                     <artifactId>javax.faces</artifactId>
>                     <groupId>jsf-api</groupId>
>                 </exclusion>
>                 <exclusion>
>                     <artifactId>javax.servlet</artifactId>
>                     <groupId>jsp-api</groupId>
>                 </exclusion>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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