Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated mvnd to 1.0.2 #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mvndaemon/mvndaemon.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>mvndaemon</id>
<version>1.0.1</version>
<version>1.0.2</version>
<packageSourceUrl>https://github.com/ajshastri/chocolatey-packages/tree/master/mvndaemon</packageSourceUrl>
<title>Maven Daemon</title>
<authors>Apache Software Foundation</authors>
Expand Down
2 changes: 1 addition & 1 deletion mvndaemon/tools/chocolateyBeforeModify.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$programFiles = (${env:ProgramFiles}, ${env:ProgramFiles(x86)} -ne $null)[0]
$installDir = "$programFiles\mvndaemon"

$pathToUnInstall = "$installDir\maven-mvnd-1.0.1-windows-amd64\bin"
$pathToUnInstall = "$installDir\maven-mvnd-1.0.2-windows-amd64\bin"

$statementTerminator = ";"

Expand Down
6 changes: 3 additions & 3 deletions mvndaemon/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ $installDir = "$programFiles\mvndaemon"
$packageArgs = @{
PackageName = $env:ChocolateyPackageName
UnzipLocation = $targetDir = $installDir
Url64 = 'https://github.com/apache/maven-mvnd/releases/download/1.0.1/maven-mvnd-1.0.1-windows-amd64.zip'
Checksum64 = '5a4a05fa6394b6fca0f88e18aa87682e64ce41923b057ca611ea25eb4405d34c'
Url64 = 'https://github.com/apache/maven-mvnd/releases/download/1.0.2/maven-mvnd-1.0.2-windows-amd64.zip'
Checksum64 = 'c48cdbee495b6d93a171648801a4485bef10f1f0d0ee3eb64a5ee67f8ae77461'
ChecksumType64 = 'sha256'
}

Install-ChocolateyZipPackage @packageArgs
Install-ChocolateyPath $targetDir\maven-mvnd-1.0.1-windows-amd64\bin -PathType 'Machine'
Install-ChocolateyPath $targetDir\maven-mvnd-1.0.2-windows-amd64\bin -PathType 'Machine'
2 changes: 1 addition & 1 deletion mvndaemon/tools/chocolateyuninstall.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$programFiles = (${env:ProgramFiles}, ${env:ProgramFiles(x86)} -ne $null)[0]
$installDir = "$programFiles\mvndaemon"

rm -r "$installDir\maven-mvnd-1.0.1-windows-amd64"
rm -r "$installDir\maven-mvnd-1.0.2-windows-amd64"