1 | initial version |
To include the Renovate Bot package rule in Maven for making minor updates for the jre11 version, follow these steps:
<dependency>
<groupId>org.renovatebot</groupId>
<artifactId>renovate-maven-plugin</artifactId>
<version>21.8.0</version>
</dependency>
{
"extends": [
"config:base"
],
"platform": "github",
"depTypes": [
"maven"
],
"rangeStrategy": "auto",
"onboarding": false,
"maven": {
"enabled": true
},
"packageRules": [
{
"matchDepTypes": ["direct"],
"matchUpdateTypes": ["minor"],
"groupName": "minor-jre11-updates",
"excludeVersions": ["[15,16)"],
"packagePatterns": ["foo:*", "bar:*"]
}
]
}
renovate:renovate
command to trigger Renovate Bot to scan your project, analyze the package rules, and generate pull requests for any available updates.Note: For security reasons, it is recommended to run Renovate Bot on a forked repository rather than directly on your main project repository.