Dead-Simple Packaging and Deployment for JVM Apps
capsule.Jar
is a simple API for editing JAR files in transit. It can be used by a web server serving capsules to edit the manifest or add entries (say, licenses etc.). This class will eventually move to a different package and be placed in a separate artifact.compile
and runtime
scopesCAPSULE_REPOS
environment variable.Implementation-Version
manifest attribute if Application-Version
is not found.JDK-Required
attribute can specify that the capsule will (search and) run on a JDK installation.$JAVA_HOME
variable can be used in the manifest.-Dcapsule.version
now also prints the application ID.Dcapsule.resolve
resolves (downloads) all external dependencies without launching the app.JVM-Args
attribute was set to an empty value.Args
attribute, which lists command line arguments that will be prepended to anything supplied on the command line.Application
attribute, which can give the Maven coordinates of the application's main jar/capsuleMin-Java-Version
(see the user guide in the README)First release!