[jetty-dev] [jira] (JETTY-1512) War Project with dependency to jetty-websocket with scope provided throws ClassNotFoundException on jetty:run
"Jan Bartel (JIRA)" <[email protected]>
| Newsgroups | gmane.comp.java.jetty.general |
|---|---|
| Message-ID | <365767971.71896.1335506042888.JavaMail.j2ee-jira@codehaus01.managed.contegix.com> |
[ https://jira.codehaus.org/browse/JETTY-1512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Bartel reassigned JETTY-1512:
---------------------------------
Assignee: Jan Bartel
> War Project with dependency to jetty-websocket with scope provided throws ClassNotFoundException on jetty:run
> -------------------------------------------------------------------------------------------------------------
>
> Key: JETTY-1512
> URL: https://jira.codehaus.org/browse/JETTY-1512
> Project: Jetty
> Issue Type: Bug
> Components: Maven
> Environment: Maven 3.0.2, Eclipse 3.7.2 64bit, Windows 7, Jetty-plugin and dependencies: 8.1.3.v20120416
> Reporter: Kai Hackemesser
> Assignee: Jan Bartel
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email