Skip to content

feat(manager): add Apache Ant manager with basic inline version extraction - #42173

Merged
viceice merged 11 commits into
renovatebot:mainfrom
RahulGautamSingh:feat/42076-ant-manager-basic
Apr 7, 2026
Merged

feat(manager): add Apache Ant manager with basic inline version extraction#42173
viceice merged 11 commits into
renovatebot:mainfrom
RahulGautamSingh:feat/42076-ant-manager-basic

Conversation

@RahulGautamSingh

@RahulGautamSingh RahulGautamSingh commented Mar 27, 2026

Copy link
Copy Markdown
Collaborator

Changes

  • Add new ⁠ ant ⁠ package manager that extracts Maven dependencies from Ant ⁠ build.xml ⁠ files
  • Support inline ⁠ version= ⁠ attributes on ⁠  ⁠ elements inside ⁠ artifact:dependencies ⁠ blocks
  • Support ⁠ scope ⁠ attribute mapping to ⁠ depType ⁠ (defaults to ⁠ compile ⁠)
  • Add XML version updater with single/double quote support
  • Register manager in ⁠ api.ts ⁠ with ⁠ build.xml ⁠ file matching

Context

Please select one of the following:

AI assistance disclosure

Did you use AI tools to create any part of this pull request?

Please select one option and, if yes, briefly describe how AI was used (e.g., code, tests, docs) and which tool(s) you used.

  • No — I did not use AI for this contribution.
  • Yes — minimal assistance (e.g., IDE autocomplete, small code completions, grammar fixes).
  • Yes — substantive assistance (AI-generated non‑trivial portions of code, tests, and documentation).
  • Yes — other (please describe):

Documentation (please check one with an [x])

  • I have updated the documentation, or
  • No documentation update is required

How I've tested my work (please select one)

I have verified these changes via:

  • Code inspection only, or
  • Newly added/modified unit tests, or
  • No unit tests, but ran on a real repository, or
  • Both unit tests + ran on a real repository

Public repository: https://github.com/RahulGautamSingh/ant-basic

…ction

Add new ant package manager that extracts Maven dependencies from
Ant build.xml files using the maven-resolver-ant-tasks library.
Supports inline version attributes on dependency elements.
@RahulGautamSingh
RahulGautamSingh marked this pull request as ready for review March 27, 2026 02:04
@RahulGautamSingh
RahulGautamSingh marked this pull request as draft March 27, 2026 05:26
@RahulGautamSingh
RahulGautamSingh marked this pull request as ready for review April 6, 2026 04:41
Comment thread lib/modules/manager/ant/extract.spec.ts Outdated
Comment thread lib/modules/manager/ant/extract.spec.ts Outdated
Comment thread lib/modules/manager/ant/extract.ts Outdated
Comment thread lib/modules/manager/ant/update.ts Outdated
Comment thread lib/modules/manager/ant/update.ts Outdated
Comment thread lib/modules/manager/ant/extract.ts
Comment thread lib/modules/manager/ant/index.ts Outdated
Comment thread lib/modules/manager/ant/index.ts Outdated
@RahulGautamSingh
RahulGautamSingh requested a review from viceice April 7, 2026 09:03
@viceice
viceice added this pull request to the merge queue Apr 7, 2026
Merged via the queue into renovatebot:main with commit 373f42e Apr 7, 2026

@jamietanna jamietanna left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions

github-actions Bot commented Apr 7, 2026

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 43.105.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators May 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

manager(ant): Basic inline version extraction

3 participants