Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: dev
-
Fix Version/s: 0.9.4
-
Component/s: WTP integration
-
Labels:None
-
Environment:Eclipse 3.3.0 Build id: I20070601-1539
J2EE Standard Tools (JST) v2.0.0-200703280045
Web Standard Tools (WST) v2.0.0-20070509
-
Number of attachments :
Description
When "Maven 2 Dependencies" is "checked" as a JAR/Module Dependency under Project->J2EE Module Dependencies, all dependency scopes are deployed when Dynamic Web Project is deployed to a server via the Web Standard Tools plugin. This can cause problems when dependencies with the "provided" scope are deployed into the app server.
The attached eclipse project has 3 dependencies:
commons-lang-2.2 in default scope
jsp-api-2.1 in provided scope
junit-4.1 in test scope
When this is deployed to Tomcat all three JARs end up in the lib director in org.eclipse.wst.server.core\tmp1\webapps\M2EclipseTest\WEB-INF\lib.
I'd expect this particular part of the plugin to deploy only dependencies in the compile scope.
Attachments
Issue Links
| This issue relates to: | ||||
| MNGECLIPSE-105 | Add maven-managed dependencies as project J2EE Module Dependencies |
|
|
|
Please report this issue to WTP project. In my understanding they have designed their stuff to take over any scopes or deployment issues.