Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
moqsien committed Apr 9, 2024
1 parent 9f89672 commit c3f97e4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkgs/register/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,14 @@ var MavenInstaller = &installer.Installer{
}
return installer.DefaultDecorator(dUrl, ft)
},
EnvGetter: func(appName, version string) []installer.Env {
return []installer.Env{
{
Name: "MAVEN_HOME",
Value: filepath.Join(conf.GetVMVersionsDir(appName), appName),
},
}
},
StoreMultiVersions: true,
HomePage: "https://maven.apache.org/",
}
Expand Down

0 comments on commit c3f97e4

Please sign in to comment.