|
21 | 21 | <gwt.plugin.version>2.10.0</gwt.plugin.version> |
22 | 22 | <gwt.logLevel>WARN</gwt.logLevel> |
23 | 23 | </properties> |
24 | | - <repositories> |
25 | | - <repository> |
26 | | - <id>sonatype-google-snapshots</id> |
27 | | - <name>sonatype-google-snapshots</name> |
28 | | - <url>https://oss.sonatype.org/content/repositories/google-snapshots/</url> |
29 | | - <snapshots> |
30 | | - <enabled>true</enabled> |
31 | | - </snapshots> |
32 | | - </repository> |
33 | | - </repositories> |
34 | | - <pluginRepositories> |
35 | | - <pluginRepository> |
36 | | - <id>sonatype-snapshots</id> |
37 | | - <name>sonatype-snapshots</name> |
38 | | - <url>https://oss.sonatype.org/content/repositories/snapshots/</url> |
39 | | - <snapshots> |
40 | | - <enabled>true</enabled> |
41 | | - </snapshots> |
42 | | - </pluginRepository> |
43 | | - </pluginRepositories> |
44 | 24 | <dependencies> |
45 | 25 | <dependency> |
46 | 26 | <groupId>com.google.guava</groupId> |
|
123 | 103 | </exclusions> |
124 | 104 | </dependency> |
125 | 105 | </dependencies> |
| 106 | + <repositories> |
| 107 | + <repository> |
| 108 | + <id>sonatype-google-snapshots</id> |
| 109 | + <name>sonatype-google-snapshots</name> |
| 110 | + <url>https://oss.sonatype.org/content/repositories/google-snapshots/</url> |
| 111 | + <snapshots> |
| 112 | + <enabled>true</enabled> |
| 113 | + </snapshots> |
| 114 | + </repository> |
| 115 | + </repositories> |
| 116 | + <pluginRepositories> |
| 117 | + <pluginRepository> |
| 118 | + <id>sonatype-snapshots</id> |
| 119 | + <name>sonatype-snapshots</name> |
| 120 | + <url>https://oss.sonatype.org/content/repositories/snapshots/</url> |
| 121 | + <snapshots> |
| 122 | + <enabled>true</enabled> |
| 123 | + </snapshots> |
| 124 | + </pluginRepository> |
| 125 | + </pluginRepositories> |
126 | 126 | <build> |
127 | 127 | <plugins> |
128 | 128 | <plugin> |
129 | 129 | <groupId>org.mvnsearch</groupId> |
130 | 130 | <artifactId>toolchains-maven-plugin</artifactId> |
131 | 131 | </plugin> |
132 | 132 | <plugin> |
| 133 | + <groupId>org.apache.maven.plugins</groupId> |
133 | 134 | <artifactId>maven-toolchains-plugin</artifactId> |
134 | 135 | </plugin> |
135 | 136 | <plugin> |
| 137 | + <groupId>org.apache.maven.plugins</groupId> |
136 | 138 | <artifactId>maven-compiler-plugin</artifactId> |
137 | 139 | <executions> |
138 | 140 | <execution> |
|
150 | 152 | </executions> |
151 | 153 | </plugin> |
152 | 154 | <plugin> |
| 155 | + <groupId>org.apache.maven.plugins</groupId> |
153 | 156 | <artifactId>maven-jar-plugin</artifactId> |
154 | 157 | <configuration> |
155 | 158 | <excludes> |
|
160 | 163 | </configuration> |
161 | 164 | </plugin> |
162 | 165 | <plugin> |
| 166 | + <groupId>org.apache.maven.plugins</groupId> |
163 | 167 | <artifactId>maven-source-plugin</artifactId> |
164 | 168 | <configuration> |
165 | 169 | <excludes> |
|
170 | 174 | </configuration> |
171 | 175 | </plugin> |
172 | 176 | <plugin> |
| 177 | + <groupId>org.apache.maven.plugins</groupId> |
173 | 178 | <artifactId>maven-javadoc-plugin</artifactId> |
174 | 179 | <configuration> |
175 | 180 | <sourceFileExcludes> |
|
184 | 189 | </plugin> |
185 | 190 | <!-- Disable "normal" testing, which doesn't work for GWT tests. --> |
186 | 191 | <plugin> |
| 192 | + <groupId>org.apache.maven.plugins</groupId> |
187 | 193 | <artifactId>maven-surefire-plugin</artifactId> |
188 | 194 | <configuration> |
189 | 195 | <skip>true</skip> |
190 | 196 | </configuration> |
191 | 197 | </plugin> |
192 | 198 | <plugin> |
| 199 | + <groupId>org.apache.maven.plugins</groupId> |
193 | 200 | <artifactId>maven-dependency-plugin</artifactId> |
194 | 201 | <executions> |
195 | 202 | <execution> |
196 | 203 | <id>unpack-failureaccess-sources</id> |
197 | 204 | <phase>generate-resources</phase> |
198 | | - <goals><goal>unpack-dependencies</goal></goals> |
| 205 | + <goals> |
| 206 | + <goal>unpack-dependencies</goal> |
| 207 | + </goals> |
199 | 208 | <configuration> |
200 | 209 | <includeArtifactIds>failureaccess</includeArtifactIds> |
201 | 210 | <classifier>sources</classifier> |
|
209 | 218 | <execution> |
210 | 219 | <id>unpack-guava-sources</id> |
211 | 220 | <phase>generate-resources</phase> |
212 | | - <goals><goal>unpack-dependencies</goal></goals> |
| 221 | + <goals> |
| 222 | + <goal>unpack-dependencies</goal> |
| 223 | + </goals> |
213 | 224 | <configuration> |
214 | 225 | <includeArtifactIds>guava</includeArtifactIds> |
215 | 226 | <classifier>sources</classifier> |
|
223 | 234 | <execution> |
224 | 235 | <id>unpack-guava-testlib-sources</id> |
225 | 236 | <phase>generate-resources</phase> |
226 | | - <goals><goal>unpack-dependencies</goal></goals> |
| 237 | + <goals> |
| 238 | + <goal>unpack-dependencies</goal> |
| 239 | + </goals> |
227 | 240 | <configuration> |
228 | 241 | <includeArtifactIds>guava-testlib</includeArtifactIds> |
229 | 242 | <classifier>sources</classifier> |
|
237 | 250 | <execution> |
238 | 251 | <id>unpack-guava-testlib-test-sources</id> |
239 | 252 | <phase>generate-resources</phase> |
240 | | - <goals><goal>unpack-dependencies</goal></goals> |
| 253 | + <goals> |
| 254 | + <goal>unpack-dependencies</goal> |
| 255 | + </goals> |
241 | 256 | <configuration> |
242 | 257 | <includeArtifactIds>guava-testlib</includeArtifactIds> |
243 | 258 | <classifier>test-sources</classifier> |
|
251 | 266 | <execution> |
252 | 267 | <id>unpack-guava-test-sources</id> |
253 | 268 | <phase>generate-resources</phase> |
254 | | - <goals><goal>unpack-dependencies</goal></goals> |
| 269 | + <goals> |
| 270 | + <goal>unpack-dependencies</goal> |
| 271 | + </goals> |
255 | 272 | <configuration> |
256 | 273 | <includeArtifactIds>guava-tests</includeArtifactIds> |
257 | 274 | <classifier>test-sources</classifier> |
|
297 | 314 | </dependencies> |
298 | 315 | </plugin> |
299 | 316 | <plugin> |
| 317 | + <groupId>org.apache.maven.plugins</groupId> |
300 | 318 | <artifactId>maven-antrun-plugin</artifactId> |
301 | 319 | <executions> |
302 | 320 | <execution> |
303 | 321 | <id>copy-gwt-files</id> |
304 | 322 | <phase>generate-resources</phase> |
305 | | - <goals><goal>run</goal></goals> |
| 323 | + <goals> |
| 324 | + <goal>run</goal> |
| 325 | + </goals> |
306 | 326 | <configuration> |
307 | 327 | <target name="copy-gwt-resources"> |
308 | 328 | <delete dir="${project.build.directory}/guava-gwt-sources" quiet="true" /> |
|
418 | 438 | <extraJvmArgs>-Xms3500m -Xmx3500m -Xss1024k</extraJvmArgs> |
419 | 439 | <sourceLevel>1.8</sourceLevel> |
420 | 440 | <!-- Keep these timeouts very large because, if we hit the timeout, the tests silently pass :( --> |
421 | | - <testTimeOut>86400 <!-- seconds --></testTimeOut> |
422 | | - <testMethodTimeout>1440 <!-- minutes --></testMethodTimeout> |
| 441 | + <testTimeOut>86400 |
| 442 | + <!-- seconds --></testTimeOut> |
| 443 | + <testMethodTimeout>1440 |
| 444 | + <!-- minutes --></testMethodTimeout> |
423 | 445 | <!-- Presumably we want watchFileChanges=false here, since we want it for compile: --> |
424 | 446 | <extraJvmArgs>-Dgwt.watchFileChanges=false</extraJvmArgs> |
425 | 447 | </configuration> |
|
0 commit comments