|
6 | 6 | <modelVersion>4.0.0</modelVersion>
|
7 | 7 | <groupId>com.google.guava</groupId>
|
8 | 8 | <artifactId>guava-parent</artifactId>
|
9 |
| - <version>HEAD-jre-SNAPSHOT</version> |
| 9 | + <version>1.0-HEAD-jre-SNAPSHOT</version> |
10 | 10 | <packaging>pom</packaging>
|
11 | 11 | <name>Guava Maven Parent</name>
|
12 | 12 | <description>Parent for guava artifacts</description>
|
|
42 | 42 | <module.status>integration</module.status>
|
43 | 43 | <variant.jvmEnvironment>standard-jvm</variant.jvmEnvironment>
|
44 | 44 | <variant.jvmEnvironmentVariantName>jre</variant.jvmEnvironmentVariantName>
|
45 |
| - <otherVariant.version>HEAD-android-SNAPSHOT</otherVariant.version> |
| 45 | + <otherVariant.version>1.0-HEAD-android-SNAPSHOT</otherVariant.version> |
46 | 46 | <otherVariant.jvmEnvironment>android</otherVariant.jvmEnvironment>
|
47 | 47 | <otherVariant.jvmEnvironmentVariantName>android</otherVariant.jvmEnvironmentVariantName>
|
48 | 48 | </properties>
|
|
146 | 146 | <target>1.8</target>
|
147 | 147 | <encoding>UTF-8</encoding>
|
148 | 148 | <parameters>true</parameters>
|
149 |
| - <compilerArgs> |
150 |
| - <!-- |
151 |
| - Make includes/excludes fully work: |
152 |
| - https://issues.apache.org/jira/browse/MCOMPILER-174 |
153 |
| -
|
154 |
| - (Compare what guava-gwt has to do for maven-javadoc-plugin.) |
155 |
| - --> |
156 |
| - <arg>-sourcepath</arg> |
157 |
| - <arg>doesnotexist</arg> |
| 149 | + <compilerArgs combine.children="override"> |
158 | 150 | <!-- https://errorprone.info/docs/installation#maven -->
|
159 | 151 | <arg>-XDcompilePolicy=simple</arg>
|
160 | 152 | <arg>--should-stop=ifError=FLOW</arg>
|
|
182 | 174 | <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</arg>
|
183 | 175 | <arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg>
|
184 | 176 | <arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED</arg>
|
| 177 | + <arg>-Xlint:-removal,-options</arg> |
185 | 178 | </compilerArgs>
|
186 | 179 | <annotationProcessorPaths>
|
187 | 180 | <path>
|
|
193 | 186 | <!-- Fork because we need args like add-exports. (But see the TODO above about .mvn/jvm.config.) -->
|
194 | 187 | <fork>true</fork>
|
195 | 188 | </configuration>
|
| 189 | + <executions> |
| 190 | + <execution> |
| 191 | + <id>default-compile</id> |
| 192 | + <configuration> |
| 193 | + <compilerArgs> |
| 194 | + <!-- |
| 195 | + Make includes/excludes fully work: |
| 196 | + https://issues.apache.org/jira/browse/MCOMPILER-174 |
| 197 | + (Compare what guava-gwt has to do for maven-javadoc-plugin.) |
| 198 | + --> |
| 199 | + <arg>-sourcepath</arg> |
| 200 | + <arg>doesnotexist</arg> |
| 201 | + </compilerArgs> |
| 202 | + </configuration> |
| 203 | + </execution> |
| 204 | + </executions> |
196 | 205 | </plugin>
|
197 | 206 | <plugin>
|
198 | 207 | <artifactId>maven-dependency-plugin</artifactId>
|
|
212 | 221 | </plugin>
|
213 | 222 | <plugin>
|
214 | 223 | <artifactId>maven-jar-plugin</artifactId>
|
215 |
| - <version>3.2.0</version> |
| 224 | + <version>3.4.0</version> |
216 | 225 | </plugin>
|
217 | 226 | <plugin>
|
218 | 227 | <artifactId>maven-javadoc-plugin</artifactId>
|
|
0 commit comments