|
[
Permlink
| « Hide
]
Eugene Kuleshov added a comment - 10/Jun/07 11:47 PM
Please report this issue to WTP project. In my understanding they have designed their stuff to take over any scopes or deployment issues.
This issue contains a patch to solve the scope problem
In my opinion dependencies with scope provided shouldn't even be inserted into "Maven 2 dependencies".
They're usually dependent on development environment, and they can change for instance when a developer change application server for compatibility tests. Eclipse has already classpath variables that reflect the deployment environment. For instance the above dependency jsp-api-2.1.jar with provided scope could be easily replaced by Eclipse variable Properties->Java build path->Libraries->Add Library->Server Runtime. fixed. dependencies with provided/system/test scope are excluded from WTP export and publishing (they're still present in Maven Dependencies classpath container).
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||