Java: How do I build standalone distributions of Maven-based projects?
问题 I often encounter distributions of Java applications or libraries which use Maven as their build tool. Some of them, sadly, don't provide standalone (or redistributable) jars. Is it possible to build Maven-based applications in such a way, that the build result contains all dependencies and can be redistributed to work out-of-the box? I tried to build Jackrabbit's OCM module. For some very "intelligent" reasons there is no downloadable standalone version. So I built Jackrabbit with Maven (the