Skip to content

Commit

Permalink
Merge pull request #9 from joewitt/master
Browse files Browse the repository at this point in the history
Ensures the proper dynamically constructed Apache mirror download is …
  • Loading branch information
stCarolas authored Apr 10, 2021
2 parents d55bf2a + 25f7163 commit 3c9ddfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/installer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export async function getMaven(version: string) {
async function downloadMaven(version: string): Promise<string> {
const toolDirectoryName = `apache-maven-${version}`
const downloadUrl =
`https://archive.apache.org/dist/maven/maven-3/${version}/binaries/${toolDirectoryName}-bin.tar.gz`
`https://apache.org/dyn/closer.cgi?filename=maven/maven-3/${version}/binaries/${toolDirectoryName}-bin.tar.gz&action=download`
console.log(`downloading ${downloadUrl}`)

try {
Expand Down

0 comments on commit 3c9ddfb

Please sign in to comment.