[jetty-dev] [jira] (JETTY-1512) War Project with dependency to jetty-websocket with scope provided throws ClassNotFoundException on jetty:run
"Kai Hackemesser (JIRA)" <[email protected]>
| Newsgroups | gmane.comp.java.jetty.general |
|---|---|
| Message-ID | <1698801621.71542.1335441608774.JavaMail.j2ee-jira@codehaus01.managed.contegix.com> |
Kai Hackemesser created JETTY-1512:
--------------------------------------
Summary: 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
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