title: Is there a way to export jar from IntelliJ Idea so that it works in JMeter?
body: <p>I'm making a custom JMeter sampler and while exporting <code>jar</code> files works fine in Eclipse, I can't figure it out in Idea.</p>
  
  <p>I know there's a similar, but not quite the same question about exporting jars from Idea like in Eclipse. Its solution doesn't work for me. The resulting <code>jar</code> is way too big (20MB vs 7KB) and JMeter doesn't launch properly when trying to load it. Aside from that, I need to add a <code>Main</code> method to any class in a package/project that I am exporting so that it counts as an "artifact" in Idea, which is an unnecessary step for my goal.</p>
  
  <p>This makes me think that there should not be an easy way to export <code>jar</code> from Idea, like there is in Eclipse for JMeter plugin development purposes. Is that true? Or is there a way to do it?</p>