Commit Graph

6 Commits

Author SHA1 Message Date
RahulGautamSingh 28dd233098 fix(manager/ant): skip property/import files with placeholders in path or outside of baseDir (#43323)
* add tests to vaidate error

* skip files with placeholder path

* handle outside dir paths + rafactor to be more readable
2026-05-15 07:03:15 +00:00
RahulGautamSingh 28ab04b43d feat(manager/ant): support custom registryUrls (#42641)
* feat(manager/ant): add registry URL discovery from settingsFile and remoteRepository

Read Maven registry URLs from settingsFile attribute on dependency
blocks (parsed via Maven's extractRegistries) and from inline
<remoteRepository url="..." /> elements. Registries are merged,
deduplicated, and scoped to their dependency block.

* update java docs

* fix coverage

* apply suggestions

* fix ci issues
2026-04-15 12:54:02 +00:00
RahulGautamSingh 15c8ab5385 feat(manager/ant): add coords= attribute syntax support (#42635)
* feat(manager/ant): add coords= attribute syntax support

Support Maven coords attribute format (group:artifact:version and
group:artifact:version:scope) as an alternative to separate
groupId/artifactId/version attributes.

* add trace logs

* fix coverage
2026-04-15 09:23:47 +00:00
RahulGautamSingh 76dcc66816 feat(manager/ant): add <import> file traversal (#42631)
Support <import file="..."/> elements in Ant build files to follow
cross-file dependencies. Properties defined before the import are
available in the imported file. Cycle detection via visited-file
tracking prevents infinite loops.
2026-04-14 17:04:59 +00:00
RahulGautamSingh ef8e6c874b feat(manager/ant): add property resolution and .properties file support (#42175)
* new changes

* use updateDependency

* fix coverage

* apply suggestions

* apply suggestions

* add comment

* Update lib/modules/manager/ant/update.ts

Co-authored-by: Jamie Tanna <github@jamietanna.co.uk>

* apply suggestions zharinov

* fix coverage

* fix coverage

* escape attrName

---------

Co-authored-by: Jamie Tanna <github@jamietanna.co.uk>
2026-04-14 15:04:34 +00:00
RahulGautamSingh 373f42e6a1 feat(manager): add Apache Ant manager with basic inline version extraction (#42173)
* feat(manager): add Apache Ant manager with basic inline version extraction

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.

* fix test

* reuse fn

* fix lint

* fix coverage

* apply suggestions

* simplify tests

* use extractPackageFile and extractPackageFiles

* coverage fix

* apply sugestions
2026-04-07 09:06:55 +00:00