-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy pathjava-versions-rules.xml
More file actions
142 lines (123 loc) · 5.6 KB
/
java-versions-rules.xml
File metadata and controls
142 lines (123 loc) · 5.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<!--
Copyright 2016 Google Inc.
Licensed 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.
-->
<ruleset comparisonMethod="maven"
xmlns="http://mojo.codehaus.org/versions-maven-plugin/rule/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://mojo.codehaus.org/versions-maven-plugin/rule/2.0.0 http://mojo.codehaus.org/versions-maven-plugin/xsd/rule-2.0.0.xsd">
<ignoreVersions>
<!-- <ignoreVersion type="regex">.*-alpha.*</ignoreVersion> -->
<ignoreVersion type="regex">.*-b[0-9]*</ignoreVersion>
<ignoreVersion type="regex">.*-pre.*</ignoreVersion>
<ignoreVersion type="regex">.*public_draft</ignoreVersion>
<ignoreVersion type="regex">.*-rc(-)?[0-9]*</ignoreVersion>
<ignoreVersion type="regex">.*jre7</ignoreVersion>
<ignoreVersion type="regex">.*jre6</ignoreVersion>
</ignoreVersions>
<rules>
<rule groupId="com.google.appengine" comparisonMethod="maven" />
<!-- Jetty should be manually, not automatically updated.
https://github.com/GoogleCloudPlatform/java-docs-samples/pull/323 -->
<rule groupId="org.eclipse.jetty" artifactId="jetty-maven-plugin" comparisonMethod="maven">
<ignoreVersions>
<ignoreVersion type="regex">.*</ignoreVersion>
</ignoreVersions>
</rule>
<!-- MySQL connector should not be automatically updated.
Version 5.x is for production systems on Java 7 & Java 8.
https://github.com/GoogleCloudPlatform/java-docs-samples/pull/456#discussion_r92676013 -->
<rule groupId="mysql" artifactId="mysql-connector-java" comparisonMethod="maven">
<ignoreVersions>
<ignoreVersion type="regex">.*</ignoreVersion>
</ignoreVersions>
</rule>
<!-- Ignore grpc-versions upgrades -->
<rule groupId="io.grpc" comparisonMethod="maven">
<ignoreVersions>
<ignoreVersion type="regex">.*</ignoreVersion>
</ignoreVersions>
</rule>
<!-- Ignore netty-versions upgrades -->
<rule groupId="io.netty" comparisonMethod="maven">
<ignoreVersions>
<ignoreVersion type="regex">.*</ignoreVersion>
</ignoreVersions>
</rule>
<!-- Ignore slf4j upgrades 1.8 appears not to work w/ kotlin / spark -->
<rule groupId="org.slf4j" comparisonMethod="maven">
<ignoreVersions>
<ignoreVersion type="regex">.*</ignoreVersion>
</ignoreVersions>
</rule>
<!-- Ignore servlet upgrades -->
<rule groupId="javax.servlet" comparisonMethod="maven">
<ignoreVersions>
<ignoreVersion type="regex">.*</ignoreVersion>
</ignoreVersions>
</rule>
<!-- Guava should not be automatically updated.
Version 21 requires Java 8 only. -->
<rule groupId="com.google.guava" artifactId="guava" comparisonMethod="maven">
<ignoreVersions>
<ignoreVersion type="regex">.*</ignoreVersion>
</ignoreVersions>
</rule>
<!-- AutoValue should not be automatically updated. -->
<rule groupId="com.google.auto.value" artifactId="auto-value" comparisonMethod="maven">
<ignoreVersions>
<ignoreVersion type="regex">.*</ignoreVersion>
</ignoreVersions>
</rule>
<!-- Lock down Objectify for a while -->
<rule groupId="com.googlecode.objectify" artifactId="objectify" comparisonMethod="maven">
<ignoreVersions>
<ignoreVersion type="regex">.*</ignoreVersion>
</ignoreVersions>
</rule>
<!-- Apache Beam versions past 2.3.0 cause dataflow/spanner errors. -->
<rule groupId="org.apache.beam" artifactId="beam-sdks-java-core" comparisonMethod="maven">
<ignoreVersions>
<ignoreVersion type="regex">.*</ignoreVersion>
</ignoreVersions>
</rule>
<!-- SendGrid 3 libraries are broken in App Engine standard environment -->
<rule groupId="com.sendgrid" artifactId="sendgrid-java" comparisonMethod="maven">
<ignoreVersions>
<!-- <ignoreVersion type="regex">3.*</ignoreVersion> -->
<ignoreVersion type="regex">.*</ignoreVersion> <!-- Lock it for now - until we can updade and test updates -->
</ignoreVersions>
</rule>
<!-- Logging v2 is a breaking change from v1, but samples are still v1. -->
<rule groupId="com.google.apis" artifactId="google-api-services-logging" comparisonMethod="maven">
<ignoreVersions>
<ignoreVersion type="regex">v2.*</ignoreVersion>
</ignoreVersions>
</rule>
<!-- Ignore beta versions of the App Engine Maven plugin -->
<rule groupId="com.google.cloud.tools" artifactId="appengine-maven-plugin" comparisonMethod="maven">
<ignoreVersions>
<ignoreVersion type="regex">.*-beta.*</ignoreVersion>
</ignoreVersions>
</rule>
<!-- Ignore beta versions of Mockito -->
<rule groupId="org.mockito" artifactId="mockito-all" comparisonMethod="maven">
<ignoreVersions>
<ignoreVersion type="regex">.*-beta.*</ignoreVersion>
</ignoreVersions>
</rule>
<!-- Ignore beta versions of Xmemcached-->
<rule groupId="com.googlecode.xmemcached" artifactId="xmemcached" comparisonMethod="maven">
<ignoreVersions>
<ignoreVersion type="regex">.*-beta.*</ignoreVersion>
</ignoreVersions>
</rule>
</rules>
</ruleset>