title: Removing a JAR from deployment
body: <p>I am working on a Spring Project on a JBoss server. I am facing a <a href="https://stackoverflow.com/questions/24384252/retrieving-native-connection-from-jboss-wrapped-connection">situation</a> where I think removing a jar from the deployment may solve all the issues. But I want to keep the JAR in compile time so that I can use it in the classes.</p>
  
  <p>I want to know how I can remove a jar from deployment only but keep it during the run time. </p>
  
  <p>Probably, this is not the question to be asked on SO, as a matter of fact, SO is all about Coders and its main intention is to help us in solving a problem. </p>
  
  <p>So, anyone ? How I can do this ?</p>