mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Restructure distribution content
Include LICENCE and INSTALL text files and ensure that .bat file is not set with executable Unix file permissions.
This commit is contained in:
parent
d550a3e785
commit
40a9176937
@ -9,8 +9,15 @@
|
||||
<includeBaseDirectory>true</includeBaseDirectory>
|
||||
<fileSets>
|
||||
<fileSet>
|
||||
<directory>src/main/scripts</directory>
|
||||
<outputDirectory>bin</outputDirectory>
|
||||
<directory>src/main/content</directory>
|
||||
<outputDirectory>/</outputDirectory>
|
||||
<useDefaultExcludes>true</useDefaultExcludes>
|
||||
<fileMode>644</fileMode>
|
||||
<directoryMode>755</directoryMode>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>src/main/executablecontent</directory>
|
||||
<outputDirectory>/</outputDirectory>
|
||||
<useDefaultExcludes>true</useDefaultExcludes>
|
||||
<fileMode>755</fileMode>
|
||||
<directoryMode>755</directoryMode>
|
||||
|
35
spring-boot-cli/src/main/content/INSTALL.txt
Normal file
35
spring-boot-cli/src/main/content/INSTALL.txt
Normal file
@ -0,0 +1,35 @@
|
||||
SPRING BOOT CLI - INSTALLATION
|
||||
==============================
|
||||
|
||||
Thank you for downloading the Spring Boot CLI tool. Please follow these instructions
|
||||
in order to complete your installation.
|
||||
|
||||
|
||||
Prerequisites
|
||||
-------------
|
||||
Spring Boot CLI requires Java JDK v1.6 or above in order to run. Groovy v2.1 is packaged
|
||||
as part of this distribution, and therefore does not need to be installed (any existing
|
||||
Groovy installation is ignored).
|
||||
|
||||
The CLI will use whatever JDK it finds on your path, to check that you have an appropriate
|
||||
version you should run:
|
||||
|
||||
java -version
|
||||
|
||||
Alternatively, you can set the JAVA_HOME environment variable to point an suitable JDK.
|
||||
|
||||
|
||||
Environment Variables
|
||||
---------------------
|
||||
No specific environment variables are required to run the CLI, however, you may want to
|
||||
set SPRING_HOME to point to a specific installation. You should also add SPRING_HOME/bin
|
||||
to your PATH environment variable.
|
||||
|
||||
|
||||
Checking Your Installation
|
||||
--------------------------
|
||||
To test if you have successfully install the CLI you can run the following command:
|
||||
|
||||
spring --version
|
||||
|
||||
|
14
spring-boot-cli/src/main/content/LICENCE.txt
Normal file
14
spring-boot-cli/src/main/content/LICENCE.txt
Normal file
@ -0,0 +1,14 @@
|
||||
Copyright 2012-2013 the original author or authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
Loading…
Reference in New Issue
Block a user