Eclipse WTP, maven and m2eclipse - not copying provided jars

Viewed 6694

When using Eclipse WTP and m2eclipse it is possible to copy all dependencies to WEB-INF/lib (by adding "maven dependencies" in the Deployment assembly). However, dependencies with scope "provided" are also copied, for example el-api and jsp-api. That disturbs the container and it fails to start.

Any solution for not copying the "provided" jars?

3 Answers
Related