You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
96e10104e4
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 |
11 years ago | |
---|---|---|
.. | ||
spring-boot-dependency-tools | 11 years ago | |
spring-boot-gradle-plugin | 11 years ago | |
spring-boot-loader | 11 years ago | |
spring-boot-loader-tools | 11 years ago | |
spring-boot-maven-plugin | 11 years ago | |
README.md | 11 years ago | |
pom.xml | 11 years ago |
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.