title: How to create a Maven library (non-executable JAR)
body: <p>I am looking for a Git repo that I clone and get started on creating a simple library for Java/Maven. I assume I need to declare a mainClass which will be the interface to the library but I don't need to declare a main method? It's stupidly difficult to figure out how to create a library with Maven, I should be able to just clone a git repo skeleton project that has most things pre-configured?</p>
  
  <p>So my question is - does anyone know of a good repo to clone that is a Maven library skeleton? Note that I not looking to create Maven plugin - just a library that uses Maven for dep management.</p>