Skip to content

Commit

Permalink
feat(manager/asdf): support maven (#26802)
Browse files Browse the repository at this point in the history
  • Loading branch information
MPV committed Jan 22, 2024
1 parent 24911c1 commit 854d8cb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/modules/manager/asdf/extract.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ kotlin 1.7.20
kubectl 1.26.3
kustomize 4.5.7
lua 5.4.4
maven 3.9.6
nim 1.6.8
nodejs 18.12.0
ocaml 4.14.0
Expand Down Expand Up @@ -370,6 +371,12 @@ dummy 1.2.3
depName: 'lua',
extractVersion: '^v(?<version>\\S+)',
},
{
currentValue: '3.9.6',
datasource: 'github-releases',
packageName: 'apache/maven',
depName: 'maven',
},
{
currentValue: '1.6.8',
datasource: 'github-tags',
Expand Down
7 changes: 7 additions & 0 deletions lib/modules/manager/asdf/upgradeable-tooling.ts
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,13 @@ export const upgradeableTooling: Record<string, ToolingDefinition> = {
extractVersion: '^v(?<version>\\S+)',
},
},
maven: {
asdfPluginUrl: 'https://github.com/halcyon/asdf-maven',
config: {
datasource: GithubReleasesDatasource.id,
packageName: 'apache/maven',
},
},
nim: {
asdfPluginUrl: 'https://github.com/asdf-community/asdf-nim',
config: {
Expand Down

0 comments on commit 854d8cb

Please sign in to comment.