What is an uber jar?

Über is the German word for above or over (it’s actually cognate with the English over). Hence, in this context, an uber-jar is an “over-jar”, one level up from a simple JAR (a), defined as one that contains both your package and all its dependencies in one single JAR file. The name can be thought … Read more

Including dependencies in a jar with Maven

You can do this using the maven-assembly plugin with the “jar-with-dependencies” descriptor. Here’s the relevant chunk from one of our pom.xml’s that does this: <build> <plugins> <!– any other plugins –> <plugin> <artifactId>maven-assembly-plugin</artifactId> <executions> <execution> <phase>package</phase> <goals> <goal>single</goal> </goals> </execution> </executions> <configuration> <descriptorRefs> <descriptorRef>jar-with-dependencies</descriptorRef> </descriptorRefs> </configuration> </plugin> </plugins> </build>

Create a single executable from a Python project

Here are some common ones. I’ve included only projects that are being actively maintained as of my last edit (July 2021). Unless otherwise noted, all programs listed below will produce an exe specifically for the operating system it’s running in. So for example, running Pyinstaller in Windows will produce a Windows exe, but running Pyinstaller … Read more