File tree Expand file tree Collapse file tree 11 files changed +74
-12
lines changed Expand file tree Collapse file tree 11 files changed +74
-12
lines changed Original file line number Diff line number Diff line change 21
21
<parent >
22
22
<groupId >com.google.errorprone</groupId >
23
23
<artifactId >error_prone_parent</artifactId >
24
- <version >HEAD-SNAPSHOT</version >
24
+ <version >1.0- HEAD-SNAPSHOT</version >
25
25
</parent >
26
26
27
27
<name >@BugPattern annotation</name >
Original file line number Diff line number Diff line change 21
21
<parent >
22
22
<groupId >com.google.errorprone</groupId >
23
23
<artifactId >error_prone_parent</artifactId >
24
- <version >HEAD-SNAPSHOT</version >
24
+ <version >1.0- HEAD-SNAPSHOT</version >
25
25
</parent >
26
26
27
27
<name >error-prone annotations</name >
49
49
<groupId >org.apache.maven.plugins</groupId >
50
50
<artifactId >maven-compiler-plugin</artifactId >
51
51
<configuration >
52
- <source >8</source >
53
- <target >8</target >
54
52
<compilerArgs combine.self=" override" />
55
53
</configuration >
54
+ <executions >
55
+ <execution >
56
+ <id >default-compile</id >
57
+ <configuration >
58
+ <source >1.8</source >
59
+ <target >1.8</target >
60
+ <excludes >
61
+ <exclude >module-info.java</exclude >
62
+ </excludes >
63
+ </configuration >
64
+ </execution >
65
+ <execution >
66
+ <id >compile-java9</id >
67
+ <configuration >
68
+ <source >9</source >
69
+ <target >9</target >
70
+ <release >9</release >
71
+ <multiReleaseOutput >true</multiReleaseOutput >
72
+ </configuration >
73
+ </execution >
74
+ </executions >
75
+ </plugin >
76
+ <plugin >
77
+ <groupId >org.apache.maven.plugins</groupId >
78
+ <artifactId >maven-jar-plugin</artifactId >
79
+ <configuration >
80
+ <archive >
81
+ <manifestEntries >
82
+ <Multi-Release >true</Multi-Release >
83
+ </manifestEntries >
84
+ </archive >
85
+ </configuration >
56
86
</plugin >
57
87
</plugins >
58
88
</build >
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2015 The Error Prone Authors.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ open module com .google .errorprone .annotation {
18
+ requires java .base ;
19
+ requires java .compiler ;
20
+ exports com .google .errorprone .annotations ;
21
+ exports com .google .errorprone .annotations .concurrent ;
22
+ }
Original file line number Diff line number Diff line change 21
21
<parent >
22
22
<groupId >com.google.errorprone</groupId >
23
23
<artifactId >error_prone_parent</artifactId >
24
- <version >HEAD-SNAPSHOT</version >
24
+ <version >1.0- HEAD-SNAPSHOT</version >
25
25
</parent >
26
26
27
27
<name >error-prone check api</name >
Original file line number Diff line number Diff line change 21
21
<parent >
22
22
<groupId >com.google.errorprone</groupId >
23
23
<artifactId >error_prone_parent</artifactId >
24
- <version >HEAD-SNAPSHOT</version >
24
+ <version >1.0- HEAD-SNAPSHOT</version >
25
25
</parent >
26
26
27
27
<name >error-prone library</name >
Original file line number Diff line number Diff line change 21
21
<parent >
22
22
<groupId >com.google.errorprone</groupId >
23
23
<artifactId >error_prone_parent</artifactId >
24
- <version >HEAD-SNAPSHOT</version >
24
+ <version >1.0- HEAD-SNAPSHOT</version >
25
25
</parent >
26
26
27
27
<name >Documentation tool for generating Error Prone bugpattern documentation</name >
Original file line number Diff line number Diff line change 21
21
<parent >
22
22
<groupId >com.google.errorprone</groupId >
23
23
<artifactId >error_prone_parent</artifactId >
24
- <version >HEAD-SNAPSHOT</version >
24
+ <version >1.0- HEAD-SNAPSHOT</version >
25
25
</parent >
26
26
27
27
<name >JSR-269 annotation processor for @BugPattern annotation</name >
Original file line number Diff line number Diff line change 21
21
<name >Error Prone parent POM</name >
22
22
<groupId >com.google.errorprone</groupId >
23
23
<artifactId >error_prone_parent</artifactId >
24
- <version >HEAD-SNAPSHOT</version >
24
+ <version >1.0- HEAD-SNAPSHOT</version >
25
25
<packaging >pom</packaging >
26
26
27
27
<description >Error Prone is a static analysis tool for Java that catches common programming mistakes at compile-time.</description >
204
204
<exclude >**/testdata/**</exclude >
205
205
</testExcludes >
206
206
</configuration >
207
+ <executions >
208
+ <execution >
209
+ <id >default-compile</id >
210
+ <configuration >
211
+ <compilerArgs combine.children=" append" >
212
+ <arg >-Xlint:-options</arg >
213
+ </compilerArgs >
214
+ </configuration >
215
+ </execution >
216
+ </executions >
207
217
</plugin >
208
218
<plugin >
209
219
<groupId >org.apache.maven.plugins</groupId >
Original file line number Diff line number Diff line change 19
19
<parent >
20
20
<artifactId >error_prone_parent</artifactId >
21
21
<groupId >com.google.errorprone</groupId >
22
- <version >HEAD-SNAPSHOT</version >
22
+ <version >1.0- HEAD-SNAPSHOT</version >
23
23
</parent >
24
24
<modelVersion >4.0.0</modelVersion >
25
25
Original file line number Diff line number Diff line change 21
21
<parent >
22
22
<groupId >com.google.errorprone</groupId >
23
23
<artifactId >error_prone_parent</artifactId >
24
- <version >HEAD-SNAPSHOT</version >
24
+ <version >1.0- HEAD-SNAPSHOT</version >
25
25
</parent >
26
26
27
27
<name >error-prone test helpers</name >
You can’t perform that action at this time.
0 commit comments