Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created May 18, 2024 09:50
Show Gist options
  • Save choco-bot/7370b54b05fe5ee1e92c064e244932ce to your computer and use it in GitHub Desktop.
Save choco-bot/7370b54b05fe5ee1e92c064e244932ce to your computer and use it in GitHub Desktop.
maven-snapshot v20230608.134448 - Failed - Package Tests Results

maven-snapshot v20230608.134448 - Failed - Package Test Results

  • https://community.chocolatey.org/packages/maven-snapshot/20230608.134448
  • Tested 18 May 2024 09:50:52 +00:00
  • Tested against chocolatey/test-environment 3.0.0 (Windows Server 2019)
  • Tested with the latest version of choco, possibly a beta version.
  • Tested with chocolatey-package-verifier service v1.1.0
  • Install failed. Note that the process may have hung, indicating a not completely silent install. This is usually seen when the last entry in the log is calling the install. This can also happen when a window pops up and needs to be closed to continue.
2024-05-18 09:50:22,483 2736 [DEBUG] - XmlConfiguration is now operational
2024-05-18 09:50:22,703 2736 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-05-18 09:50:22,703 2736 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-05-18 09:50:22,703 2736 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-05-18 09:50:22,703 2736 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2024-05-18 09:50:22,720 2736 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-05-18 09:50:22,720 2736 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2024-05-18 09:50:22,720 2736 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-05-18 09:50:22,720 2736 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2024-05-18 09:50:22,734 2736 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-05-18 09:50:22,734 2736 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2024-05-18 09:50:22,734 2736 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2024-05-18 09:50:23,715 2736 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-18 09:50:23,715 2736 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-18 09:50:23,733 2736 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-18 09:50:23,733 2736 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-18 09:50:23,733 2736 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-18 09:50:23,733 2736 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-18 09:50:23,747 2736 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-18 09:50:23,747 2736 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-18 09:50:23,747 2736 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-18 09:50:23,763 2736 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-18 09:50:23,794 2736 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2024-05-18 09:50:23,810 2736 [DEBUG] - Registering new command 'list' in assembly 'choco'
2024-05-18 09:50:23,810 2736 [DEBUG] - Registering new command 'template' in assembly 'choco'
2024-05-18 09:50:23,810 2736 [DEBUG] - Registering new command 'export' in assembly 'choco'
2024-05-18 09:50:23,827 2736 [DEBUG] - Registering new command 'info' in assembly 'choco'
2024-05-18 09:50:23,827 2736 [DEBUG] - Registering new command 'help' in assembly 'choco'
2024-05-18 09:50:23,827 2736 [DEBUG] - Registering new command 'config' in assembly 'choco'
2024-05-18 09:50:23,842 2736 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2024-05-18 09:50:23,842 2736 [DEBUG] - Registering new command 'new' in assembly 'choco'
2024-05-18 09:50:23,842 2736 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2024-05-18 09:50:23,855 2736 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2024-05-18 09:50:23,855 2736 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2024-05-18 09:50:23,855 2736 [DEBUG] - Registering new command 'push' in assembly 'choco'
2024-05-18 09:50:23,855 2736 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2024-05-18 09:50:23,872 2736 [DEBUG] - Registering new command 'source' in assembly 'choco'
2024-05-18 09:50:23,872 2736 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2024-05-18 09:50:23,872 2736 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2024-05-18 09:50:23,872 2736 [DEBUG] - Registering new command 'search' in assembly 'choco'
2024-05-18 09:50:23,872 2736 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2024-05-18 09:50:23,890 2736 [DEBUG] - Registering new command 'install' in assembly 'choco'
2024-05-18 09:50:24,265 2736 [INFO ] - ============================================================
2024-05-18 09:50:24,682 2736 [INFO ] - Chocolatey v2.2.2
2024-05-18 09:50:24,715 2736 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2024-05-18 09:50:24,715 2736 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2024-05-18 09:50:24,715 2736 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2024-05-18 09:50:24,747 2736 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install maven-snapshot --version 20230608.134448 -fdvy --execution-timeout=2700 --allow-downgrade
2024-05-18 09:50:24,747 2736 [DEBUG] - Received arguments: install maven-snapshot --version 20230608.134448 -fdvy --execution-timeout=2700 --allow-downgrade
2024-05-18 09:50:24,937 2736 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2024-05-18 09:50:24,984 2736 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2024-05-18 09:50:25,014 2736 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2024-05-18 09:50:25,311 2736 [DEBUG] - Performing validation checks.
2024-05-18 09:50:25,326 2736 [DEBUG] - Global Configuration Validation Checks:
2024-05-18 09:50:25,342 2736 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2024-05-18 09:50:25,356 2736 [DEBUG] - System State Validation Checks:
2024-05-18 09:50:25,373 2736 [DEBUG] - Reboot Requirement Checks:
2024-05-18 09:50:25,385 2736 [DEBUG] - - Pending Computer Rename = Checked
2024-05-18 09:50:25,403 2736 [DEBUG] - - Pending Component Based Servicing = Checked
2024-05-18 09:50:25,403 2736 [DEBUG] - - Pending Windows Auto Update = Checked
2024-05-18 09:50:25,420 2736 [DEBUG] - - Pending File Rename Operations = Ignored
2024-05-18 09:50:25,420 2736 [DEBUG] - - Pending Windows Package Installer = Checked
2024-05-18 09:50:25,435 2736 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2024-05-18 09:50:25,450 2736 [DEBUG] - Cache Folder Lockdown Checks:
2024-05-18 09:50:25,465 2736 [DEBUG] - - Elevated State = Checked
2024-05-18 09:50:25,465 2736 [DEBUG] - - Folder Exists = Checked
2024-05-18 09:50:25,484 2736 [DEBUG] - - Folder lockdown = Checked
2024-05-18 09:50:25,512 2736 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2024-05-18 09:50:25,571 2736 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2024-05-18 09:50:25,571 2736 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2024-05-18 09:50:25,621 2736 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|ShowOnlineHelp='False'|Debug='True'|Verbose='True'|
Trace='False'|Force='True'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|
Input='maven-snapshot'|Version='20230608.134448'|AllVersions='False'|
SkipPackageInstallProvider='False'|SkipHookScripts='False'|
PackageNames='maven-snapshot'|Prerelease='False'|ForceX86='False'|
OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
CacheExpirationInMinutes='30'|AllowDowngrade='True'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='2.2.2.0'|
Information.ChocolateyProductVersion='2.2.2'|
Information.FullName='choco, Version=2.2.2.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-HGD596VAVST'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|
Information.IsLicensedAssemblyLoaded='False'|
Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
ListCommand.ExplicitPageSize='False'|
ListCommand.ExplicitSource='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='Unknown'|
ApiKeyCommand.Command='Unknown'|PinCommand.Command='Unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|CacheCommand.Command='Unknown'|
CacheCommand.RemoveExpiredItemsOnly='False'|
2024-05-18 09:50:25,621 2736 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2024-05-18 09:50:25,654 2736 [INFO ] - Installing the following packages:
2024-05-18 09:50:25,670 2736 [INFO ] - maven-snapshot
2024-05-18 09:50:25,670 2736 [INFO ] - By installing, you accept licenses for the packages.
2024-05-18 09:50:25,703 2736 [DEBUG] - Current environment values (may contain sensitive data):
2024-05-18 09:50:25,703 2736 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2024-05-18 09:50:25,718 2736 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-05-18 09:50:25,718 2736 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-05-18 09:50:25,731 2736 [DEBUG] - * 'ChocolateyLastPathUpdate'='133604248936101201' ('User')
2024-05-18 09:50:25,731 2736 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2024-05-18 09:50:25,731 2736 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2024-05-18 09:50:25,750 2736 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2024-05-18 09:50:25,760 2736 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' ('Machine')
2024-05-18 09:50:25,760 2736 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2024-05-18 09:50:25,760 2736 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2024-05-18 09:50:25,760 2736 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2024-05-18 09:50:25,780 2736 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2024-05-18 09:50:25,780 2736 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2024-05-18 09:50:25,795 2736 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2024-05-18 09:50:25,795 2736 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2024-05-18 09:50:25,808 2736 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
2024-05-18 09:50:25,808 2736 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2024-05-18 09:50:25,808 2736 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
2024-05-18 09:50:25,808 2736 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
2024-05-18 09:50:25,826 2736 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2024-05-18 09:50:26,577 2736 [DEBUG] - Running list with the following filter = ''
2024-05-18 09:50:26,577 2736 [DEBUG] - --- Start of List ---
2024-05-18 09:50:26,641 2736 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2024-05-18 09:50:27,233 2736 [DEBUG] - chocolatey 2.2.2
2024-05-18 09:50:27,264 2736 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-05-18 09:50:27,311 2736 [DEBUG] - KB2919355 1.0.20160915
2024-05-18 09:50:27,328 2736 [DEBUG] - KB2919442 1.0.20160915
2024-05-18 09:50:27,328 2736 [DEBUG] - KB2999226 1.0.20181019
2024-05-18 09:50:27,341 2736 [DEBUG] - KB3035131 1.0.3
2024-05-18 09:50:27,360 2736 [DEBUG] - KB3118401 1.0.5
2024-05-18 09:50:27,406 2736 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.18
2024-05-18 09:50:27,419 2736 [DEBUG] - --- End of List ---
2024-05-18 09:50:27,449 2736 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
2024-05-18 09:50:28,142 2736 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
2024-05-18 09:50:28,732 2736 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='maven-snapshot',Version='20230608.134448.0')
2024-05-18 09:50:28,950 2736 [INFO ] - [NuGet] NotFound https://community.chocolatey.org/api/v2/Packages(Id='maven-snapshot',Version='20230608.134448.0') 214ms
2024-05-18 09:50:28,984 2736 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/FindPackagesById()?id='maven-snapshot'&semVerLevel=2.0.0
2024-05-18 09:50:29,263 2736 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/FindPackagesById()?id='maven-snapshot'&semVerLevel=2.0.0 285ms
2024-05-18 09:50:29,530 2736 [INFO ] - [NuGet] GET http://community.chocolatey.org/api/v2/FindPackagesById?id='maven-snapshot'&$skiptoken='1712040503713','20230205.123326.0','maven-snapshot'
2024-05-18 09:50:29,816 2736 [INFO ] - [NuGet] OK http://community.chocolatey.org/api/v2/FindPackagesById?id='maven-snapshot'&$skiptoken='1712040503713','20230205.123326.0','maven-snapshot' 279ms
2024-05-18 09:50:29,871 2736 [INFO ] - [NuGet] GET http://community.chocolatey.org/api/v2/FindPackagesById?id='maven-snapshot'&$skiptoken='1711678706143','20220718.1225.0','maven-snapshot'
2024-05-18 09:50:30,182 2736 [INFO ] - [NuGet] OK http://community.chocolatey.org/api/v2/FindPackagesById?id='maven-snapshot'&$skiptoken='1711678706143','20220718.1225.0','maven-snapshot' 321ms
2024-05-18 09:50:30,277 2736 [INFO ] - [NuGet] GET http://community.chocolatey.org/api/v2/FindPackagesById?id='maven-snapshot'&$skiptoken='1711413208900','20210924.2108.0','maven-snapshot'
2024-05-18 09:50:30,556 2736 [INFO ] - [NuGet] OK http://community.chocolatey.org/api/v2/FindPackagesById?id='maven-snapshot'&$skiptoken='1711413208900','20210924.2108.0','maven-snapshot' 274ms
2024-05-18 09:50:30,618 2736 [INFO ] - [NuGet] GET http://community.chocolatey.org/api/v2/FindPackagesById?id='maven-snapshot'&$skiptoken='1710968609893','20220825.553.0','maven-snapshot'
2024-05-18 09:50:30,932 2736 [INFO ] - [NuGet] OK http://community.chocolatey.org/api/v2/FindPackagesById?id='maven-snapshot'&$skiptoken='1710968609893','20220825.553.0','maven-snapshot' 327ms
2024-05-18 09:50:30,995 2736 [INFO ] - [NuGet] GET http://community.chocolatey.org/api/v2/FindPackagesById?id='maven-snapshot'&$skiptoken='1710382709810','20230303.75307.0','maven-snapshot'
2024-05-18 09:50:31,419 2736 [INFO ] - [NuGet] OK http://community.chocolatey.org/api/v2/FindPackagesById?id='maven-snapshot'&$skiptoken='1710382709810','20230303.75307.0','maven-snapshot' 406ms
2024-05-18 09:50:31,482 2736 [INFO ] - [NuGet] GET http://community.chocolatey.org/api/v2/FindPackagesById?id='maven-snapshot'&$skiptoken='1710382709810','20221109.1910.0','maven-snapshot'
2024-05-18 09:50:31,814 2736 [INFO ] - [NuGet] OK http://community.chocolatey.org/api/v2/FindPackagesById?id='maven-snapshot'&$skiptoken='1710382709810','20221109.1910.0','maven-snapshot' 327ms
2024-05-18 09:50:31,873 2736 [INFO ] - [NuGet] GET http://community.chocolatey.org/api/v2/FindPackagesById?id='maven-snapshot'&$skiptoken='1710381809400','20220412.2012.0','maven-snapshot'
2024-05-18 09:50:32,274 2736 [INFO ] - [NuGet] OK http://community.chocolatey.org/api/v2/FindPackagesById?id='maven-snapshot'&$skiptoken='1710381809400','20220412.2012.0','maven-snapshot' 389ms
2024-05-18 09:50:32,331 2736 [INFO ] - [NuGet] GET http://community.chocolatey.org/api/v2/FindPackagesById?id='maven-snapshot'&$skiptoken='1710381809400','20211002.1908.0','maven-snapshot'
2024-05-18 09:50:32,744 2736 [INFO ] - [NuGet] OK http://community.chocolatey.org/api/v2/FindPackagesById?id='maven-snapshot'&$skiptoken='1710381809400','20211002.1908.0','maven-snapshot' 421ms
2024-05-18 09:50:32,839 2736 [INFO ] - [NuGet] GET http://community.chocolatey.org/api/v2/FindPackagesById?id='maven-snapshot'&$skiptoken='1710381809400','20210405.1918.0','maven-snapshot'
2024-05-18 09:50:33,107 2736 [INFO ] - [NuGet] OK http://community.chocolatey.org/api/v2/FindPackagesById?id='maven-snapshot'&$skiptoken='1710381809400','20210405.1918.0','maven-snapshot' 272ms
2024-05-18 09:50:33,138 2736 [INFO ] - [NuGet] GET http://community.chocolatey.org/api/v2/FindPackagesById?id='maven-snapshot'&$skiptoken='1710380905727','20210313.1727.0','maven-snapshot'
2024-05-18 09:50:33,410 2736 [INFO ] - [NuGet] OK http://community.chocolatey.org/api/v2/FindPackagesById?id='maven-snapshot'&$skiptoken='1710380905727','20210313.1727.0','maven-snapshot' 249ms
2024-05-18 09:50:33,447 2736 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
2024-05-18 09:50:34,150 2736 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
2024-05-18 09:50:34,181 2736 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='maven-snapshot',Version='20230608.134448.0')
2024-05-18 09:50:34,217 2736 [INFO ] - [NuGet] NotFound https://community.chocolatey.org/api/v2/Packages(Id='maven-snapshot',Version='20230608.134448.0') 38ms
2024-05-18 09:50:34,237 2736 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/FindPackagesById()?id='maven-snapshot'&semVerLevel=2.0.0
2024-05-18 09:50:34,247 2736 [INFO ] - [NuGet] CACHE http://community.chocolatey.org/api/v2/FindPackagesById?id='maven-snapshot'&$skiptoken='1712040503713','20230205.123326.0','maven-snapshot'
2024-05-18 09:50:34,275 2736 [INFO ] - [NuGet] CACHE http://community.chocolatey.org/api/v2/FindPackagesById?id='maven-snapshot'&$skiptoken='1711678706143','20220718.1225.0','maven-snapshot'
2024-05-18 09:50:34,308 2736 [INFO ] - [NuGet] CACHE http://community.chocolatey.org/api/v2/FindPackagesById?id='maven-snapshot'&$skiptoken='1711413208900','20210924.2108.0','maven-snapshot'
2024-05-18 09:50:34,308 2736 [INFO ] - [NuGet] CACHE http://community.chocolatey.org/api/v2/FindPackagesById?id='maven-snapshot'&$skiptoken='1710968609893','20220825.553.0','maven-snapshot'
2024-05-18 09:50:34,332 2736 [INFO ] - [NuGet] CACHE http://community.chocolatey.org/api/v2/FindPackagesById?id='maven-snapshot'&$skiptoken='1710382709810','20230303.75307.0','maven-snapshot'
2024-05-18 09:50:34,340 2736 [INFO ] - [NuGet] CACHE http://community.chocolatey.org/api/v2/FindPackagesById?id='maven-snapshot'&$skiptoken='1710382709810','20221109.1910.0','maven-snapshot'
2024-05-18 09:50:34,371 2736 [INFO ] - [NuGet] CACHE http://community.chocolatey.org/api/v2/FindPackagesById?id='maven-snapshot'&$skiptoken='1710381809400','20220412.2012.0','maven-snapshot'
2024-05-18 09:50:34,371 2736 [INFO ] - [NuGet] CACHE http://community.chocolatey.org/api/v2/FindPackagesById?id='maven-snapshot'&$skiptoken='1710381809400','20211002.1908.0','maven-snapshot'
2024-05-18 09:50:34,405 2736 [INFO ] - [NuGet] CACHE http://community.chocolatey.org/api/v2/FindPackagesById?id='maven-snapshot'&$skiptoken='1710381809400','20210405.1918.0','maven-snapshot'
2024-05-18 09:50:34,437 2736 [INFO ] - [NuGet] CACHE http://community.chocolatey.org/api/v2/FindPackagesById?id='maven-snapshot'&$skiptoken='1710380905727','20210313.1727.0','maven-snapshot'
2024-05-18 09:50:34,842 2736 [INFO ] - [NuGet] Resolving dependency information took 0 ms
2024-05-18 09:50:34,873 2736 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
2024-05-18 09:50:34,964 2736 [DEBUG] - Attempting to delete file "".
2024-05-18 09:50:35,028 2736 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/maven-snapshot/20230608.134448
2024-05-18 09:50:35,492 2736 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/maven-snapshot/20230608.134448 473ms
2024-05-18 09:50:35,549 2736 [INFO ] - [NuGet] Acquiring lock for the installation of maven-snapshot 20230608.134448
2024-05-18 09:50:35,621 2736 [INFO ] - [NuGet] Acquired lock for the installation of maven-snapshot 20230608.134448
2024-05-18 09:50:35,996 2736 [INFO ] - [NuGet] Installed maven-snapshot 20230608.134448 from https://community.chocolatey.org/api/v2/ with content hash 8AuMCElCOrU/bevvHoi7Lbvn6sUET6UnfsuA7xaXbRh0cEh2vmhBNT+U+MKGzp7D6LAmriUFxxqDEdE7B4jK1A==.
2024-05-18 09:50:36,057 2736 [INFO ] - [NuGet] Adding package 'maven-snapshot.20230608.134448.0' to folder 'C:\ProgramData\chocolatey\lib'
2024-05-18 09:50:36,186 2736 [INFO ] - [NuGet] Added package 'maven-snapshot.20230608.134448.0' to folder 'C:\ProgramData\chocolatey\lib'
2024-05-18 09:50:36,201 2736 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\maven-snapshot/20230608.134448.0\maven-snapshot.20230608.134448.0.nupkg".
2024-05-18 09:50:36,218 2736 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\maven-snapshot/20230608.134448.0\.nupkg.metadata".
2024-05-18 09:50:36,218 2736 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\maven-snapshot/20230608.134448.0\maven-snapshot.20230608.134448.0.nupkg.sha512".
2024-05-18 09:50:36,218 2736 [INFO ] -
maven-snapshot v20230608.134448.0 (forced) [Approved]
2024-05-18 09:50:36,359 2736 [INFO ] - maven-snapshot package files install completed. Performing other installation steps.
2024-05-18 09:50:36,454 2736 [DEBUG] - Setting installer args for maven-snapshot
2024-05-18 09:50:36,454 2736 [DEBUG] - Setting package parameters for maven-snapshot
2024-05-18 09:50:36,466 2736 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\maven-snapshot\tools\chocolateyinstall.ps1':
2024-05-18 09:50:36,494 2736 [DEBUG] - # This function reads the registry key instead of the environment variable to avoid variable expansion.
function IsM2HomeBinInPath ([string]$pathToAdd) {
try {
$regKey = [Microsoft.Win32.Registry]::LocalMachine.OpenSubKey('SYSTEM\CurrentControlSet\Control\Session Manager\Environment', $true)
$unexpandedPath = $regKey.GetValue('Path', $null, 'DoNotExpandEnvironmentNames')
foreach ($path in "$unexpandedPath".split(';')) {
if ($pathToAdd -ieq $path -or "$pathToAdd\" -ieq $path) {
return $true
}
}
return $false;
}
finally {
$regKey.Dispose()
}
}
$checksum = "ff1322bf3e3efb355b6c499d00cd7c70f36f26ba92854f8683a19b1e493ea29b"
$url = "https://repository.apache.org/content/groups/snapshots/org/apache/maven/apache-maven/4.0.0-alpha-6-SNAPSHOT/apache-maven-4.0.0-alpha-6-20230608.134448-58-bin.zip"
$tools = Split-Path $MyInvocation.MyCommand.Definition
$package = Split-Path $tools
$m2_home = Join-Path $package "apache-maven"
$pathToAdd = Join-Path '%M2_HOME%' 'bin'
$m2_repo = Join-Path $env:USERPROFILE '.m2'
Install-ChocolateyZipPackage `
-PackageName 'Maven Snapshot' `
-Url $url `
-Checksum $checksum `
-ChecksumType 'sha256' `
-UnzipLocation $package
# install ~/.m2 folder if it does not exist yet
New-Item -Path $m2_repo -type directory -Force
# save the original M2_HOME in order to switch back to the latest maven when maven-snapshot is uninstalled
$current_m2_home = $env:M2_HOME;
$orig_m2_home = $env:ORIG_M2_HOME;
if (![string]::IsNullOrEmpty($current_m2_home) -and [string]::IsNullOrEmpty($orig_m2_home)) {
Install-ChocolateyEnvironmentVariable -VariableName "ORIG_M2_HOME" -VariableValue $current_m2_home -VariableType Machine
}
# Overwrite M2_HOME to maven-latest
Install-ChocolateyEnvironmentVariable -VariableName "M2_HOME" -VariableValue $m2_home -VariableType Machine
# Add "%M2_HOME%\bin in %PATH% if it's not yet there
$alreadyInPath = IsM2HomeBinInPath($pathToAdd)
if ($alreadyInPath -eq $false) {
Install-ChocolateyPath -PathToInstall $pathToAdd -PathType 'Machine'
}
2024-05-18 09:50:36,525 2736 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\maven-snapshot\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2024-05-18 09:50:36,525 2736 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2024-05-18 09:50:37,354 2736 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2024-05-18 09:50:37,983 2736 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-05-18 09:50:37,983 2736 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-05-18 09:50:37,983 2736 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-05-18 09:50:37,983 2736 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-05-18 09:50:38,012 2736 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-05-18 09:50:38,012 2736 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-05-18 09:50:38,012 2736 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-05-18 09:50:38,012 2736 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-05-18 09:50:38,032 2736 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-05-18 09:50:38,032 2736 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-05-18 09:50:38,044 2736 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-05-18 09:50:38,044 2736 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-05-18 09:50:38,044 2736 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-05-18 09:50:38,044 2736 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-05-18 09:50:38,064 2736 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-05-18 09:50:38,064 2736 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-05-18 09:50:38,064 2736 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-05-18 09:50:38,077 2736 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-05-18 09:50:38,077 2736 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-05-18 09:50:38,077 2736 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-05-18 09:50:38,077 2736 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-05-18 09:50:38,094 2736 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-05-18 09:50:38,094 2736 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-05-18 09:50:38,108 2736 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-05-18 09:50:38,108 2736 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-05-18 09:50:38,123 2736 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-05-18 09:50:38,123 2736 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-05-18 09:50:38,140 2736 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-05-18 09:50:38,140 2736 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-05-18 09:50:38,154 2736 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-05-18 09:50:38,154 2736 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-05-18 09:50:38,170 2736 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-05-18 09:50:38,187 2736 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-05-18 09:50:38,187 2736 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-05-18 09:50:38,187 2736 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-05-18 09:50:38,202 2736 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-05-18 09:50:38,202 2736 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-05-18 09:50:38,202 2736 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-05-18 09:50:38,219 2736 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-05-18 09:50:38,219 2736 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-05-18 09:50:38,219 2736 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-05-18 09:50:38,233 2736 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-05-18 09:50:38,233 2736 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-05-18 09:50:38,233 2736 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-05-18 09:50:38,233 2736 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-05-18 09:50:38,250 2736 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-05-18 09:50:38,268 2736 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-05-18 09:50:38,268 2736 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-05-18 09:50:38,277 2736 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-05-18 09:50:38,277 2736 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-05-18 09:50:38,277 2736 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-05-18 09:50:38,338 2736 [DEBUG] - Loading community extensions
2024-05-18 09:50:38,371 2736 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2024-05-18 09:50:38,371 2736 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2024-05-18 09:50:38,549 2736 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-05-18 09:50:38,549 2736 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-05-18 09:50:38,560 2736 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-05-18 09:50:38,560 2736 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-05-18 09:50:38,560 2736 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-05-18 09:50:38,587 2736 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-05-18 09:50:38,587 2736 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-05-18 09:50:38,613 2736 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-05-18 09:50:38,621 2736 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-05-18 09:50:38,621 2736 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-05-18 09:50:38,621 2736 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-05-18 09:50:38,637 2736 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-05-18 09:50:38,701 2736 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-05-18 09:50:38,701 2736 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-05-18 09:50:38,718 2736 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-05-18 09:50:38,718 2736 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-05-18 09:50:38,734 2736 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-05-18 09:50:38,749 2736 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-05-18 09:50:38,749 2736 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-05-18 09:50:38,766 2736 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-05-18 09:50:38,778 2736 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-05-18 09:50:38,794 2736 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-05-18 09:50:38,844 2736 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-05-18 09:50:38,856 2736 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-05-18 09:50:38,873 2736 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-05-18 09:50:38,903 2736 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-05-18 09:50:38,903 2736 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-05-18 09:50:38,922 2736 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-05-18 09:50:38,938 2736 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-05-18 09:50:38,951 2736 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-05-18 09:50:38,966 2736 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-05-18 09:50:38,966 2736 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-05-18 09:50:38,981 2736 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-05-18 09:50:38,997 2736 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-05-18 09:50:39,015 2736 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-05-18 09:50:39,029 2736 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-05-18 09:50:39,029 2736 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-05-18 09:50:39,045 2736 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-05-18 09:50:39,045 2736 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-05-18 09:50:39,060 2736 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-05-18 09:50:39,080 2736 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-05-18 09:50:39,080 2736 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-05-18 09:50:39,091 2736 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-05-18 09:50:39,106 2736 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-05-18 09:50:39,106 2736 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-05-18 09:50:39,124 2736 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-05-18 09:50:39,124 2736 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-05-18 09:50:39,151 2736 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-05-18 09:50:39,151 2736 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-05-18 09:50:39,169 2736 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-05-18 09:50:39,169 2736 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-05-18 09:50:39,182 2736 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-05-18 09:50:39,182 2736 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-05-18 09:50:39,206 2736 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-05-18 09:50:39,216 2736 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-05-18 09:50:39,216 2736 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-05-18 09:50:39,233 2736 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-05-18 09:50:39,251 2736 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2024-05-18 09:50:39,263 2736 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2024-05-18 09:50:39,263 2736 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2024-05-18 09:50:39,263 2736 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2024-05-18 09:50:39,263 2736 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2024-05-18 09:50:39,284 2736 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2024-05-18 09:50:39,294 2736 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2024-05-18 09:50:39,294 2736 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2024-05-18 09:50:39,313 2736 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2024-05-18 09:50:39,328 2736 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2024-05-18 09:50:39,343 2736 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2024-05-18 09:50:39,356 2736 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2024-05-18 09:50:39,356 2736 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2024-05-18 09:50:39,356 2736 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2024-05-18 09:50:39,375 2736 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2024-05-18 09:50:39,388 2736 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2024-05-18 09:50:39,388 2736 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2024-05-18 09:50:39,403 2736 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2024-05-18 09:50:39,403 2736 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2024-05-18 09:50:39,403 2736 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2024-05-18 09:50:39,422 2736 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2024-05-18 09:50:39,422 2736 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2024-05-18 09:50:39,436 2736 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2024-05-18 09:50:39,452 2736 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2024-05-18 09:50:39,468 2736 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2024-05-18 09:50:39,468 2736 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2024-05-18 09:50:39,497 2736 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2024-05-18 09:50:39,497 2736 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2024-05-18 09:50:39,516 2736 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2024-05-18 09:50:39,529 2736 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2024-05-18 09:50:39,529 2736 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2024-05-18 09:50:39,548 2736 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2024-05-18 09:50:39,557 2736 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-05-18 09:50:39,557 2736 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2024-05-18 09:50:39,579 2736 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2024-05-18 09:50:39,589 2736 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2024-05-18 09:50:39,589 2736 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2024-05-18 09:50:39,606 2736 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-05-18 09:50:39,606 2736 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2024-05-18 09:50:39,621 2736 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-05-18 09:50:39,621 2736 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2024-05-18 09:50:39,643 2736 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2024-05-18 09:50:39,652 2736 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2024-05-18 09:50:39,652 2736 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2024-05-18 09:50:39,652 2736 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2024-05-18 09:50:39,682 2736 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2024-05-18 09:50:39,682 2736 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2024-05-18 09:50:39,682 2736 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2024-05-18 09:50:39,706 2736 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2024-05-18 09:50:39,715 2736 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2024-05-18 09:50:39,715 2736 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2024-05-18 09:50:39,735 2736 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2024-05-18 09:50:39,746 2736 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2024-05-18 09:50:40,090 2736 [DEBUG] - ---------------------------Script Execution---------------------------
2024-05-18 09:50:40,154 2736 [DEBUG] - Running 'ChocolateyScriptRunner' for maven-snapshot v20230608.134448.0 with packageScript 'C:\ProgramData\chocolatey\lib\maven-snapshot\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\maven-snapshot', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2024-05-18 09:50:40,345 2736 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\maven-snapshot\tools\chocolateyinstall.ps1'
2024-05-18 09:50:40,891 2736 [DEBUG] - Running Install-ChocolateyZipPackage -packageName 'Maven Snapshot' -url 'https://repository.apache.org/content/groups/snapshots/org/apache/maven/apache-maven/4.0.0-alpha-6-SNAPSHOT/apache-maven-4.0.0-alpha-6-20230608.134448-58-bin.zip' -checksum 'ff1322bf3e3efb355b6c499d00cd7c70f36f26ba92854f8683a19b1e493ea29b' -checksumType 'sha256' -unzipLocation 'C:\ProgramData\chocolatey\lib\maven-snapshot'
2024-05-18 09:50:41,167 2736 [DEBUG] - Running Get-ChocolateyWebFile -checksum 'ff1322bf3e3efb355b6c499d00cd7c70f36f26ba92854f8683a19b1e493ea29b' -checksumType 'sha256' -checksum64 '' -checksumType64 '' -options 'System.Collections.Hashtable' -getOriginalFileName 'True' -packageName 'Maven Snapshot' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\maven-snapshot\20230608.134448.0\Maven SnapshotInstall.zip' -url 'https://repository.apache.org/content/groups/snapshots/org/apache/maven/apache-maven/4.0.0-alpha-6-SNAPSHOT/apache-maven-4.0.0-alpha-6-20230608.134448-58-bin.zip' -url64bit ''
2024-05-18 09:50:41,275 2736 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2024-05-18 09:50:41,340 2736 [DEBUG] - CPU is 64 bit
2024-05-18 09:50:41,685 2736 [DEBUG] - Running Get-WebFileName -url 'https://repository.apache.org/content/groups/snapshots/org/apache/maven/apache-maven/4.0.0-alpha-6-SNAPSHOT/apache-maven-4.0.0-alpha-6-20230608.134448-58-bin.zip' -defaultName 'Maven SnapshotInstall.zip'
2024-05-18 09:50:44,215 2736 [DEBUG] - Url request/response failed - file name will be 'Maven SnapshotInstall.zip': Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
2024-05-18 09:50:44,262 2736 [DEBUG] - Running Get-WebHeaders -url 'https://repository.apache.org/content/groups/snapshots/org/apache/maven/apache-maven/4.0.0-alpha-6-SNAPSHOT/apache-maven-4.0.0-alpha-6-20230608.134448-58-bin.zip' -ErrorAction 'Stop'
2024-05-18 09:50:44,283 2736 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2024-05-18 09:50:44,283 2736 [DEBUG] - Request Headers:
2024-05-18 09:50:44,310 2736 [DEBUG] - 'Accept':'*/*'
2024-05-18 09:50:44,310 2736 [DEBUG] - 'User-Agent':'chocolatey command line'
2024-05-18 09:50:45,842 2736 [INFO ] - Attempt to get headers for https://repository.apache.org/content/groups/snapshots/org/apache/maven/apache-maven/4.0.0-alpha-6-SNAPSHOT/apache-maven-4.0.0-alpha-6-20230608.134448-58-bin.zip failed.
The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://repository.apache.org/content/groups/snapshots/org/apache/maven/apache-maven/4.0.0-alpha-6-SNAPSHOT/apache-maven-4.0.0-alpha-6-20230608.134448-58-bin.zip'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
2024-05-18 09:50:45,858 2736 [INFO ] - Downloading Maven Snapshot
from 'https://repository.apache.org/content/groups/snapshots/org/apache/maven/apache-maven/4.0.0-alpha-6-SNAPSHOT/apache-maven-4.0.0-alpha-6-20230608.134448-58-bin.zip'
2024-05-18 09:50:45,924 2736 [DEBUG] - Running Get-WebFile -url 'https://repository.apache.org/content/groups/snapshots/org/apache/maven/apache-maven/4.0.0-alpha-6-SNAPSHOT/apache-maven-4.0.0-alpha-6-20230608.134448-58-bin.zip' -fileName 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\maven-snapshot\20230608.134448.0\Maven SnapshotInstall.zip' -options 'System.Collections.Hashtable'
2024-05-18 09:50:45,936 2736 [DEBUG] - Setting request timeout to 30000
2024-05-18 09:50:45,936 2736 [DEBUG] - Setting read/write timeout to 2700000
2024-05-18 09:50:45,955 2736 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2024-05-18 09:50:48,542 2736 [ERROR] - ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://repository.apache.org/content/groups/snapshots/org/apache/maven/apache-maven/4.0.0-alpha-6-SNAPSHOT/apache-maven-4.0.0-alpha-6-20230608.134448-58-bin.zip'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
This package is likely not broken for licensed users - see https://docs.chocolatey.org/en-us/features/private-cdn.
at Get-WebFile, C:\ProgramData\chocolatey\helpers\functions\Get-WebFile.ps1: line 348
at Get-ChocolateyWebFile, C:\ProgramData\chocolatey\helpers\functions\Get-ChocolateyWebFile.ps1: line 372
at Install-ChocolateyZipPackage, C:\ProgramData\chocolatey\helpers\functions\Install-ChocolateyZipPackage.ps1: line 228
at <ScriptBlock>, C:\ProgramData\chocolatey\lib\maven-snapshot\tools\chocolateyinstall.ps1: line 27
at <ScriptBlock>, C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1: line 63
at <ScriptBlock>, <No file>: line 1
2024-05-18 09:50:48,542 2736 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\maven-snapshot\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '404'.
2024-05-18 09:50:48,576 2736 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2024-05-18 09:50:48,751 2736 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2024-05-18 09:50:49,215 2736 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\maven-snapshot'
2024-05-18 09:50:49,236 2736 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\maven-snapshot\maven-snapshot.nupkg'
with checksum '2C25350B9A02AADE95426FCBB75C844D'
2024-05-18 09:50:49,236 2736 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\maven-snapshot\maven-snapshot.nuspec'
with checksum '46481E1E04B0E50CC1195125F53F49DE'
2024-05-18 09:50:49,248 2736 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\maven-snapshot\tools\chocolateyBeforeModify.ps1'
with checksum 'FEE3014D517D76D87772A7E3AC85F9A0'
2024-05-18 09:50:49,248 2736 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\maven-snapshot\tools\chocolateyinstall.ps1'
with checksum '3845DCC6A64575290BABE082B938F360'
2024-05-18 09:50:49,248 2736 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\maven-snapshot\tools\chocolateyUninstall.ps1'
with checksum '25EE1558F6C97DF29C36EAB8A44EC811'
2024-05-18 09:50:49,323 2736 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\maven-snapshot.20230608.134448.0".
2024-05-18 09:50:49,372 2736 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\maven-snapshot.20230608.134448.0\.files'
2024-05-18 09:50:49,394 2736 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\maven-snapshot.20230608.134448.0\.arguments".
2024-05-18 09:50:49,401 2736 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\maven-snapshot.20230608.134448.0\.extra".
2024-05-18 09:50:49,401 2736 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\maven-snapshot.20230608.134448.0\.version".
2024-05-18 09:50:49,401 2736 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\maven-snapshot.20230608.134448.0\.sxs".
2024-05-18 09:50:49,432 2736 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\maven-snapshot.20230608.134448.0\.pin".
2024-05-18 09:50:49,432 2736 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2024-05-18 09:50:49,456 2736 [ERROR] - The install of maven-snapshot was NOT successful.
2024-05-18 09:50:49,463 2736 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\maven-snapshot\tools\chocolateyinstall.ps1'.
See log for details.
2024-05-18 09:50:49,483 2736 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad".
2024-05-18 09:50:49,501 2736 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad\maven-snapshot".
2024-05-18 09:50:49,513 2736 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\maven-snapshot to C:\ProgramData\chocolatey\lib-bad\maven-snapshot\20230608.134448.0
2024-05-18 09:50:49,513 2736 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\maven-snapshot'
to 'C:\ProgramData\chocolatey\lib-bad\maven-snapshot\20230608.134448.0'
2024-05-18 09:50:51,589 2736 [WARN ] -
Chocolatey installed 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2024-05-18 09:50:51,589 2736 [INFO ] -
2024-05-18 09:50:51,609 2736 [ERROR] - Failures
2024-05-18 09:50:51,609 2736 [ERROR] - - maven-snapshot (exited 404) - Error while running 'C:\ProgramData\chocolatey\lib\maven-snapshot\tools\chocolateyinstall.ps1'.
See log for details.
2024-05-18 09:50:51,637 2736 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2024-05-18 09:50:51,654 2736 [DEBUG] - Exiting with 404
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment