Update <ruleSet> for ee9

This commit is contained in:
Joakim Erdfelt 2023-03-09 09:56:42 -06:00
parent 20404f760c
commit 1a3f8becd0
No known key found for this signature in database
GPG Key ID: 2D0E1FB8FE4B68B4
1 changed files with 164 additions and 2 deletions

View File

@ -470,7 +470,7 @@
</ignoreVersions>
</rule>
<rule>
<!-- ignore jetty core level version changes -->
<!-- ignore jetty core/root deps -->
<groupId>org.eclipse.jetty</groupId>
<ignoreVersions>
<ignoreVersion>
@ -480,7 +480,7 @@
</ignoreVersions>
</rule>
<rule>
<!-- ignore jetty nested level version changes -->
<!-- ignore all jetty nested deps -->
<groupId>org.eclipse.jetty.*</groupId>
<ignoreVersions>
<ignoreVersion>
@ -489,6 +489,168 @@
</ignoreVersion>
</ignoreVersions>
</rule>
<rule>
<!-- for ee9, we need to stay on 2.0.x of activation spec
ee10 starts with version 2.1.x -->
<groupId>jakarta.activation</groupId>
<ignoreVersions>
<ignoreVersion>
<type>regex</type>
<version>^(?!2.0.).+</version>
</ignoreVersion>
</ignoreVersions>
</rule>
<rule>
<!-- for ee9, we need to stay on 2.0.x of annotation spec
ee10 starts with version 2.1.x -->
<groupId>jakarta.annotation</groupId>
<ignoreVersions>
<ignoreVersion>
<type>regex</type>
<version>^(?!2.0.).+</version>
</ignoreVersion>
</ignoreVersions>
</rule>
<rule>
<!-- for ee9, we need to stay on 2.x of authentication spec
ee10 starts with version 3.x -->
<groupId>jakarta.authentication</groupId>
<ignoreVersions>
<ignoreVersion>
<type>regex</type>
<version>^(?!2.).+</version>
</ignoreVersion>
</ignoreVersions>
</rule>
<rule>
<!-- for ee9, we need to stay on 4.x of el spec
ee10 starts with version 5.x -->
<groupId>jakarta.el</groupId>
<ignoreVersions>
<ignoreVersion>
<type>regex</type>
<version>^(?!4.).+</version>
</ignoreVersion>
</ignoreVersions>
</rule>
<rule>
<!-- for ee9, we need to stay on 3.x of cdi spec
ee10 starts with version 4.x -->
<groupId>jakarta.enterprise</groupId>
<artifactId>jakarta.enterprise.cdi-api</artifactId>
<ignoreVersions>
<ignoreVersion>
<type>regex</type>
<version>^(?!3.).+</version>
</ignoreVersion>
</ignoreVersions>
</rule>
<rule>
<!-- for ee9, we need to stay on 2.0.x of interceptor spec
ee10 starts with version 2.1.x -->
<groupId>jakarta.interceptor</groupId>
<artifactId>jakarta.interceptor-api</artifactId>
<ignoreVersions>
<ignoreVersion>
<type>regex</type>
<version>^(?!2.0.).+</version>
</ignoreVersion>
</ignoreVersions>
</rule>
<rule>
<!-- for ee9, we need to stay on 2.0.x of interceptor spec
ee10 starts with version 2.1.x -->
<groupId>jakarta.mail</groupId>
<artifactId>jakarta.mail-api</artifactId>
<ignoreVersions>
<ignoreVersion>
<type>regex</type>
<version>^(?!2.0.).+</version>
</ignoreVersion>
</ignoreVersions>
</rule>
<rule>
<!-- for ee9, we need to stay on 5.x of servlet spec
ee10 starts with version 6.x -->
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
<ignoreVersions>
<ignoreVersion>
<type>regex</type>
<version>^(?!5.).+</version>
</ignoreVersion>
</ignoreVersions>
</rule>
<rule>
<!-- for ee9, we need to stay on 3.0.x of jsp spec
ee10 starts with version 3.1.x -->
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet.jsp-api</artifactId>
<ignoreVersions>
<ignoreVersion>
<type>regex</type>
<version>^(?!3.0.).+</version>
</ignoreVersion>
</ignoreVersions>
</rule>
<rule>
<!-- for ee9, we need to stay on 2.x of jsp-jstl spec
ee10 starts with version 3.x -->
<groupId>jakarta.servlet.jsp.jstl</groupId>
<artifactId>jakarta.servlet.jsp.jstl-api</artifactId>
<ignoreVersions>
<ignoreVersion>
<type>regex</type>
<version>^(?!2.).+</version>
</ignoreVersion>
</ignoreVersions>
</rule>
<rule>
<!-- for ee9, we need to stay on 2.x of jsp-jstl impl (glassfish)
ee10 starts with version 3.x -->
<groupId>org.glassfish.web</groupId>
<artifactId>jakarta.servlet.jsp.jstl</artifactId>
<ignoreVersions>
<ignoreVersion>
<type>regex</type>
<version>^(?!2.).+</version>
</ignoreVersion>
</ignoreVersions>
</rule>
<rule>
<!-- for ee9, we need to stay on 10.0.x of mortbay apache-jsp impl
ee10 starts with version 10.1.x -->
<groupId>org.mortbay.jasper</groupId>
<artifactId>apache-jsp</artifactId>
<ignoreVersions>
<ignoreVersion>
<type>regex</type>
<version>^(?!10.0.).+</version>
</ignoreVersion>
</ignoreVersions>
</rule>
<rule>
<!-- for ee9, we need to stay on 10.0.x of mortbay apache-el impl
ee10 starts with version 10.1.x -->
<groupId>org.mortbay.jasper</groupId>
<artifactId>apache-el</artifactId>
<ignoreVersions>
<ignoreVersion>
<type>regex</type>
<version>^(?!10.0.).+</version>
</ignoreVersion>
</ignoreVersions>
</rule>
<rule>
<!-- ignore unstable mina releases -->
<groupId>org.apache.mina</groupId>
<ignoreVersions>
<ignoreVersion>
<type>regex</type>
<version>.+-M[0-9]+$</version>
</ignoreVersion>
</ignoreVersions>
</rule>
</rules>
</ruleSet>
</configuration>