mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-14 16:46:25 +00:00
docs: Maven - Ensure changelog is fetchable (#16389)
This commit is contained in:
parent
d19d645b6c
commit
426d3f34cf
1 changed files with 18 additions and 0 deletions
18
lib/modules/datasource/maven/readme.md
Normal file
18
lib/modules/datasource/maven/readme.md
Normal file
|
@ -0,0 +1,18 @@
|
|||
### 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.
|
Loading…
Reference in a new issue