Downloads:

11,280

Downloads of v 11.0.5:

16

Last Update:

15 Jun 2021

Package Maintainer(s):

Software Author(s):

  • The Eclipse Foundation

Tags:

jetty

Jetty

  • 1
  • 2
  • 3

11.0.5 | Updated: 15 Jun 2021

Downloads:

11,280

Downloads of v 11.0.5:

16

Maintainer(s):

Software Author(s):

  • The Eclipse Foundation

Tags:

jetty

  • 1
  • 2
  • 3
Jetty 11.0.5

  • 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

To install Jetty, run the following command from the command line or from PowerShell:

>

To upgrade Jetty, run the following command from the command line or from PowerShell:

>

To uninstall Jetty, run the following command from the command line or from PowerShell:

>

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

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • 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. Enter your internal repository url

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

4. Choose your deployment method:


choco upgrade jetty -y --source="'STEP 3 URL'" [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 jetty -y --source="'STEP 3 URL'"
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Ensure jetty installed
  win_chocolatey:
    name: jetty
    state: present
    version: 11.0.5
    source: STEP 3 URL

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


chocolatey_package 'jetty' do
  action    :install
  version  '11.0.5'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: jetty,
    Version: 11.0.5,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller jetty
{
   Name     = 'jetty'
   Ensure   = 'Present'
   Version  = '11.0.5'
   Source   = 'STEP 3 URL'
}

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


package { 'jetty':
  provider => 'chocolatey',
  ensure   => '11.0.5',
  source   => 'STEP 3 URL',
}

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


salt '*' chocolatey.install jetty version="11.0.5" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved as a trusted package on 15 Jun 2021.

Description

Jetty servlet engine and HTTP server. Jetty provides an Web server and javax.servlet container, plus support for SPDY, Web Sockets, OSGi, JMX, JNDI, JASPI, AJP and many other integrations.


tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop';

$packageArgs = @{
  packageName    = 'jetty'
  unzipLocation  = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
  url            = 'https://repo1.maven.org/maven2/org/eclipse/jetty/jetty-home/11.0.5/jetty-home-11.0.5.zip'
  checksum       = '392594c32acab674d89a9e4a6788075e25796bc35faaff61eaf877b9765043a0'
  checksumType   = 'sha256'
}

Install-ChocolateyZipPackage @packageArgs

$zip = Split-Path $packageArgs.url -Leaf
$dir = $zip.Substring(0, $zip.Length - 4)

Install-ChocolateyEnvironmentVariable 'JETTY_HOME' "$(Split-Path -parent $MyInvocation.MyCommand.Definition)\$dir"
tools\chocolateyUninstall.ps1
$ErrorActionPreference = 'Stop';

Uninstall-ChocolateyEnvironmentVariable 'JETTY_HOME'

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.

Version Downloads Last Updated Status
Jetty 11.0.3 41 Sunday, May 23, 2021 Approved
Jetty 11.0.2 62 Wednesday, March 31, 2021 Approved
Jetty 11.0.1 41 Monday, March 8, 2021 Approved
Jetty 9.4.35.20201120 137 Tuesday, November 24, 2020 Approved
Jetty 9.4.34.20201102 60 Thursday, November 5, 2020 Approved
Jetty 9.4.33.20201020 52 Friday, October 23, 2020 Approved
Jetty 9.4.32.20200930 73 Friday, October 2, 2020 Approved
Jetty 9.4.31.20200723 98 Saturday, August 1, 2020 Approved
Jetty 9.4.30.20200611 107 Saturday, June 13, 2020 Approved

This package has no dependencies.

Discussion for the Jetty Package

Ground Rules:

  • This discussion is only about Jetty and the Jetty 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 Jetty, 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