|
23 | 23 | <jspecify.version>1.0.0</jspecify.version>
|
24 | 24 | <errorprone.version>2.36.0</errorprone.version>
|
25 | 25 | <j2objc.version>3.0.0</j2objc.version>
|
26 |
| - <failureaccess.version>1.0.2</failureaccess.version> |
27 |
| - <javac.version>9+181-r4173-1</javac.version> |
28 |
| - <!-- Javadoc is pinned to the latest LTS, otherwise there are doc redirect warnings. --> |
29 |
| - <javadoc.specification.version>21</javadoc.specification.version> |
30 |
| - <!-- Empty for all JDKs but 9-12 --> |
31 |
| - <maven-javadoc-plugin.additionalJOptions></maven-javadoc-plugin.additionalJOptions> |
32 |
| - <project.build.outputTimestamp>2025-02-06T01:59:27Z</project.build.outputTimestamp> |
| 26 | + <project.build.outputTimestamp>2025-02-08T04:08:09Z</project.build.outputTimestamp> |
33 | 27 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
34 | 28 | <!--
|
35 | 29 | Some tests need reflective access to the internals of these packages. It is only the
|
|
95 | 89 | <module>guava-gwt</module>
|
96 | 90 | <module>guava-testlib</module>
|
97 | 91 | <module>guava-tests</module>
|
| 92 | + <module>futures/failureaccess</module> |
98 | 93 | </modules>
|
99 | 94 | <build>
|
100 | 95 | <!-- Handle where Guava deviates from Maven defaults -->
|
|
194 | 189 | <!-- Fork because we need args like add-exports. (But see the TODO above about .mvn/jvm.config.) -->
|
195 | 190 | <fork>true</fork>
|
196 | 191 | </configuration>
|
| 192 | + <executions> |
| 193 | + <execution> |
| 194 | + <id>default-compile</id> |
| 195 | + <configuration> |
| 196 | + <source>1.8</source> |
| 197 | + <target>1.8</target> |
| 198 | + <excludes> |
| 199 | + <exclude>module-info.java</exclude> |
| 200 | + </excludes> |
| 201 | + <compilerArgs> |
| 202 | + <!-- |
| 203 | + Make includes/excludes fully work: |
| 204 | + https://issues.apache.org/jira/browse/MCOMPILER-174 |
| 205 | + (Compare what guava-gwt has to do for maven-javadoc-plugin.) |
| 206 | + --> |
| 207 | + <arg>-sourcepath</arg> |
| 208 | + <arg>doesnotexist</arg> |
| 209 | + </compilerArgs> |
| 210 | + </configuration> |
| 211 | + </execution> |
| 212 | + <execution> |
| 213 | + <id>default-testCompile</id> |
| 214 | + <configuration> |
| 215 | + <compilerArgs> |
| 216 | + <compilerArg>-Xlint:-removal</compilerArg> |
| 217 | + </compilerArgs> |
| 218 | + </configuration> |
| 219 | + </execution> |
| 220 | + </executions> |
197 | 221 | </plugin>
|
198 | 222 | <plugin>
|
199 | 223 | <artifactId>maven-dependency-plugin</artifactId>
|
|
213 | 237 | </plugin>
|
214 | 238 | <plugin>
|
215 | 239 | <artifactId>maven-jar-plugin</artifactId>
|
216 |
| - <version>3.3.0</version> |
| 240 | + <version>3.4.0</version> |
| 241 | + <configuration> |
| 242 | + <excludes> |
| 243 | + <!-- The root module (where applicable) is withheld because it is provided at `META-INF/versions/9/`. --> |
| 244 | + <exclude>/module-info.class</exclude> |
| 245 | + <!-- Avoid duplicating compiled classes within the `META-INF/versions/9/` root. --> |
| 246 | + <exclude>META-INF/versions/9/com/**/*.class</exclude> |
| 247 | + </excludes> |
| 248 | + <archive> |
| 249 | + <manifestEntries> |
| 250 | + <Multi-Release>true</Multi-Release> |
| 251 | + </manifestEntries> |
| 252 | + </archive> |
| 253 | + </configuration> |
217 | 254 | </plugin>
|
218 | 255 | <plugin>
|
219 | 256 | <artifactId>maven-javadoc-plugin</artifactId>
|
|
0 commit comments