[CdiControl] cdictrl-owb should only use the Session mocks if the servlet-api
is available
------------------------------------------------------------------------------------------
Key: DELTASPIKE-136
URL: https://issues.apache.org/jira/browse/DELTASPIKE-136
Project: DeltaSpike
Issue Type: Bug
Components: CDI-SE
Affects Versions: 0.1-incubating
Reporter: Mark Struberg
Assignee: Mark Struberg
Fix For: 0.2-incubating
currently cdictrl-owb mandatorily needs the servlet-api on the classpath. But
this is in fact only needed if the openwebbeans-web plugin is being used which
automatically brings a servlet based cdi lifecycle plugin with it.
So if we don't have the servlet-api on the ClassPath, we don't need to create
any Session and ServletContext mocks at all.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira