Downloads:
34,727
Downloads of v 3.71.0.6:
509
Last Update:
10 Aug 2024
Package Maintainer(s):
Software Author(s):
- Sonatype
Tags:
nexus-repository server freeware cross-platform maven nuget npm java rubygems docker eclipse p2 osgi obr apt yum rpm artifact bower ssl respository sonatype nexus admin- Software Specific:
- Software Site
- Software Source
- Software License
- Software Docs
- Package Specific:
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Nexus Repository OSS
- 1
- 2
- 3
3.71.0.6 | Updated: 10 Aug 2024
- Software Specific:
- Software Site
- Software Source
- Software License
- Software Docs
- Package Specific:
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Downloads:
34,727
Downloads of v 3.71.0.6:
509
Maintainer(s):
Software Author(s):
- Sonatype
Nexus Repository OSS 3.71.0.6
Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Sonatype. The inclusion of Sonatype trademark(s), if any, upon this webpage is solely to identify Sonatype goods or services and not for commercial purposes.
- 1
- 2
- 3
This Package Contains an Exempted Check
Not All Tests Have Passed
Validation Testing Passed
Verification Testing Exemption:
This package has been having issues with the verifier machine's network configuration since the 2019 update.
It has been verified on several other machines.
Scan Testing Exemption for this package version only:
Package contains file(s) too big to be uploaded to VirusTotal!
Deployment Method: Individual Install, Upgrade, & Uninstall
To install Nexus Repository OSS, run the following command from the command line or from PowerShell:
To upgrade Nexus Repository OSS, run the following command from the command line or from PowerShell:
To uninstall Nexus Repository OSS, run the following command from the command line or from PowerShell:
Deployment Method:
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
Option 1: Cached Package (Unreliable, Requires Internet - Same As Community)-
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
-
Open Source
-
Download the package:
Download - Follow manual internalization instructions
-
-
Package Internalizer (C4B)
-
Run: (additional options)
choco download nexus-repository --internalize --source=https://community.chocolatey.org/api/v2/
-
For package and dependencies run:
choco push --source="'INTERNAL REPO URL'"
- Automate package internalization
-
Run: (additional options)
3. Copy Your Script
choco upgrade nexus-repository -y --source="'INTERNAL REPO 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 nexus-repository -y --source="'INTERNAL REPO URL'"
$exitCode = $LASTEXITCODE
Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
Exit 0
}
Exit $exitCode
- name: Install nexus-repository
win_chocolatey:
name: nexus-repository
version: '3.71.0.6'
source: INTERNAL REPO URL
state: present
See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.
chocolatey_package 'nexus-repository' do
action :install
source 'INTERNAL REPO URL'
version '3.71.0.6'
end
See docs at https://docs.chef.io/resource_chocolatey_package.html.
cChocoPackageInstaller nexus-repository
{
Name = "nexus-repository"
Version = "3.71.0.6"
Source = "INTERNAL REPO URL"
}
Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.
package { 'nexus-repository':
ensure => '3.71.0.6',
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 as a trusted package on 10 Aug 2024.
Free open source version of popular Nexus Repository for binary artifacts including first class Nuget support.
Features
Free OSS version supports advanced access control (groups, roles), LDAP and per-user api keys.
Nexus product does not have a built-in web gallery for components.
- Build quickly and reliably:
Publish and cache components in a central repository that connects natively to all popular package managers. - Manage storage space efficiently:
Automatically clean up old or unused artifacts from your repositories - Assess open source risk:
Centralize your consumption of open source to gain insight into the risk in your software supply chain. - Block malicious components:
Add Nexus Firewall to stop OSS risk from entering your SDLC using next-generation behavioral analysis and automated policy enforcement. - Flexible security:
Control access to your components with role-based access controls and full auditability.
Package Parameters
This package supports the following parameters:
/Fqdn
- The fqdn that matches the subject you are using for your Nexus instance SSL certificate./Port
- Specify what port Nexus should listen on. Defaults to8081
./BackupSslConfig
- Ensures that the ssl configuration survives an upgrade./BackupLocation
- Species the path to backup ssl configuration to during upgrade. Defaults to~/NexusSSLBackup
.
You can pass parameters as follows:
choco install nexus-repository --parameters="/Fqdn='nexus.example.com' /Port=4443 /BackupSslConfig /BackupLocation='X:\Backup\NexusSSL'"
Notes
- ATTENTION BREAKING CHANGE FOR UPGRADES FROM VERSIONS BEFORE 3.3.2.02
Nexus no longer provided a setup.exe for installing Nexus Repository 3.x on Windows.
If you previously installed this with a package that used a setup.exe, you must manually uninstall it first (use choco uninstall nexus-repository if you used Chocolatey to install it). Once you are on 3.3.2.02 or later, upgrades will work smoothly.
$ErrorActionPreference = 'Stop'
$ServiceName = 'nexus'
$InstallFolder = "$env:ProgramData\Nexus"
if (Test-Path "$Installfolder\bin\nexus.exe") {
if (Get-Process $ServiceName -ErrorAction SilentlyContinue) {
Get-Process $ServiceName | Stop-Process -Force
}
if (Get-Service $ServiceName -ErrorAction SilentlyContinue) {
Stop-Service $ServiceName
}
Start-Sleep -Seconds 5
$ProcessArgs = @{
ExeToRun = "$InstallFolder\bin\nexus.exe"
Statements = "/uninstall $ServiceName"
ValidExitCodes = @(0)
}
Start-ChocolateyProcessAsAdmin @ProcessArgs
Remove-Item $InstallFolder -Recurse -Force
} else {
Write-Warning "It appears that the uninstall may have been run outside of chocolatey, skipping..."
}
function Backup-NexusSSL {
[CmdletBinding()]
param(
[Parameter()]
[String]$BackupLocation = $(Join-Path $env:UserProfile "NexusSSLBackup")
)
begin {
if (-not (Test-Path $BackupLocation)) {
Write-Host "Creating SSL Backup location"
$null = New-Item $BackupLocation -ItemType Directory
}
}
process {
if (Test-Path "$env:ProgramData\nexus\etc\ssl\keystore.jks") {
Copy-Item "$env:ProgramData\nexus\etc\ssl\keystore.jks" $BackupLocation
}
if (Test-Path "$env:ProgramData\nexus\etc\jetty\jetty-https.xml") {
Copy-Item "$env:ProgramData\nexus\etc\jetty\jetty-https.xml" $BackupLocation
}
}
}
function Restore-NexusSSL {
[CmdletBinding()]
param(
[Parameter()]
[String]$BackupLocation = $(Join-Path $env:UserProfile "NexusSSLBackup")
)
process {
Write-Host "Shutting down nexus Service to re-apply ssl configuration"
$null = Stop-Service nexus
Write-Host "Reapplying SSL Configuration"
if (Test-Path "$BackupLocation\keystore.jks") {
Copy-Item "$BackupLocation\keystore.jks" "$env:ProgramData\nexus\etc\ssl"
}
if (Test-Path "$BackupLocation\jetty-https.xml") {
Copy-Item "$BackupLocation\jetty-https.xml" "$env:ProgramData\nexus\etc\jetty"
}
Write-Host "Nexus is now available with the restored SSL configuration"
}
}
function Wait-NexusAvailability {
param(
[Parameter(Mandatory = $true)]
[string]$Hostname,
[Parameter(Mandatory = $true)]
[uint16]$Port,
[Parameter(Mandatory = $true)]
[Alias("Config")]
[string]$NexusConfigFile,
[switch]$SSL
)
# Even though windows reports service is ready - web url will not respond until Nexus is actually ready to serve content
# We need to use this method to collect the port number so we can properly test the website has returned OK.
$nexusScheme, $portConfigLine = if ($SSL) {
# This is to combat Package Internalizer's over-enthusiastic URL matching
('http' + 's'), 'application-port-ssl'
} else {
'http', 'application-port'
}
# As the service is started, this should be present momentarily
$Timer = [System.Diagnostics.Stopwatch]::StartNew()
while (-not ($ConfigPresent = Test-Path $NexusConfigFile) -and $Timer.Elapsed.TotalSeconds -le 60) {
Write-Verbose "Waiting for '$($NexusConfigFile)' to become available ($($Timer.Elapsed.TotalSeconds) seconds waited)..."
Start-Sleep -Seconds 5
}
if ($ConfigPresent) {
$nexusPort = (Get-Content $NexusConfigFile | Where-Object {
$_ -match $portConfigLine
}).Split('=')[-1]
$nexusPath = (Get-Content $NexusConfigFile | Where-Object {
$_ -match "nexus-context-path"
}).Split("=")[-1]
} else {
Write-Warning "Expected Nexus Config file '$($NexusConfigFile)' is not present."
$nexusPath, $nexusPort = '/', $Port
}
$NexusUri = "$($nexusScheme)://$($hostname):$($nexusPort)$($nexusPath)"
Write-Host "Waiting on Nexus Web UI to be available at '$($NexusUri)'"
while ($Response.StatusCode -ne '200' -and $Timer.Elapsed.TotalMinutes -lt 3) {
try {
$Response = Invoke-WebRequest -Uri $NexusUri -UseBasicParsing
} catch {
Write-Verbose "Waiting on Nexus Web UI to be available at '$($NexusUri)'"
Start-Sleep -Seconds 1
}
}
if ($Response.StatusCode -eq '200') {
Write-Host "Nexus is ready!"
} else {
Write-Error "Nexus did not respond to requests at '$($NexusUri)' within 3 minutes of the service being started."
}
}
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 |
---|---|---|---|---|
Nexus Repository OSS 3.71.0.6 | 509 | Saturday, August 10, 2024 | Approved | |
Nexus Repository OSS 3.70.1.2 | 504 | Thursday, July 11, 2024 | Approved | |
Nexus Repository OSS 3.70.0.3 | 93 | Wednesday, July 10, 2024 | Approved | |
Nexus Repository OSS 3.69.0.2 | 510 | Wednesday, June 5, 2024 | Approved | |
Nexus Repository OSS 3.68.1.2 | 302 | Saturday, May 25, 2024 | Approved | |
Nexus Repository OSS 3.68.0.4 | 323 | Wednesday, May 8, 2024 | Approved | |
Nexus Repository OSS 3.67.1.1 | 417 | Thursday, April 11, 2024 | Approved | |
Nexus Repository OSS 3.67.0.3 | 221 | Wednesday, April 3, 2024 | Approved | |
Nexus Repository OSS 3.66.0.2 | 763 | Thursday, March 7, 2024 | Approved | |
Nexus Repository OSS 3.65.0.2 | 470 | Wednesday, February 7, 2024 | Approved | |
Nexus Repository OSS 3.64.0.4 | 434 | Monday, January 15, 2024 | Approved | |
Nexus Repository OSS 3.64.0.3 | 161 | Wednesday, January 10, 2024 | Approved | |
Nexus Repository OSS 3.63.0.1 | 400 | Tuesday, December 5, 2023 | Approved | |
Nexus Repository OSS 3.62.0.1 | 395 | Wednesday, November 8, 2023 | Approved | |
Nexus Repository OSS 3.60.0.2 | 677 | Friday, September 8, 2023 | Approved | |
Nexus Repository OSS 3.59.0.1 | 356 | Wednesday, August 16, 2023 | Approved | |
Nexus Repository OSS 3.58.1.2 | 350 | Thursday, July 27, 2023 | Approved | |
Nexus Repository OSS 3.58.1.1 | 226 | Saturday, July 22, 2023 | Approved | |
Nexus Repository OSS 3.58.0.1 | 178 | Monday, July 17, 2023 | Approved | |
Nexus Repository OSS 3.57.0.1 | 207 | Thursday, July 6, 2023 | Approved | |
Nexus Repository OSS 3.56.0.1 | 308 | Monday, June 19, 2023 | Approved | |
Nexus Repository OSS 3.55.0.01 | 243 | Tuesday, June 6, 2023 | Approved | |
Nexus Repository OSS 3.54.1.01 | 276 | Tuesday, May 23, 2023 | Approved | |
Nexus Repository OSS 3.53.1.02 | 202 | Saturday, May 13, 2023 | Approved | |
Nexus Repository OSS 3.53.0.01 | 237 | Wednesday, May 3, 2023 | Approved | |
Nexus Repository OSS 3.52.0.01 | 247 | Wednesday, April 19, 2023 | Approved | |
Nexus Repository OSS 3.51.0.01 | 275 | Wednesday, April 5, 2023 | Approved | |
Nexus Repository OSS 3.50.0.01 | 237 | Monday, March 27, 2023 | Approved | |
Nexus Repository OSS 3.49.0.02 | 356 | Tuesday, March 7, 2023 | Approved | |
Nexus Repository OSS 3.48.0.01 | 252 | Monday, February 27, 2023 | Approved | |
Nexus Repository OSS 3.47.1.01 | 41 | Tuesday, February 14, 2023 | Approved | |
Nexus Repository OSS 3.47.0.01 | 41 | Thursday, February 9, 2023 | Approved | |
Nexus Repository OSS 3.46.0.01 | 54 | Tuesday, January 31, 2023 | Approved | |
Nexus Repository OSS 3.45.0.01 | 64 | Wednesday, December 28, 2022 | Approved | |
Nexus Repository OSS 3.43.0.01 | 1291 | Wednesday, November 9, 2022 | Approved | |
Nexus Repository OSS 3.41.1.01 | 1010 | Saturday, August 20, 2022 | Exempted | |
Nexus Repository OSS 3.41.0.01 | 433 | Thursday, July 28, 2022 | Approved | |
Nexus Repository OSS 3.40.1.01 | 597 | Monday, June 27, 2022 | Exempted | |
Nexus Repository OSS 3.40.0.03 | 145 | Thursday, June 23, 2022 | Exempted | |
Nexus Repository OSS 3.39.0.01 | 507 | Monday, May 23, 2022 | Approved | |
Nexus Repository OSS 3.38.1.01 | 965 | Wednesday, March 30, 2022 | Exempted | |
Nexus Repository OSS 3.38.0.01 | 221 | Friday, March 4, 2022 | Exempted | |
Nexus Repository OSS 3.37.3.02 | 1222 | Thursday, December 30, 2021 | Exempted | |
Nexus Repository OSS 3.37.1.01 | 255 | Tuesday, December 21, 2021 | Exempted | |
Nexus Repository OSS 3.37.0.01 | 382 | Monday, November 29, 2021 | Exempted | |
Nexus Repository OSS 3.36.0.01 | 327 | Thursday, November 18, 2021 | Approved | |
Nexus Repository OSS 3.34.1.01 | 639 | Friday, September 24, 2021 | Exempted | |
Nexus Repository OSS 3.31.1.01 | 937 | Wednesday, July 7, 2021 | Approved | |
Nexus Repository OSS 3.31.0.01 | 266 | Tuesday, June 22, 2021 | Approved | |
Nexus Repository OSS 3.30.0.01 | 678 | Thursday, April 29, 2021 | Approved | |
Nexus Repository OSS 3.29.2.02 | 767 | Wednesday, February 10, 2021 | Approved | |
Nexus Repository OSS 3.29.1.01 | 381 | Wednesday, January 6, 2021 | Approved | |
Nexus Repository OSS 3.27.0.03 | 680 | Friday, September 11, 2020 | Approved | |
Nexus Repository OSS 3.25.1.02 | 408 | Thursday, July 30, 2020 | Approved | |
Nexus Repository OSS 3.22.1.02 | 671 | Monday, April 20, 2020 | Approved | |
Nexus Repository OSS 3.22.0.02 | 246 | Saturday, April 11, 2020 | Approved | |
Nexus Repository OSS 3.21.2.03 | 289 | Friday, March 27, 2020 | Approved | |
Nexus Repository OSS 3.21.1.01 | 389 | Saturday, March 14, 2020 | Approved | |
Nexus Repository OSS 3.19.1.20191118 | 695 | Tuesday, November 19, 2019 | Approved | |
Nexus Repository OSS 3.19.1.01 | 353 | Sunday, October 13, 2019 | Approved | |
Nexus Repository OSS 3.18.1.01 | 380 | Saturday, August 24, 2019 | Approved | |
Nexus Repository OSS 3.15.2.01 | 743 | Thursday, March 14, 2019 | Approved | |
Nexus Repository OSS 3.14.0.4 | 470 | Thursday, January 10, 2019 | Approved | |
Nexus Repository OSS 3.12.1.1 | 770 | Thursday, July 19, 2018 | Approved | |
Nexus Repository OSS 3.11.0.1 | 476 | Wednesday, May 9, 2018 | Approved | |
Nexus Repository OSS 3.9.0.20180301 | 418 | Friday, March 23, 2018 | Approved | |
Nexus Repository OSS 3.9.0.01 | 394 | Saturday, March 10, 2018 | Approved | |
Nexus Repository OSS 3.8.0.02 | 411 | Thursday, February 22, 2018 | Approved | |
Nexus Repository OSS 3.7.1.02 | 494 | Friday, December 29, 2017 | Approved | |
Nexus Repository OSS 3.6.0.02 | 479 | Thursday, November 2, 2017 | Approved | |
Nexus Repository OSS 3.5.2.01 | 508 | Saturday, September 23, 2017 | Approved | |
Nexus Repository OSS 3.3.2.02 | 667 | Tuesday, June 27, 2017 | Approved | |
Nexus Repository OSS 3.0.2.02 | 911 | Saturday, September 24, 2016 | Approved | |
Nexus Repository OSS 3.0.1.01 | 534 | Saturday, July 30, 2016 | Approved | |
Nexus Repository OSS 3.0.0.03 | 495 | Friday, April 8, 2016 | Approved | |
Nexus Repository OSS 3.0.0-m7-1 | 478 | Friday, February 26, 2016 | Exempted | |
Nexus Repository OSS 3.0.0-m7 | 482 | Friday, February 26, 2016 | Exempted | |
Nexus Repository OSS 2.12.0.01 | 477 | Friday, February 26, 2016 | Approved |
Sonatype
This package has no dependencies.
Ground Rules:
- This discussion is only about Nexus Repository OSS and the Nexus Repository 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 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.