Hi!

Currently many dependencies of the webbeans-impl module do have the 
<scope>provided</scope>.

May we change this to the default scope 'compile'?

The reason: 

scenario 1)
If I like to use OpenWebBeans standalone in e.g. a WAR, then maven usually 
resolves all dependencies with scopes 'runtime' and 'compile' and adds them to 
WEB-INF/lib, but obviously doesn't do this for 'provided'.

scenario 2)
If I like to build a webapp for deploying it in a J2EE container like Geronimo, 
then OpenWebBeans (or any other jSR-299 impl) will be there already, so my 
webapp doesn't need any webbeans-impl dependency (and therefore there are no 
transitive dependencies) but only webbeans-api with scope 'provided'.

So my proposal is to change all (have to review this again) 'provided' scoped 
dependencies to the default of 'compile'.

After this I'll checkin a new profile 'jetty' to the guess samples pom.xml so 
one can start it via
$> mvn -Pjetty clean package jetty:run
as standalone jetty application ;)

LieGrue,
strub




Reply via email to