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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]