Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
497aebe0
Commit
497aebe0
authored
May 14, 2018
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '2.0.x'
parents
24024b00
eab05e88
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
96 additions
and
3 deletions
+96
-3
pom.xml
spring-boot-project/spring-boot-cli/pom.xml
+52
-3
springboot.json
...ot-project/spring-boot-cli/src/main/scoop/springboot.json
+26
-0
getting-started.adoc
...t/spring-boot-docs/src/main/asciidoc/getting-started.adoc
+18
-0
No files found.
spring-boot-project/spring-boot-cli/pom.xml
View file @
497aebe0
...
...
@@ -328,13 +328,62 @@
<echo
message=
"Customizing homebrew for ${project.version} with checksum ${checksum} in ${repo} repo"
/>
<copy
file=
"${basedir}/src/main/homebrew/springboot.rb"
tofile=
"${project.build.directory}/springboot.rb"
overwrite=
"true"
>
tofile=
"${project.build.directory}/
homebrew/
springboot.rb"
overwrite=
"true"
>
<filterchain>
<expandproperties
/>
</filterchain>
</copy>
<attachartifact
file=
"${project.build.directory}/springboot.rb"
classifier=
"homebrew"
type=
"rb"
/>
<attachartifact
file=
"${project.build.directory}/homebrew/springboot.rb"
classifier=
"homebrew"
type=
"rb"
/>
</target>
</configuration>
</execution>
<execution>
<id>
scoop
</id>
<phase>
package
</phase>
<goals>
<goal>
run
</goal>
</goals>
<inherited>
false
</inherited>
<configuration>
<target>
<taskdef
resource=
"net/sf/antcontrib/antcontrib.properties"
/>
<taskdef
name=
"stringutil"
classname=
"ise.antelope.tasks.StringUtilTask"
/>
<var
name=
"scoop-version"
value=
"${project.version}"
/>
<propertyregex
property=
"scoop-version"
override=
"true"
input=
"${scoop-version}"
regexp=
"(.*)\..*"
replace=
"\1"
/>
<var
name=
"version-type"
value=
"${project.version}"
/>
<propertyregex
property=
"version-type"
override=
"true"
input=
"${version-type}"
regexp=
".*\.(.*)"
replace=
"\1"
/>
<propertyregex
property=
"version-type"
override=
"true"
input=
"${version-type}"
regexp=
"(M)\d+"
replace=
"MILESTONE"
/>
<propertyregex
property=
"version-type"
override=
"true"
input=
"${version-type}"
regexp=
"(RC)\d+"
replace=
"MILESTONE"
/>
<propertyregex
property=
"version-type"
override=
"true"
input=
"${version-type}"
regexp=
"BUILD-(.*)"
replace=
"SNAPSHOT"
/>
<stringutil
string=
"${version-type}"
property=
"repo"
>
<lowercase
/>
</stringutil>
<checksum
algorithm=
"sha-256"
file=
"${project.build.directory}/spring-boot-cli-${project.version}-bin.zip"
property=
"hash"
/>
<echo
message=
"Customizing scoop for ${project.version} with hash ${hash} in ${repo} repo"
/>
<copy
file=
"${basedir}/src/main/scoop/springboot.json"
tofile=
"${project.build.directory}/scoop/springboot.json"
overwrite=
"true"
>
<filterchain>
<expandproperties>
<propertyset>
<propertyref
name=
"scoop-version"
/>
<propertyref
name=
"hash"
/>
<propertyref
name=
"repo"
/>
<propertyref
name=
"project.version"
/>
</propertyset>
</expandproperties>
</filterchain>
</copy>
<attachartifact
file=
"${project.build.directory}/scoop/springboot.json"
classifier=
"scoop"
type=
"json"
/>
</target>
</configuration>
</execution>
...
...
spring-boot-project/spring-boot-cli/src/main/scoop/springboot.json
0 → 100644
View file @
497aebe0
{
"homepage"
:
"https://projects.spring.io/spring-boot/"
,
"version"
:
"${scoop-version}"
,
"license"
:
"Apache 2.0"
,
"hash"
:
"${hash}"
,
"url"
:
"https://repo.spring.io/${repo}/org/springframework/boot/spring-boot-cli/${project.version}/spring-boot-cli-${project.version}-bin.zip"
,
"extract_dir"
:
"spring-${project.version}"
,
"bin"
:
"bin
\\
spring.bat"
,
"suggest"
:
{
"JDK"
:
[
"java/oraclejdk"
,
"java/openjdk"
]
},
"checkver"
:
{
"github"
:
"https://github.com/spring-projects/spring-boot"
,
"re"
:
"/releases/tag/(?:v)?(2[
\\
d.]+)
\\
.RELEASE"
},
"autoupdate"
:
{
"url"
:
"https://repo.spring.io/release/org/springframework/boot/spring-boot-cli/$version.RELEASE/spring-boot-cli-$version.RELEASE-bin.zip"
,
"extract_dir"
:
"spring-$version.RELEASE"
,
"hash"
:
{
"url"
:
"$url.sha256"
}
}
}
spring-boot-project/spring-boot-docs/src/main/asciidoc/getting-started.adoc
View file @
497aebe0
...
...
@@ -387,6 +387,24 @@ completion scripts are automatically registered with your shell.
[[getting-started-scoop-cli-installation]]
==== Windows Scoop Installation
If you are on a Windows and use http://scoop.sh/[Scoop], you can install the Spring Boot
CLI by using the following commands:
[indent=0]
----
> scoop bucket add extras
> scoop install springboot
----
Scoop installs `spring` to `~/scoop/apps/springboot/current/bin`.
NOTE: If you do not see the app manifest, your installation of scoop might be out-of-date.
In that case, run `scoop update` and try again.
[[getting-started-cli-example]]
==== Quick-start Spring CLI Example
You can use the following web application to test your installation. To start, create a
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment