Lines Matching +full:html +full:- +full:encoding +full:- +full:sniffer
1 <?xml version="1.0" encoding="UTF-8"?>
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 … xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
8 <artifactId>guava-parent</artifactId>
9 <version>32.1.2-android</version>
15 <!-- Override this with -Dtest.include="**/SomeTest.java" on the CLI -->
22 <javac.version>9+181-r4173-1</javac.version>
23 <!-- Empty for all JDKs but 9-12 -->
24 <maven-javadoc-plugin.additionalJOptions></maven-javadoc-plugin.additionalJOptions>
25 <project.build.outputTimestamp>2023-02-01T00:00:00Z</project.build.outputTimestamp>
26 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
31 <otherVariant.version>32.1.2-jre</otherVariant.version>
32 <otherVariant.jvmEnvironment>standard-jvm</otherVariant.jvmEnvironment>
43 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
63 <timezone>-8</timezone>
72 <module>guava-bom</module>
73 <module>guava-testlib</module>
74 <module>guava-tests</module>
77 <!-- Handle where Guava deviates from Maven defaults -->
86 <targetPath>META-INF</targetPath>
99 <artifactId>maven-enforcer-plugin</artifactId>
102 <id>enforce-versions</id>
123 <artifactId>maven-compiler-plugin</artifactId>
128 <encoding>UTF-8</encoding>
131 <!--
133 https://issues.apache.org/jira/browse/MCOMPILER-174
135 (Compare what guava-gwt has to do for maven-javadoc-plugin.)
136 -->
137 <arg>-sourcepath</arg>
139 <!-- https://errorprone.info/docs/installation#maven -->
140 <arg>-XDcompilePolicy=simple</arg>
141 <!-- -Xplugin:ErrorProne is set conditionally by a profile. -->
150 <!-- Fork:
152 - for JDK8 because we use a javac9 bootclasspath
154 - for JDK9+ because we need args like add-exports
155 -->
160 <artifactId>maven-jar-plugin</artifactId>
164 <artifactId>maven-source-plugin</artifactId>
168 <id>attach-sources</id>
170 <goal>jar-no-fork</goal>
177 <artifactId>animal-sniffer-maven-plugin</artifactId>
184 <artifactId>gummy-bears-api-19</artifactId>
186 …<!-- TODO(cpovirk): In principle, it would make sense to *also* test compatibility with JDK 1.8, s…
189 <!-- Unsafe isn't part of the documented Android API, but it is available.
190 … And in cases where it's not, we have fallbacks (except maybe Striped64 (b/307807965)?). -->
196 <id>check-java-version-compatibility</id>
205 <artifactId>maven-javadoc-plugin</artifactId>
210 <encoding>UTF-8</encoding>
211 <docencoding>UTF-8</docencoding>
212 <charset>UTF-8</charset>
214 <additionalOption>-XDignore.symbol.file</additionalOption>
215 <additionalOption>-Xdoclint:-html</additionalOption>
219 <additionalJOption>${maven-javadoc-plugin.additionalJOptions}</additionalJOption>
223 <id>attach-docs</id>
229 <artifactId>maven-dependency-plugin</artifactId>
233 <artifactId>maven-antrun-plugin</artifactId>
237 <artifactId>maven-surefire-plugin</artifactId>
243 …<!-- By having our own entries here, we also override the default exclusion filter, which excludes…
245 <!-- https://github.com/google/guava/issues/2840 -->
247 …-- FeatureUtilTest.*ExampleDerivedInterfaceTester, com.google.common.io.*Tester, incidentally Feat…
249 <!-- Anonymous TestCase subclasses in GeneratedMonitorTest -->
254 <!-- Set max heap for tests. -->
255 <!-- Catch dependencies on the default locale by setting it to hi-IN. -->
256 <argLine>-Xmx1536M -Duser.language=hi -Duser.country=IN ${test.add.opens}</argLine>
260 <artifactId>maven-enforcer-plugin</artifactId>
261 <version>3.0.0-M3</version>
264 <artifactId>maven-resources-plugin</artifactId>
269 <artifactId>build-helper-maven-plugin</artifactId>
277 <id>sonatype-nexus-snapshots</id>
282 <id>sonatype-nexus-staging</id>
287 <id>guava-site</id>
301 <artifactId>checker-qual</artifactId>
311 <artifactId>j2objc-annotations</artifactId>
314 <!--
315 …We moved away from using dependencyManagement for test-only deps because of https://github.com/goo…
317 …But it's always weird that published poms reference test-only libraries at all, so I'm not in any …
318 -->
323 <id>sonatype-oss-release</id>
327 <artifactId>maven-gpg-plugin</artifactId>
331 <id>sign-artifacts</id>
343 <!--
344 Passes JDK 11-12-specific `no-module-directories` flag to Javadoc tool,
348 … This flag does not exist on 9-10 and 13+ (https://bugs.openjdk.java.net/browse/JDK-8215582).
351 -->
352 <id>javadocs-jdk11-12</id>
357 …<maven-javadoc-plugin.additionalJOptions>--no-module-directories</maven-javadoc-plugin.additionalJ…
361 <id>open-jre-modules</id>
366 <!--
372 the add-opens. Right now that doesn't seem worth the effort, though.
373 -->
375 --add-opens java.base/java.lang=ALL-UNNAMED
376 --add-opens java.base/java.util=ALL-UNNAMED
377 --add-opens java.base/sun.security.jca=ALL-UNNAMED
382 <id>javac9-for-jdk8</id>
389 <artifactId>maven-compiler-plugin</artifactId>
391 <!-- Under JDK8, we continue to use errorprone's javac9 (even
397 builds with JDK8 began failing animal-sniffer with the error:
402 animal-sniffer. And that would be fine for our -jre builds:
405 have the same issue with our -android builds, which need
406 animal-sniffer so that they can check that we're sticking to
407 JDK6-like APIs.
410 -->
412 …<arg>-J-Xbootclasspath/p:${settings.localRepository}/com/google/errorprone/javac/${javac.version}/…
420 <id>run-error-prone</id>
422 <!--
424 We skip 12-15 because of https://github.com/google/error-prone/issues/3540.
425 -->
431 <artifactId>maven-compiler-plugin</artifactId>
434 <!-- https://errorprone.info/docs/installation#maven -->
435 <!-- TODO(cpovirk): Enable NullArgumentForNonNullParameter for
439 pass -XepCompilingTestOnlyCode, and that argument needs to
440 be passed as part of the same <arg> as -Xplugin:ErrorProne,
442 compilation only. -->
443 … <arg>-Xplugin:ErrorProne -Xep:NullArgumentForNonNullParameter:OFF -Xep:Java8ApiChecker:ERROR</arg>
444 …<!-- https://github.com/google/error-prone/blob/f8e33bc460be82ab22256a7ef8b979d7a2cacaba/docs/inst…
445 <!-- TODO(cpovirk): Use .mvn/jvm.config instead (per
448 with JDK8. -->
449 <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED</arg>
450 <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED</arg>
451 <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED</arg>
452 <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED</arg>
453 <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED</arg>
454 <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED</arg>
455 <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED</arg>
456 <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</arg>
457 <arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg>
458 <arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED</arg>