[jboss-user] [EJB 3.0 Development] New message: "Re: EJBTHREE-2007: VFS Abstraction"

Andrew Rubinger do-not-reply at jboss.com
Sat Feb 6 10:50:27 EST 2010


User development,

A new message was posted in the thread "EJBTHREE-2007: VFS Abstraction":

http://community.jboss.org/message/524555#524555

Author  : Andrew Rubinger
Profile : http://community.jboss.org/people/ALRubinger

Message:
--------------------------------------------------------------
> jaikiran wrote:
>  
> > ALRubinger wrote:
> >  
> > 
> > Something I want is an Enforcer Plugin configuration which will fail the build if any org.jboss:jboss-vfs is available in "compile" scope; this is a runtime dependency which should be restricted to "provided".
> > 
> > 
> I think with such a rule, we might run into trouble if that org.jboss:jboss-vfs is being pulled in transitively during compile scope from some other non-EJB3 module. Ex: core (depends on) --> some artifact (compile scope dependency on) --> org.jboss:jboss-vfs
Good!  That way we can be ensured we're not depending upon VFS directly, no matter what comes in.  And it future-proofs us.
 
I know I asked if anyone thinks I'm being too strict; I don't think I am. 
 
So we should set exclusions appropriately and ensure that we only have it in "provided"; available to runtimes.

S,
ALR

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/524555#524555




More information about the jboss-user mailing list