I try to create a library by creating a fat jar with maven in IntelliJ. However, in that library I don't need main class because all methods and classes were tested with unit tests. So, the main class is simply there because all java programs need it and if I delete it I would get an error. How could I create a jar with dependencies (fat jar or uber jar) without main class?
I tried to use it with maven assembly plugin.