|
1 | 1 | {
|
2 | 2 | "extends": [
|
3 |
| - "config:base", |
| 3 | + "config:recommended", |
4 | 4 | ":semanticCommits",
|
5 | 5 | ":semanticCommitTypeAll(chore)"
|
6 | 6 | ],
|
|
12 | 12 | "packageRules": [
|
13 | 13 | {
|
14 | 14 | "description": "Disable special versions",
|
15 |
| - "matchPackagePatterns": ["*"], |
16 |
| - "allowedVersions": "!/^(?i).*[-_\\.](Alpha|Beta|RC|M|EA|Snap|snapshot|jboss|atlassian)[-_\\.]?[0-9]?.*$/" |
| 15 | + "allowedVersions": "!/^(?i).*[-_\\.](Alpha|Beta|RC|M|EA|Snap|snapshot|jboss|atlassian)[-_\\.]?[0-9]?.*$/", |
| 16 | + "matchPackageNames": [ |
| 17 | + "*" |
| 18 | + ] |
17 | 19 | },
|
18 | 20 | {
|
19 | 21 | "description": "Disable major updates for slf4j 1.x (Needed for backwards compatibility testing)",
|
20 |
| - "matchPackagePrefixes": ["org.slf4j"], |
21 | 22 | "matchCurrentVersion": "[1.0.0,2.0.0)",
|
22 |
| - "matchUpdateTypes": ["major"], |
23 |
| - "enabled": false |
| 23 | + "matchUpdateTypes": [ |
| 24 | + "major" |
| 25 | + ], |
| 26 | + "enabled": false, |
| 27 | + "matchPackageNames": [ |
| 28 | + "org.slf4j{/,}**" |
| 29 | + ] |
24 | 30 | },
|
25 | 31 | {
|
26 | 32 | "description": "Disable major updates for kryo 4.x (Needed for backwards compatibility testing)",
|
27 |
| - "matchPackageNames": ["com.esotericsoftware:kryo"], |
| 33 | + "matchPackageNames": [ |
| 34 | + "com.esotericsoftware:kryo" |
| 35 | + ], |
28 | 36 | "matchCurrentVersion": "[4.0.0,5.0.0)",
|
29 |
| - "matchUpdateTypes": ["major"], |
| 37 | + "matchUpdateTypes": [ |
| 38 | + "major" |
| 39 | + ], |
30 | 40 | "enabled": false
|
31 | 41 | },
|
32 | 42 | {
|
33 | 43 | "description": "Disable major updates for Elastic Search 7.x (Needed for backwards compatibility testing)",
|
34 |
| - "matchPackagePrefixes": ["org.elasticsearch"], |
35 | 44 | "matchCurrentVersion": "[7.0.0,8.0.0)",
|
36 |
| - "matchUpdateTypes": ["major"], |
37 |
| - "enabled": false |
| 45 | + "matchUpdateTypes": [ |
| 46 | + "major" |
| 47 | + ], |
| 48 | + "enabled": false, |
| 49 | + "matchPackageNames": [ |
| 50 | + "org.elasticsearch{/,}**" |
| 51 | + ] |
38 | 52 | },
|
39 | 53 | {
|
40 | 54 | "description": "Do not change the jackson version needed for Apache Drill",
|
41 |
| - "matchPackagePrefixes": ["com.fasterxml.jackson.core"], |
42 | 55 | "matchCurrentVersion": "[2.14.2]",
|
43 |
| - "matchUpdateTypes": ["major", "minor", "patch"], |
44 |
| - "enabled": false |
| 56 | + "matchUpdateTypes": [ |
| 57 | + "major", |
| 58 | + "minor", |
| 59 | + "patch" |
| 60 | + ], |
| 61 | + "enabled": false, |
| 62 | + "matchPackageNames": [ |
| 63 | + "com.fasterxml.jackson.core{/,}**" |
| 64 | + ] |
45 | 65 | },
|
46 | 66 | {
|
47 | 67 | "description": "Disable strange versions of graphql-java",
|
48 |
| - "matchPackageNames": ["com.graphql-java:graphql-java"], |
| 68 | + "matchPackageNames": [ |
| 69 | + "com.graphql-java:graphql-java" |
| 70 | + ], |
49 | 71 | "allowedVersions": "/^[0-9]{1,3}\\.[0-9]{1,3}(?:\\.[0-9]{1,3})?$/"
|
50 | 72 | },
|
51 | 73 | {
|
52 |
| - "matchPackagePrefixes": [ |
53 |
| - "org.apache.logging", |
54 |
| - "org.slf4j" |
55 |
| - ], |
56 | 74 | "groupSlug": "logging",
|
57 | 75 | "groupName": "logging",
|
58 | 76 | "labels": [
|
59 | 77 | "logging"
|
| 78 | + ], |
| 79 | + "matchPackageNames": [ |
| 80 | + "org.apache.logging{/,}**", |
| 81 | + "org.slf4j{/,}**" |
60 | 82 | ]
|
61 | 83 | },
|
62 | 84 | {
|
63 |
| - "matchPackagePrefixes": [ |
64 |
| - "com.fasterxml.jackson" |
65 |
| - ], |
66 | 85 | "groupSlug": "jackson",
|
67 | 86 | "groupName": "jackson",
|
68 | 87 | "labels": [
|
69 | 88 | "jackson"
|
| 89 | + ], |
| 90 | + "matchPackageNames": [ |
| 91 | + "com.fasterxml.jackson{/,}**" |
70 | 92 | ]
|
71 | 93 | },
|
72 | 94 | {
|
73 |
| - "matchPackagePrefixes": [ |
74 |
| - "org.apache.maven.plugins", |
75 |
| - "org.codehaus.mojo", |
76 |
| - "org.sonarsource.scanner.maven", |
77 |
| - "com.github.spotbugs", |
78 |
| - "com.google.code.maven-replacer-plugin", |
79 |
| - "io.fabric8", |
80 |
| - "pl.project13.maven", |
81 |
| - "com.alexecollins.maven.plugin", |
82 |
| - "org.jetbrains.kotlin", |
83 |
| - "net.alchim31.maven" |
84 |
| - ], |
85 | 95 | "groupSlug": "maven_build_plugins",
|
86 | 96 | "groupName": "maven build plugins",
|
87 | 97 | "labels": [
|
88 | 98 | "maven-build-plugins"
|
| 99 | + ], |
| 100 | + "matchPackageNames": [ |
| 101 | + "org.apache.maven.plugins{/,}**", |
| 102 | + "org.codehaus.mojo{/,}**", |
| 103 | + "org.sonarsource.scanner.maven{/,}**", |
| 104 | + "com.github.spotbugs{/,}**", |
| 105 | + "com.google.code.maven-replacer-plugin{/,}**", |
| 106 | + "io.fabric8{/,}**", |
| 107 | + "pl.project13.maven{/,}**", |
| 108 | + "com.alexecollins.maven.plugin{/,}**", |
| 109 | + "org.jetbrains.kotlin{/,}**", |
| 110 | + "net.alchim31.maven{/,}**" |
89 | 111 | ]
|
90 | 112 | },
|
91 | 113 | {
|
92 |
| - "matchPackagePrefixes": [ |
93 |
| - "com.google" |
94 |
| - ], |
95 | 114 | "groupSlug": "google",
|
96 | 115 | "groupName": "google",
|
97 | 116 | "labels": [
|
98 | 117 | "google"
|
| 118 | + ], |
| 119 | + "matchPackageNames": [ |
| 120 | + "com.google{/,}**" |
99 | 121 | ]
|
100 | 122 | },
|
101 | 123 | {
|
102 | 124 | "description": "Disallow Cloudera/Hortonworks/Spring/... internal versions",
|
103 |
| - "matchPackagePrefixes": ["org.apache."], |
104 |
| - "allowedVersions": "/^[0-9]{1,3}\\.[0-9]{1,3}(?:\\.[0-9]{1,3})?(?:-M[0-9]{1,3})?$/" |
| 125 | + "allowedVersions": "/^[0-9]{1,3}\\.[0-9]{1,3}(?:\\.[0-9]{1,3})?(?:-M[0-9]{1,3})?$/", |
| 126 | + "matchPackageNames": [ |
| 127 | + "org.apache.{/,}**" |
| 128 | + ] |
105 | 129 | },
|
106 | 130 | {
|
107 | 131 | "description": "Disable broken maven-artifact-plugin version",
|
108 |
| - "matchDepNames": ["org.apache.maven.plugins:maven-artifact-plugin"], |
| 132 | + "matchDepNames": [ |
| 133 | + "org.apache.maven.plugins:maven-artifact-plugin" |
| 134 | + ], |
109 | 135 | "allowedVersions": "!/^3\\.5\\.0$/"
|
110 | 136 | },
|
111 | 137 | {
|
112 |
| - "matchPackagePrefixes": [ |
113 |
| - "commons-", |
114 |
| - "org.apache.commons" |
115 |
| - ], |
116 | 138 | "groupSlug": "commons",
|
117 | 139 | "groupName": "Apache Commons",
|
118 | 140 | "labels": [
|
119 | 141 | "apache-commons"
|
120 | 142 | ],
|
121 |
| - "allowedVersions": "/^[0-9]{1,3}\\.[0-9]{1,3}(?:\\.[0-9]{1,3})?(?:-M[0-9]{1,3})?$/" |
| 143 | + "allowedVersions": "/^[0-9]{1,3}\\.[0-9]{1,3}(?:\\.[0-9]{1,3})?(?:-M[0-9]{1,3})?$/", |
| 144 | + "matchPackageNames": [ |
| 145 | + "commons-{/,}**", |
| 146 | + "org.apache.commons{/,}**" |
| 147 | + ] |
122 | 148 | },
|
123 | 149 | {
|
124 |
| - "matchPackagePrefixes": [ |
125 |
| - "org.springframework", |
126 |
| - "io.springfox", |
127 |
| - "org.springdoc" |
128 |
| - ], |
129 | 150 | "groupSlug": "spring",
|
130 | 151 | "groupName": "Spring Framework",
|
131 | 152 | "labels": [
|
132 | 153 | "spring"
|
| 154 | + ], |
| 155 | + "matchPackageNames": [ |
| 156 | + "org.springframework{/,}**", |
| 157 | + "io.springfox{/,}**", |
| 158 | + "org.springdoc{/,}**" |
133 | 159 | ]
|
134 | 160 | },
|
135 | 161 | {
|
136 |
| - "matchPackagePrefixes": [ |
137 |
| - "io.quarkus" |
138 |
| - ], |
139 | 162 | "groupSlug": "quarkus",
|
140 | 163 | "groupName": "Quarkus",
|
141 | 164 | "labels": [
|
142 | 165 | "quarkus"
|
| 166 | + ], |
| 167 | + "matchPackageNames": [ |
| 168 | + "io.quarkus{/,}**" |
143 | 169 | ]
|
144 | 170 | },
|
145 | 171 | {
|
146 |
| - "matchPackagePrefixes": [ |
147 |
| - "org.junit", |
148 |
| - "org.scalatest", |
149 |
| - "org.hamcrest", |
150 |
| - "org.owasp", |
151 |
| - "org.pitest", |
152 |
| - "org.jacoco", |
153 |
| - "org.sonarsource", |
154 |
| - "com.github.spotbugs", |
155 |
| - "org.eluder.coveralls", |
156 |
| - "org.apache.rat", |
157 |
| - "net.sourceforge.cobertura", |
158 |
| - "com.puppycrawl.tools" |
159 |
| - ], |
160 | 172 | "groupSlug": "testing",
|
161 | 173 | "groupName": "Testing and Code Quality",
|
162 | 174 | "labels": [
|
163 | 175 | "testing"
|
| 176 | + ], |
| 177 | + "matchPackageNames": [ |
| 178 | + "org.junit{/,}**", |
| 179 | + "org.scalatest{/,}**", |
| 180 | + "org.hamcrest{/,}**", |
| 181 | + "org.owasp{/,}**", |
| 182 | + "org.pitest{/,}**", |
| 183 | + "org.jacoco{/,}**", |
| 184 | + "org.sonarsource{/,}**", |
| 185 | + "com.github.spotbugs{/,}**", |
| 186 | + "org.eluder.coveralls{/,}**", |
| 187 | + "org.apache.rat{/,}**", |
| 188 | + "net.sourceforge.cobertura{/,}**", |
| 189 | + "com.puppycrawl.tools{/,}**" |
164 | 190 | ]
|
165 | 191 | }
|
166 | 192 | ]
|
|
0 commit comments