Notices: This section not yet converted to new layout. Download stats are rolling back out.

Nexus Repository Manager OSS

2.14.5.02

Package test results are passing.

This package was approved as a trusted package on 8/4/2017.

Nexus Repository Manager OSS manage software components required for development, deployment, and provisioning. If you develop software, the repository manager can help you share those components with other developers and end users. It greatly simplifies the maintenance of your own internal repositories and access to external repositories. With Nexus Repository Manager and Nexus Repository Manager OSS you can completely control access to, and deployment of, every component in your organization from a single location.

Package

Package installer will install the nexus and start the service. The following parameters are available:

  • /InstallDir
    Installation directory, by default /InstallDir: c:\nexus

screenshot

To install Nexus Repository Manager OSS, run the following command from the command line or from PowerShell:

C:\> choco install nexus-oss

To upgrade Nexus Repository Manager OSS, run the following command from the command line or from PowerShell:

C:\> choco upgrade nexus-oss

Files

Hide
  • tools\chocolateyInstall.ps1 Show
    $ErrorActionPreference = 'Stop'
    
    $packageName = 'nexus-oss'
    $url         = 'https://sonatype-download.global.ssl.fastly.net/nexus/oss/nexus-2.14.5-02-bundle.zip'
    $checksum    = 'c8c2de674147512ed536f8bea22e7c6ceb37b225593be51f8a5f74b08e829798'
    $installDir  = 'c:\nexus'
    
    $packageArgs = @{
      packageName    = $packageName
      url            = $url
      url64Bit       = $url
      checksum       = $checksum
      checksum64     = $checksum
      checksumType   = 'sha256'
      checksumType64 = 'sha256'
      unzipLocation  = $installDir
    }
    
    if ($Env:ChocolateyPackageParameters -match '/InstallDir:\s*(.+)') {
        $installDir = $Matches[1]
        if ($installDir.StartsWith("'") -or $installDir.StartsWith('"')){  $installDir = $installDir -replace '^.|.$' }
        $parent = Split-Path $installDir
        mkdir -force $parent -ea 0 | out-null
    }
    
    if (gcm nexus -ea 0) {
        Write-Host "Detected existing installation, uninstalling service"
        0 | nexus stop
        0 | nexus uninstall
    }
    
    Write-Host "Installing to '$installDir'"
    Install-ChocolateyZipPackage @packageArgs
    
    $nexusDir = ls $installDir\nexus-* | sort -Descending | select -First 1
    $nexus = "$nexusDir\bin\nexus.bat"
    if (!(Test-Path $nexus)) { throw "Can not find nexus.bat" }
    Install-BinFile nexus $nexus
    
    0 | nexus install
    0 | nexus start
    
    $s = gsv nexus-webapp -ea 0
    if (!$s) { throw "Nexus service 'nexus-webapp' is not installed" }
    if ($s.Status -ne 'Running') { Write-Warning "Nexus service 'nexus-webapp' is installed but not running" }
    
    $ok = $false
    try {
        $request  = [System.Net.HttpWebRequest]::Create("http://localhost:8081/nexus")
        $response = $request.GetResponse()
        $ok = $response.StatusCode -eq 'OK'
    } catch {}
    
    if (!$ok) { Write-Warning "Nexus should be available at http://localhost:8081/nexus but can't be reached" }
    else { Write-Host "Nexus is available at http://localhost:8081/nexus" }
    

Virus Scan Results

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.

Dependencies

Maintainer(s)

Software Author(s)

  • Sonatype

Copyright

Sonatype

Tags

Release Notes

https://support.sonatype.com/hc/en-us/articles/213464368-Sonatype-Nexus-Release-Notes-Index

Version History

Version Downloads Last updated Status
Nexus Repository Manager OSS 2.14.4.03 102 Saturday, April 8, 2017 approved
Nexus Repository Manager OSS 2.14.4.02 71 Friday, April 7, 2017 approved
Nexus Repository Manager OSS 2.14.3.02 113 Thursday, February 16, 2017 approved
Nexus Repository Manager OSS 2.14.2.01 77 Tuesday, December 20, 2016 approved
Nexus Repository Manager OSS 2.14.1.01 143 Thursday, October 27, 2016 approved
Nexus Repository Manager OSS 2.14.0.01 127 Wednesday, September 21, 2016 approved
Nexus Repository Manager OSS 2.13.0.0120160708 117 Sunday, August 7, 2016 approved
Nexus Repository Manager OSS 2.13.0.01 99 Tuesday, April 19, 2016 approved
Show More

Discussion for the Nexus Repository Manager OSS Package

Ground rules:

  • This discussion is only about Nexus Repository Manager OSS and the Nexus Repository Manager OSS 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 Nexus Repository Manager OSS, 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