diff --git a/lib/modules/datasource/maven/readme.md b/lib/modules/datasource/maven/readme.md new file mode 100644 index 0000000000..1db0824ee0 --- /dev/null +++ b/lib/modules/datasource/maven/readme.md @@ -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:git:https://github.com/path_to_repository + +``` + +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.