mirror of
https://github.com/renovatebot/renovate.git
synced 2025-05-13 08:01:49 +00:00

Adds support for `latest` and `release` tags in Maven datasource. This means that Renovate will no longer upgrade past the `latest` version in Maven unless `respectLatest` is explicitly configured to `false`. BREAKING CHANGE: Renovate will now enforce `latest` version for Maven upgrades
34 lines
1.2 KiB
Markdown
34 lines
1.2 KiB
Markdown
#### 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](https://maven.apache.org/scm/git.html) on their `pom.xml` file.
|
|
|
|
For example:
|
|
|
|
```xml
|
|
<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.
|
|
|
|
<!-- prettier-ignore -->
|
|
!!! 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:
|
|
|
|
```xml
|
|
<url>https://project.example.com</url>
|
|
```
|
|
|
|
#### latest and release tags
|
|
|
|
When `latest` or `release` values are present in a package's `maven-metadata.xml`, Renovate will map these to its `tags` concept.
|
|
This enables the use of Renovate's `followTag` feature.
|