title: How to mark .jar file as excluded from publish/export structure?
body: <p>I have a .war project in Eclipse.  It is probably not relevant but I should mention that it was converted from a maven project using mvn eclipse:eclipse plugin.</p>
  
  <p>I saw a warning that various .jar files on the Build Path were not being exported.  To fix this I went to Project Properties -> Deployment Assembly and added the jars that needed to go into the .war</p>
  
  <p>However, one .jar file does not need to go into the .war because it will be provided by the container.  It is on the build path merely to get the project to compile.</p>
  
  <p>For this .jar file, I want to get rid of the warning.  One way was to Ctrl+1 to QuickFix which caused the Properties->Java Build Path->Libraries tab->...jar file to have an extra line on expanding it which says: <code>Excluded from publish/export structure: (None)</code></p>
  
  <p><strong>My question is how could I have done this without Quick Fix?</strong>  I could not find any way to exclude from publish/export structure without using the Eclipse Ctrl+1 Quick Fix.</p>