Skip to content

Commit

Permalink
Customize renovate.json
Browse files Browse the repository at this point in the history
  • Loading branch information
jbaiter authored and stefan-it committed Sep 30, 2024
1 parent e4d6c79 commit 432169b
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 9 deletions.
4 changes: 1 addition & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
<version.slf4j>2.0.12</version.slf4j>
<version.solr>9.7.0</version.solr>
<version.lucene>9.11.1</version.lucene>
<!-- DO NOT UPDATE THIS, this is the latest version that works with Java 8 -->
<version.fmt-maven-plugin>2.9.1</version.fmt-maven-plugin>
<version.maven-gpg-plugin>3.2.0</version.maven-gpg-plugin>
<version.maven-javadoc-plugin>3.8.0</version.maven-javadoc-plugin>
Expand Down Expand Up @@ -97,7 +96,7 @@
<dependency>
<groupId>com.fasterxml.woodstox</groupId>
<artifactId>woodstox-core</artifactId>
<version>6.6.0</version>
<version>6.7.0</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
Expand Down Expand Up @@ -209,7 +208,6 @@
<include>de.digitalcollections:solr-ocrhighlighting</include>
<include>org.apache.commons:commons-text</include>
<include>commons-io:commons-io</include>
<include>com.fasterxml.woodstox:woodstox-core</include>
<include>com.google.guava:guava</include>
</includes>
</artifactSet>
Expand Down
6 changes: 0 additions & 6 deletions renovate.json

This file was deleted.

44 changes: 44 additions & 0 deletions renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"ignorePaths": ["example/frontend/**", "example/iiif-prezi/**"],
"groupName": "all dependencies",
"groupSlug": "all",
"lockFileMaintenance": {
"enabled": false
},
"packageRules": [
{
"groupName": "all dependencies",
"groupSlug": "all",
"matchPackageNames": [
"*"
]
},
{
// Solr is checked for daily, we want to track upstream versions very closely
"matchPackagePrefixes": ["org.apache.solr"],
"extends": ["schedule:daily"]
},
{
// Our Lucene version should track the one used by the currently used solr-core
// version. Unfortunately this can't be done automatically by renovate, so we
// have to exclude these dependencies from the renovate process and maintain them
// manually to be in sync with Solr
"matchPackagePrefixes": ["org.apache.lucene"],
"enabled": false
},
{
// Same thing as for Lucene, woodstox version should track the one used by solr
// and needs to be manually kept in sync
"matchPackagePrefixes": ["com.fasterxml.woodstox"],
"enabled": false
}
],
"schedule": [
"every weekend"
],
"separateMajorMinor": false
}

0 comments on commit 432169b

Please sign in to comment.