Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Maven
-
Labels:None
-
Environment:Maven 3.0.2, Eclipse 3.7.2 64bit, Windows 7, Jetty-plugin and dependencies: 8.1.3.v20120416
-
Number of attachments :
Description
I wrote a maven war project that contains a jetty websocket implementation. I've defined the dependency to jetty-websocket as 'provided', to keep it (and its transient dependencies) out of the resulting war file. But doing so makes it impossible to test this with the jetty:run goal, as the webapp throws an ClassNotFoundException for the jetty websocket classes. Setting the useProvidedScope in the plugin configuration to 'true' did't improve the situation, as the plugin filters system jars from the provided dependencies. before adding anything, and jetty-websocket is in the system jars.
Activity
Jan Bartel
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Jan Bartel [ janb ] |
Jan Bartel
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
Fixed for 7.6.4. Added jetty-websocket to list of dependencies for jetty-maven-plugin.