[ http://jira.codehaus.org/browse/MECLIPSE-79?page=comments#action_77349 ] 
            
Kenney Westerhof commented on MECLIPSE-79:
------------------------------------------

Those dependencies should be declared with scope=provided; those aren't 
currently imported in the eclipse classpath.

However, there's another issue that requests provided scoped deps to be added 
to the classpath since they're necessary for
compilation.

I don't think that removing the javax.servlet dependency will work here - if 
you have servlets defined in the project they won't compile
(not unless that tomcat plugin defines a custom library that contains it..)

Right?

> exclude dependencies from the Classpath Container
> -------------------------------------------------
>
>                 Key: MECLIPSE-79
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-79
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Improvement
>         Environment: Windows, Eclipse 3.1.2
>            Reporter: Martin Goldhahn
>         Attachments: MECLIPSE-79.patch
>
>
> There are some dependencies that need to be in the POM in order to compile 
> the project (e.g. javax.servlet). When I use Sysdeo's Tomcat plugin, I get an 
> error because the servlet classes from the POM are included in the classpath 
> via the classpath container.

-- 
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

        

Reply via email to