spring-boot/spring-boot-tools
Andy Wilkinson 96e10104e4 Add a command to produce a self-contained executable JAR for a CLI app
A new command, jar, has been added to the CLI. The command can be
used to create a self-contained executable JAR file from a CLI app.

Basic usage is:

spring jar <jar-name> <source-files>

For example:

spring jar my-app.jar *.groovy

The resulting jar will contain the classes generated by compiling the
source files, all of the application's dependencies, and entries
on the application's classpath.

By default a CLI application has the current working directory on
its classpath. This can be overridden using the --classpath option.
Any file that is referenced directly by the classpath is always
included in the jar. Any file that is found a result of being
contained within a directory that is on the classpath is subject to
filtering to determine whether or not it should be included. The
default includes are public/**, static/**, resources/**,
META-INF/**, *. The default excludes are .*, repository/**, build/**,
target/**. To be included in the jar, a file must match one of the
includes and none of the excludes. The filters can be overridden using
the --include and --exclude options.

Closes #241
2014-01-29 14:05:15 +00:00
..
spring-boot-dependency-tools Allow gradle builds without version numbers 2014-01-24 22:48:49 -08:00
spring-boot-gradle-plugin Update CLI to use spring-boot-dependency-tools 2014-01-24 22:51:40 -08:00
spring-boot-loader Add a command to produce a self-contained executable JAR for a CLI app 2014-01-29 14:05:15 +00:00
spring-boot-loader-tools Add a command to produce a self-contained executable JAR for a CLI app 2014-01-29 14:05:15 +00:00
spring-boot-maven-plugin Add layout docs to plugin READMEs 2014-01-24 09:08:21 +00:00
README.md Documentation updates 2013-08-09 15:34:04 -07:00
pom.xml Allow gradle builds without version numbers 2014-01-24 22:48:49 -08:00

README.md

Spring Boot - Tools

Spring Boot Tools provides a logical grouping for our various build system plugins, and the modules that support them. We provide a spring-boot-maven-plugin and spring-boot-gradle-plugin for Maven and Gradle respectively.

If you are interested in how we support executable archives, take a look at the spring-boot-loader module. If you need to create executable archives from a different build system, spring-boot-loader-tools may help.