Downloads:

6,556

Downloads of v 2.0.5:

307

Last Update:

14 Sep 2018

Package Maintainer(s):

Software Author(s):

  • Pivotal Software
  • Inc.

Tags:

spring boot build script xml java development

Spring Boot CLI

This is not the latest version of Spring Boot CLI available.

  • 1
  • 2
  • 3

2.0.5 | Updated: 14 Sep 2018

Downloads:

6,556

Downloads of v 2.0.5:

307

Maintainer(s):

Software Author(s):

  • Pivotal Software
  • Inc.

  • 1
  • 2
  • 3
Spring Boot CLI 2.0.5

This is not the latest version of Spring Boot CLI available.

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Spring Boot CLI, run the following command from the command line or from PowerShell:

>

To upgrade Spring Boot CLI, run the following command from the command line or from PowerShell:

>

To uninstall Spring Boot CLI, run the following command from the command line or from PowerShell:

>

Deployment Method:

📝 NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade spring-boot-cli -y --source="'INTERNAL REPO URL'" --version="'2.0.5'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade spring-boot-cli -y --source="'INTERNAL REPO URL'" --version="'2.0.5'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install spring-boot-cli
  win_chocolatey:
    name: spring-boot-cli
    version: '2.0.5'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'spring-boot-cli' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '2.0.5'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller spring-boot-cli
{
    Name     = "spring-boot-cli"
    Version  = "2.0.5"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'spring-boot-cli':
  ensure   => '2.0.5',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved by moderator gep13 on 24 Sep 2018.

Description

This will install the Spring Boot CLI distribution to %ChocolateyInstall%\lib\spring-boot-cli and set the environment variable SPRING_HOME pointing to the install location.


tools\chocolateyInstall.ps1
$toolsDir = Split-Path $MyInvocation.MyCommand.Definition
$spring_home = Join-Path $env:ChocolateyPackageFolder "spring-2.0.5.RELEASE"

Get-ChocolateyUnzip "$toolsDir\spring-boot-cli-2.0.5.RELEASE-bin.zip" "$env:ChocolateyPackageFolder"
Remove-Item -path "$toolsDir\spring-boot-cli-2.0.5.RELEASE-bin.zip"
Install-ChocolateyEnvironmentVariable "SPRING_HOME" "$spring_home" Machine
Install-BinFile "spring" "$spring_home\bin\spring.bat"
tools\chocolateyUninstall.ps1
$toolsDir = Split-Path $MyInvocation.MyCommand.Definition
$spring_home = Join-Path $env:ChocolateyPackageFolder "spring-2.0.5.RELEASE"

Uninstall-ChocolateyEnvironmentVariable "SPRING_HOME" Machine
Uninstall-BinFile "spring" "$spring_home\bin\spring.bat"
tools\LICENSE.txt
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.
tools\spring-boot-cli-2.0.5.RELEASE-bin.zip
md5: 8DDA6E1AC8BB43EEE325069A11B6BC73 | sha1: A5B85B1F1B4F8B5446F93CD1BBCE08EB43F94130 | sha256: 2D5FB7800BF1D42ADEF49951FD1A55C8BA980B123AD003F00BCB4B9CF1A2CA0D | sha512: C225459E335BA8E3F0C82F02DFF4FBD2CB4C5FC8F98B20F9A824FA8048C2F3D3CD44D04858B05CE058B8003D03265A52F01D7CE2216398D6DF4C4E12B5D330E5
tools\VERIFICATION.txt
To verify, compare with the binary from the vendor's official distribution point:

https://docs.spring.io/spring-boot/docs/2.0.5.RELEASE/reference/html/getting-started-installing-spring-boot.html#getting-started-manual-cli-installation

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
Spring Boot CLI 2.2.3 122 Saturday, January 18, 2020 Approved
Spring Boot CLI 2.2.2 201 Thursday, December 26, 2019 Approved
Spring Boot CLI 2.2.1 239 Wednesday, November 20, 2019 Approved
Spring Boot CLI 2.2.0 83 Wednesday, November 20, 2019 Approved
Spring Boot CLI 2.1.12 98 Saturday, January 18, 2020 Approved
Spring Boot CLI 2.1.11 110 Thursday, December 26, 2019 Approved
Spring Boot CLI 2.1.10 99 Wednesday, November 20, 2019 Approved
Spring Boot CLI 2.1.9 254 Friday, October 11, 2019 Approved
Spring Boot CLI 2.1.8 197 Monday, September 16, 2019 Approved
Discussion for the Spring Boot CLI Package

Ground Rules:

  • This discussion is only about Spring Boot CLI and the Spring Boot CLI package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Spring Boot CLI, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus