ARTEMIS-4764 increase automation for dependecy updates

This commit is contained in:
Justin Bertram 2024-05-07 14:36:32 -05:00
parent 728762ad43
commit ea33370067
2 changed files with 65 additions and 134 deletions

65
.github/dependabot.yml vendored Normal file
View File

@ -0,0 +1,65 @@
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
version: 2
updates:
- package-ecosystem: "maven"
directory: "/"
schedule:
interval: "daily"
ignore:
# Ignore all these until we move to JDK >= 17
- dependency-name: 'org.apache.derby:*'
versions: '>= 10.16'
# Ignore all these until we move to Jakarta
- dependency-name: 'org.springframework:*'
versions: '>= 6'
- dependency-name: 'jakarta.annotation:jakarta.annotation-api'
versions: '>= 2'
- dependency-name: 'jakarta.enterprise:jakarta.enterprise.cdi-api'
versions: '>= 3'
- dependency-name: 'jakarta.transaction:jakarta.transaction-api'
versions: '>= 2'
- dependency-name: 'jakarta.json:jakarta.json-api'
versions: '>= 2'
- dependency-name: 'jakarta.jms:jakarta.jms-api'
versions: '>= 3'
- dependency-name: 'jakarta.inject:jakarta.inject-api'
versions: '>= 2'
- dependency-name: 'jakarta.ejb:jakarta.ejb-api'
versions: '>= 4'
- dependency-name: 'jakarta.xml.bind:jakarta.xml.bind-api'
versions: '>= 3'
- dependency-name: 'jakarta.activation:jakarta.activation-api'
versions: '>= 2'
- dependency-name: 'org.apache.openwebbeans:*'
versions: '>= 4'
- dependency-name: 'org.apache.openwebbeans-arquillian:owb-arquillian-standalone'
versions: '>= 4'
- dependency-name: 'org.jboss.arquillian.container:arquillian-weld-embedded'
versions: '>= 3'
- dependency-name: 'org.apache.johnzon:johnzon-core'
versions: '>= 2'
- dependency-name: 'org.apache.qpid:qpid-jms-client'
versions: '>= 2'
- dependency-name: 'org.apache.activemq:activemq-client'
versions: '>= 6'
- dependency-name: 'org.eclipse.jetty:*'
versions: '>= 11'
open-pull-requests-limit: 10
commit-message:
# This prefix is added to remind committers to create a Jira for this dependency upgrade and update the branch with the actual Jira ID
prefix: "ARTEMIS-X "

134
pom.xml
View File

@ -1125,140 +1125,6 @@
<artifactId>jib-maven-plugin</artifactId>
<version>${jib.maven.plugin.version}</version>
</plugin>
<plugin>
<!-- run using "mvn versions:display-dependency-updates" -->
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>${versions.maven.plugin.version}</version>
<configuration>
<ruleSet>
<ignoreVersions>
<!-- ignore release candidates, alphas, betas, milestones, etc. -->
<ignoreVersion>
<type>regex</type>
<version>.*-[Rr][Cc]\d$</version>
</ignoreVersion>
<ignoreVersion>
<type>regex</type>
<version>.*.[Aa]lpha\d*$</version>
</ignoreVersion>
<ignoreVersion>
<type>regex</type>
<version>.*-beta\d*$</version>
</ignoreVersion>
<ignoreVersion>
<type>regex</type>
<version>.*[-\.]M\d$</version>
</ignoreVersion>
<ignoreVersion>
<type>regex</type>
<version>.*[-\.]MR$</version>
</ignoreVersion>
<!-- there's some really old Apache deps with weird versions numbers that we should ignore -->
<ignoreVersion>
<type>regex</type>
<version>20040.*</version>
</ignoreVersion>
<ignoreVersion>
<type>regex</type>
<version>2003[01].*</version>
</ignoreVersion>
</ignoreVersions>
<rules>
<!-- ignore Jetty 11 & 12 until we move to Jakarta -->
<rule>
<groupId>org.eclipse.jetty</groupId>
<comparisonMethod>maven</comparisonMethod>
<ignoreVersions>
<ignoreVersion>
<type>regex</type>
<version>1[12]\..*</version>
</ignoreVersion>
</ignoreVersions>
</rule>
<!-- ignore ActiveMQ Classic 6.x until we move to Jakarta -->
<rule>
<groupId>org.apache.activemq</groupId>
<comparisonMethod>maven</comparisonMethod>
<ignoreVersions>
<ignoreVersion>
<type>regex</type>
<version>6\..*</version>
</ignoreVersion>
</ignoreVersions>
</rule>
<!-- ignore Apache Qpid 2.x until we move to Jakarta -->
<rule>
<groupId>org.apache.qpid</groupId>
<comparisonMethod>maven</comparisonMethod>
<ignoreVersions>
<ignoreVersion>
<type>regex</type>
<version>2\..*</version>
</ignoreVersion>
</ignoreVersions>
</rule>
<!-- ignore Apache Johnzon 2.x until we move to Jakarta -->
<rule>
<groupId>org.apache.johnzon</groupId>
<comparisonMethod>maven</comparisonMethod>
<ignoreVersions>
<ignoreVersion>
<type>regex</type>
<version>2\..*</version>
</ignoreVersion>
</ignoreVersions>
</rule>
<!-- ignore Spring 6 until we move to Jakarta -->
<rule>
<groupId>org.springframework</groupId>
<comparisonMethod>maven</comparisonMethod>
<ignoreVersions>
<ignoreVersion>
<type>regex</type>
<version>6\..*</version>
</ignoreVersion>
</ignoreVersions>
</rule>
<!-- ignore Derby >= 10.16 until we move to JDK 17 -->
<rule>
<groupId>org.apache.derby</groupId>
<comparisonMethod>maven</comparisonMethod>
<ignoreVersions>
<ignoreVersion>
<type>regex</type>
<version>10.1[67]\..*</version>
</ignoreVersion>
</ignoreVersions>
</rule>
<!-- ignore Arquillian Weld Embedded >= 3.x until we move to Jakarta -->
<rule>
<groupId>org.jboss.arquillian.container</groupId>
<artifactId>arquillian-weld-embedded</artifactId>
<comparisonMethod>maven</comparisonMethod>
<ignoreVersions>
<ignoreVersion>
<type>regex</type>
<version>[34]\..*</version>
</ignoreVersion>
</ignoreVersions>
</rule>
<!-- ignore OpenWebBeans 4.x until we move to Jakarta -->
<rule>
<groupId>org.apache.openwebbeans</groupId>
<comparisonMethod>maven</comparisonMethod>
<ignoreVersions>
<ignoreVersion>
<type>regex</type>
<version>[4]\..*</version>
</ignoreVersion>
</ignoreVersions>
</rule>
</rules>
</ruleSet>
</configuration>
</plugin>
</plugins>
</build>