renovate/lib/modules/datasource/maven
Sergei Zharinov 606ab430d1
refactor(maven): Unified result type for http fetch (#32813)
2024-12-09 18:58:07 +00:00
..
__fixtures__ feat(maven): Remove unnecessary HTML page fetches (#32662) 2024-11-28 10:08:55 +00:00
__snapshots__ feat(maven): Use release post-fetch processing (#31261) 2024-09-26 13:20:54 +00:00
common.ts refactor: lib/modules (#14488) 2022-03-04 09:04:02 +01:00
index.spec.ts feat(maven): Remove unnecessary HTML page fetches (#32662) 2024-11-28 10:08:55 +00:00
index.ts refactor(maven): Simplify metadata representation (#32786) 2024-11-28 20:09:00 +00:00
readme.md chore(docs/maven): document how to specify project homepage in pom.xml (#22889) 2023-06-20 09:40:21 +00:00
s3.spec.ts refactor(maven): Unified result type for s3 fetch (#32814) 2024-12-08 21:44:07 +00:00
types.ts refactor(maven): Unified result type for s3 fetch (#32814) 2024-12-08 21:44:07 +00:00
util.spec.ts refactor(maven): Unified result type for http fetch (#32813) 2024-12-09 18:58:07 +00:00
util.ts refactor(maven): Unified result type for http fetch (#32813) 2024-12-09 18:58:07 +00:00

readme.md

Making your changelogs fetchable

In case you are publishing artifacts and you want to ensure that your changelogs are fetchable by Renovate, you need to configure the scm section on their pom.xml file.

For example:

<scm>
    <url>scm:git:https://github.com/path_to_repository</url>
</scm>

This is what allows Renovate to determine the sourceUrl, that it then uses to fetch the changelogs.

!!! note This also works for private repositories. It can leverage the same token that you had to configure in order to be able to reach the private Artifactory.

Specifying your project homepage

When opening a Pull Request Renovate uses the top level url property to determine the homepage of your project and shows it inside the Pull Request. To customize you can set it inside your pom.xml.

For example:

<url>https://project.example.com</url>