Skip to content

Commit c9aba39

Browse files
committed
Update.
1 parent fd10113 commit c9aba39

File tree

3 files changed

+42
-22
lines changed

3 files changed

+42
-22
lines changed

.github/workflows/sonar.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
with:
1717
distribution: temurin
1818
java-version: 17
19-
- run: mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent verify sonar:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=albertus82-github -B -V -e -ntp
19+
- run: mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=albertus82-github -B -V -e -ntp
2020
env:
2121
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2222
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

pom.xml

Lines changed: 32 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<groupId>io.github.albertus82</groupId>
99
<artifactId>jface-utils</artifactId>
10-
<version>20.1.1-SNAPSHOT</version>
10+
<version>20.2.0-SNAPSHOT</version>
1111
<name>JFaceUtils</name>
1212
<url>https://github.com/albertus82/jface-utils</url>
1313
<description>Java SWT/JFace Utility Library including a Preferences Framework, Lightweight HTTP Server and macOS support.</description>
@@ -43,7 +43,7 @@
4343
<maven.compiler.showWarnings>true</maven.compiler.showWarnings>
4444
<project.build.outputTimestamp>${git.commit.time}</project.build.outputTimestamp>
4545
<maven.version.rules>${project.baseUri}maven-version-rules.xml</maven.version.rules>
46-
<swt.version>3.125.0</swt.version>
46+
<swt.version>3.132.0</swt.version>
4747
</properties>
4848

4949
<profiles>
@@ -219,7 +219,7 @@
219219
<dependency>
220220
<groupId>org.eclipse.platform</groupId>
221221
<artifactId>org.eclipse.jface</artifactId>
222-
<version>3.33.0</version>
222+
<version>3.38.100</version>
223223
<exclusions>
224224
<exclusion>
225225
<groupId>org.eclipse.platform</groupId>
@@ -230,12 +230,18 @@
230230
<dependency>
231231
<groupId>org.eclipse.platform</groupId>
232232
<artifactId>org.eclipse.core.commands</artifactId>
233-
<version>3.12.0</version>
233+
<version>3.12.500</version>
234234
</dependency>
235235
<dependency>
236236
<groupId>org.eclipse.platform</groupId>
237237
<artifactId>org.eclipse.equinox.common</artifactId>
238-
<version>3.19.0</version>
238+
<version>3.20.300</version>
239+
</dependency>
240+
<dependency>
241+
<groupId>org.eclipse.platform</groupId>
242+
<artifactId>org.eclipse.swt.svg</artifactId>
243+
<version>3.131.0</version>
244+
<scope>runtime</scope>
239245
</dependency>
240246
<dependency>
241247
<groupId>com.google.code.findbugs</groupId>
@@ -260,7 +266,7 @@
260266
<dependency>
261267
<groupId>com.h2database</groupId>
262268
<artifactId>h2</artifactId>
263-
<version>2.2.224</version>
269+
<version>2.4.240</version>
264270
<scope>test</scope>
265271
</dependency>
266272
<dependency>
@@ -272,7 +278,7 @@
272278
<dependency>
273279
<groupId>commons-io</groupId>
274280
<artifactId>commons-io</artifactId>
275-
<version>2.16.1</version>
281+
<version>2.21.0</version>
276282
<scope>test</scope>
277283
</dependency>
278284
</dependencies>
@@ -297,15 +303,15 @@
297303
<plugin>
298304
<groupId>org.apache.maven.plugins</groupId>
299305
<artifactId>maven-compiler-plugin</artifactId>
300-
<version>3.13.0</version>
306+
<version>3.14.1</version>
301307
<configuration>
302308
<compilerArgument>-Xlint:all</compilerArgument>
303309
</configuration>
304310
</plugin>
305311
<plugin>
306312
<groupId>io.github.git-commit-id</groupId>
307313
<artifactId>git-commit-id-maven-plugin</artifactId>
308-
<version>8.0.2</version>
314+
<version>9.0.2</version>
309315
<executions>
310316
<execution>
311317
<goals>
@@ -323,7 +329,7 @@
323329
<plugin>
324330
<groupId>org.apache.maven.plugins</groupId>
325331
<artifactId>maven-enforcer-plugin</artifactId>
326-
<version>3.4.1</version>
332+
<version>3.6.2</version>
327333
<executions>
328334
<execution>
329335
<goals>
@@ -353,7 +359,7 @@
353359
<plugin>
354360
<groupId>org.apache.maven.plugins</groupId>
355361
<artifactId>maven-resources-plugin</artifactId>
356-
<version>3.3.1</version>
362+
<version>3.4.0</version>
357363
<configuration>
358364
<encoding>UTF-8</encoding>
359365
<propertiesEncoding>UTF-8</propertiesEncoding>
@@ -367,7 +373,7 @@
367373
<plugin>
368374
<groupId>org.apache.maven.plugins</groupId>
369375
<artifactId>maven-jar-plugin</artifactId>
370-
<version>3.4.0</version>
376+
<version>3.5.0</version>
371377
<configuration>
372378
<archive>
373379
<manifestEntries>
@@ -386,7 +392,7 @@
386392
<plugin>
387393
<groupId>org.apache.maven.plugins</groupId>
388394
<artifactId>maven-source-plugin</artifactId>
389-
<version>3.3.1</version>
395+
<version>3.4.0</version>
390396
<executions>
391397
<execution>
392398
<id>attach-sources</id>
@@ -400,7 +406,7 @@
400406
<plugin>
401407
<groupId>org.apache.maven.plugins</groupId>
402408
<artifactId>maven-javadoc-plugin</artifactId>
403-
<version>3.6.3</version>
409+
<version>3.12.0</version>
404410
<executions>
405411
<execution>
406412
<id>attach-javadocs</id>
@@ -414,7 +420,7 @@
414420
<plugin>
415421
<groupId>org.jacoco</groupId>
416422
<artifactId>jacoco-maven-plugin</artifactId>
417-
<version>0.8.12</version>
423+
<version>0.8.14</version>
418424
<executions>
419425
<execution>
420426
<id>default-prepare-agent</id>
@@ -434,7 +440,7 @@
434440
<plugin>
435441
<groupId>org.apache.maven.plugins</groupId>
436442
<artifactId>maven-antrun-plugin</artifactId>
437-
<version>3.1.0</version>
443+
<version>3.2.0</version>
438444
<executions>
439445
<execution>
440446
<phase>integration-test</phase>
@@ -466,7 +472,7 @@
466472
<plugin>
467473
<groupId>org.apache.maven.plugins</groupId>
468474
<artifactId>maven-gpg-plugin</artifactId>
469-
<version>3.2.3</version>
475+
<version>3.2.8</version>
470476
<executions>
471477
<execution>
472478
<id>sign-artifacts</id>
@@ -488,7 +494,7 @@
488494
<plugin>
489495
<groupId>org.apache.maven.plugins</groupId>
490496
<artifactId>maven-help-plugin</artifactId>
491-
<version>3.4.0</version>
497+
<version>3.5.1</version>
492498
<executions>
493499
<execution>
494500
<?m2e ignore?>
@@ -503,7 +509,7 @@
503509
<plugin>
504510
<groupId>org.codehaus.mojo</groupId>
505511
<artifactId>versions-maven-plugin</artifactId>
506-
<version>2.16.2</version>
512+
<version>2.20.1</version>
507513
<executions>
508514
<execution>
509515
<phase>verify</phase>
@@ -519,7 +525,7 @@
519525
<plugin>
520526
<groupId>org.codehaus.mojo</groupId>
521527
<artifactId>flatten-maven-plugin</artifactId>
522-
<version>1.6.0</version>
528+
<version>1.7.3</version>
523529
<configuration>
524530
<flattenMode>ossrh</flattenMode>
525531
<pomElements>
@@ -551,7 +557,12 @@
551557
<plugin>
552558
<groupId>org.apache.maven.plugins</groupId>
553559
<artifactId>maven-surefire-plugin</artifactId>
554-
<version>3.2.5</version>
560+
<version>3.5.4</version>
561+
</plugin>
562+
<plugin>
563+
<groupId>org.sonarsource.scanner.maven</groupId>
564+
<artifactId>sonar-maven-plugin</artifactId>
565+
<version>5.5.0.6356</version>
555566
</plugin>
556567
</plugins>
557568
</pluginManagement>

src/test/java/io/github/albertus82/jface/sysinfo/SystemInformationDialogTest.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,15 @@ public static void beforeAll() {
2424
log.log(Level.WARNING, "SecurityManager detected, ignoring test {0}.", SystemInformationDialogTest.class);
2525
skip = true;
2626
}
27+
else {
28+
try {
29+
System.setSecurityManager(new SecurityManager());
30+
}
31+
catch (final UnsupportedOperationException e) {
32+
log.log(Level.WARNING, "SecurityManager deprecated, ignoring test {0}.", SystemInformationDialogTest.class);
33+
skip = true;
34+
}
35+
}
2736
}
2837

2938
@AfterClass

0 commit comments

Comments
 (0)