title: Exclude dependency from Application Server auto deployment
body: <p>I've got EJB object which requires some interfaces from dependency (maven - jar). When I deploy it in .ejb in .ear everything works. I really don't need ear so I wanted to use .war with this EJB object. However during deployment it appeared that my dependency has some classes annotated with @Webservice. This classes also requires other dependencies which I don't want to use in my project, so during deployment I get no class def found exception. Is there any way to stop this auto-deployment of annotated classes from dependency?</p>