Skip to content

Commit d61e5f1

Browse files
committed
Update dependencies and plugins
1 parent fdfbd17 commit d61e5f1

File tree

9 files changed

+27
-31
lines changed

9 files changed

+27
-31
lines changed

pom.xml

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
<dependency>
9090
<groupId>org.apache.maven.plugin-tools</groupId>
9191
<artifactId>maven-plugin-annotations</artifactId>
92-
<version>3.5.2</version>
92+
<version>3.6.2</version>
9393
<scope>provided</scope>
9494
</dependency>
9595
<dependency>
@@ -100,17 +100,17 @@
100100
<dependency>
101101
<groupId>org.codehaus.plexus</groupId>
102102
<artifactId>plexus-archiver</artifactId>
103-
<version>3.6.0</version>
103+
<version>4.2.7</version>
104104
</dependency>
105105
<dependency>
106106
<groupId>org.codehaus.plexus</groupId>
107107
<artifactId>plexus-utils</artifactId>
108-
<version>3.1.0</version>
108+
<version>3.4.1</version>
109109
</dependency>
110110
<dependency>
111111
<groupId>org.codehaus.plexus</groupId>
112112
<artifactId>plexus-compiler-api</artifactId>
113-
<version>2.8.5</version>
113+
<version>2.9.0</version>
114114
</dependency>
115115
<dependency>
116116
<groupId>org.apache.maven</groupId>
@@ -120,12 +120,12 @@
120120
<dependency>
121121
<groupId>org.apache.maven</groupId>
122122
<artifactId>maven-archiver</artifactId>
123-
<version>3.2.0</version>
123+
<version>3.5.1</version>
124124
</dependency>
125125
<dependency>
126126
<groupId>org.apache.maven.surefire</groupId>
127127
<artifactId>maven-surefire-common</artifactId>
128-
<version>2.22.1</version>
128+
<version>2.22.2</version>
129129
<exclusions>
130130
<exclusion>
131131
<groupId>org.apache.maven</groupId>
@@ -175,7 +175,7 @@
175175
<plugin>
176176
<groupId>org.apache.maven.plugins</groupId>
177177
<artifactId>maven-compiler-plugin</artifactId>
178-
<version>3.8.0</version>
178+
<version>3.8.1</version>
179179
<configuration>
180180
<source>${targetJdk}</source>
181181
<target>${targetJdk}</target>
@@ -192,7 +192,7 @@
192192
<plugin>
193193
<groupId>org.apache.maven.plugins</groupId>
194194
<artifactId>maven-plugin-plugin</artifactId>
195-
<version>3.5.2</version>
195+
<version>3.6.2</version>
196196
<configuration>
197197
<goalPrefix>gwt</goalPrefix>
198198
</configuration>
@@ -230,9 +230,8 @@
230230
<gwtVersion>${gwtVersion}</gwtVersion>
231231
</filterProperties>
232232
<extraArtifacts>
233-
<artifact>org.apache.maven.plugins:maven-compiler-plugin:3.8.0:maven-plugin</artifact>
234-
<artifact>org.apache.maven.plugins:maven-source-plugin:3.0.1:maven-plugin</artifact>
235-
<artifact>org.codehaus.mojo:build-helper-maven-plugin:3.0.0:maven-plugin</artifact>
233+
<artifact>org.apache.maven.plugins:maven-compiler-plugin:3.8.1:maven-plugin</artifact>
234+
<artifact>org.apache.maven.plugins:maven-source-plugin:3.2.1:maven-plugin</artifact>
236235
<artifact>org.apache.maven.plugins:maven-antrun-plugin:3.0.0:maven-plugin</artifact>
237236
<artifact>com.google.guava:guava:19.0</artifact>
238237
<artifact>com.google.guava:guava-gwt:19.0</artifact>
@@ -246,12 +245,12 @@
246245
<plugin>
247246
<groupId>org.apache.maven.plugins</groupId>
248247
<artifactId>maven-site-plugin</artifactId>
249-
<version>3.7.1</version>
248+
<version>3.10.0</version>
250249
<dependencies>
251250
<dependency>
252251
<groupId>org.apache.maven.doxia</groupId>
253252
<artifactId>doxia-module-markdown</artifactId>
254-
<version>1.8</version>
253+
<version>1.11.1</version>
255254
</dependency>
256255
<dependency>
257256
<groupId>com.github.stephenc.wagon</groupId>
@@ -290,20 +289,20 @@
290289
<plugin>
291290
<groupId>org.apache.maven.plugins</groupId>
292291
<artifactId>maven-plugin-plugin</artifactId>
293-
<version>3.5.2</version>
292+
<version>3.6.2</version>
294293
</plugin>
295294
<plugin>
296295
<groupId>org.apache.maven.plugins</groupId>
297296
<artifactId>maven-project-info-reports-plugin</artifactId>
298-
<version>3.0.0</version>
297+
<version>3.1.2</version>
299298
<configuration>
300299
<skip>true</skip>
301300
</configuration>
302301
</plugin>
303302
<plugin>
304303
<groupId>org.apache.maven.plugins</groupId>
305304
<artifactId>maven-javadoc-plugin</artifactId>
306-
<version>3.0.1</version>
305+
<version>3.3.1</version>
307306
</plugin>
308307
</plugins>
309308
</reporting>
@@ -342,7 +341,7 @@
342341
<plugin>
343342
<groupId>org.apache.maven.plugins</groupId>
344343
<artifactId>maven-enforcer-plugin</artifactId>
345-
<version>1.4.1</version>
344+
<version>3.0.0</version>
346345
<executions>
347346
<execution>
348347
<goals>
@@ -365,7 +364,7 @@
365364
<plugin>
366365
<groupId>org.apache.maven.plugins</groupId>
367366
<artifactId>maven-source-plugin</artifactId>
368-
<version>3.0.1</version>
367+
<version>3.2.1</version>
369368
<executions>
370369
<execution>
371370
<id>attach-sources</id>
@@ -390,7 +389,7 @@
390389
<plugin>
391390
<groupId>org.apache.maven.plugins</groupId>
392391
<artifactId>maven-gpg-plugin</artifactId>
393-
<version>1.6</version>
392+
<version>3.0.1</version>
394393
<executions>
395394
<execution>
396395
<id>sign-artifacts</id>

src/it/e2e/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
<plugin>
6868
<groupId>org.apache.maven.plugins</groupId>
6969
<artifactId>maven-compiler-plugin</artifactId>
70-
<version>3.8.0</version>
70+
<version>3.8.1</version>
7171
<configuration>
7272
<source>1.7</source>
7373
<target>1.7</target>
@@ -76,7 +76,7 @@
7676
<plugin>
7777
<groupId>org.apache.maven.plugins</groupId>
7878
<artifactId>maven-source-plugin</artifactId>
79-
<version>3.0.1</version>
79+
<version>3.2.1</version>
8080
<executions>
8181
<execution>
8282
<id>attach-sources</id>

src/it/forceCompilation/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
<plugin>
5050
<groupId>org.apache.maven.plugins</groupId>
5151
<artifactId>maven-compiler-plugin</artifactId>
52-
<version>3.8.0</version>
52+
<version>3.8.1</version>
5353
<configuration>
5454
<source>1.7</source>
5555
<target>1.7</target>

src/it/gwt-app/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
<plugin>
8383
<groupId>org.apache.maven.plugins</groupId>
8484
<artifactId>maven-compiler-plugin</artifactId>
85-
<version>3.8.0</version>
85+
<version>3.8.1</version>
8686
<configuration>
8787
<source>1.7</source>
8888
<target>1.7</target>

src/it/gwt-lib/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
<plugin>
8080
<groupId>org.apache.maven.plugins</groupId>
8181
<artifactId>maven-compiler-plugin</artifactId>
82-
<version>3.8.0</version>
82+
<version>3.8.1</version>
8383
<configuration>
8484
<source>1.7</source>
8585
<target>1.7</target>

src/it/skipCompilation/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<plugin>
4848
<groupId>org.apache.maven.plugins</groupId>
4949
<artifactId>maven-compiler-plugin</artifactId>
50-
<version>3.8.0</version>
50+
<version>3.8.1</version>
5151
<configuration>
5252
<source>1.7</source>
5353
<target>1.7</target>

src/it/staleness-check-2/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
<plugin>
6565
<groupId>org.apache.maven.plugins</groupId>
6666
<artifactId>maven-compiler-plugin</artifactId>
67-
<version>3.8.0</version>
67+
<version>3.8.1</version>
6868
<configuration>
6969
<source>1.7</source>
7070
<target>1.7</target>

src/it/staleness-check/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<plugin>
4949
<groupId>org.apache.maven.plugins</groupId>
5050
<artifactId>maven-compiler-plugin</artifactId>
51-
<version>3.8.0</version>
51+
<version>3.8.1</version>
5252
<configuration>
5353
<source>1.7</source>
5454
<target>1.7</target>

src/main/java/net/ltgt/gwt/maven/GenerateModuleMojo.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,8 @@ public void execute() throws MojoExecutionException, MojoFailureException {
153153
}
154154

155155
outputFile.getParentFile().mkdirs();
156-
Writer writer = null;
156+
StringWriter writer = new StringWriter();
157157
try {
158-
writer = new StringWriter();
159158
XMLWriter xmlWriter = new PrettyPrintXMLWriter(writer);
160159

161160
xmlWriter.startElement("module");
@@ -215,8 +214,6 @@ public void execute() throws MojoExecutionException, MojoFailureException {
215214
xmlWriter.endElement(); // module
216215
} catch (IOException e) {
217216
throw new MojoExecutionException(e.getMessage(), e);
218-
} finally {
219-
IOUtil.close(writer);
220217
}
221218

222219
try {

0 commit comments

Comments
 (0)