Skip to content

Commit 89be13d

Browse files
denis-yuenclaude
andcommitted
Bump nextflow-parsing to Java 21 and align versions with dockstore
- Java 11 -> 21 (pom and template.yaml runtime java21) - Groovy 3.0.8 -> 3.0.25 (3.0.8 cannot read Java 21 class files) - fmt-maven-plugin -> com.spotify.fmt 2.29, dependency plugin 3.6.1, spotbugs 4.8.3.1, surefire/failsafe 3.5.3, compiler plugin 3.12.1 - jackson 2.22.1, guava 33.6.0-jre, slf4j-api 2.0.18, junit 5.9.1 - Ignore EI_EXPOSE_REP findings on NextflowHandler Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
1 parent 77f27be commit 89be13d

3 files changed

Lines changed: 21 additions & 16 deletions

File tree

‎nextflow-parsing/NextflowParsingFunction/ignore.xml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,9 @@
1313
<Match>
1414
<Source name="ApiClient.java"/>
1515
</Match>
16+
<!-- NextflowHandler is a simple bean; newer SpotBugs flags its getters/setters -->
17+
<Match>
18+
<Class name="io.dockstore.nextflowparsing.NextflowHandler"/>
19+
<Bug pattern="EI_EXPOSE_REP,EI_EXPOSE_REP2"/>
20+
</Match>
1621
</FindBugsFilter>

‎nextflow-parsing/NextflowParsingFunction/pom.xml‎

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
<packaging>jar</packaging>
99
<name>Nextflow parser created for SAM CLI.</name>
1010
<properties>
11-
<maven-plugin-version>3.0.0-M5</maven-plugin-version>
12-
<maven.compiler.source>11</maven.compiler.source>
13-
<maven.compiler.target>11</maven.compiler.target>
14-
<junit-version>5.7.2</junit-version>
11+
<maven-plugin-version>3.5.3</maven-plugin-version>
12+
<maven.compiler.source>21</maven.compiler.source>
13+
<maven.compiler.target>21</maven.compiler.target>
14+
<junit-version>5.9.1</junit-version>
1515
<jersey-version>2.34</jersey-version>
16-
<jackson-version>2.22.0</jackson-version>
16+
<jackson-version>2.22.1</jackson-version>
1717
</properties>
1818
<repositories>
1919
<repository>
@@ -83,17 +83,17 @@
8383
<dependency>
8484
<groupId>org.slf4j</groupId>
8585
<artifactId>slf4j-api</artifactId>
86-
<version>1.7.31</version>
86+
<version>2.0.18</version>
8787
</dependency>
8888
<dependency>
8989
<groupId>com.google.guava</groupId>
9090
<artifactId>guava</artifactId>
91-
<version>32.0.0-jre</version>
91+
<version>33.6.0-jre</version>
9292
</dependency>
9393
<dependency>
9494
<groupId>org.codehaus.groovy</groupId>
9595
<artifactId>groovy</artifactId>
96-
<version>3.0.8</version>
96+
<version>3.0.25</version>
9797
</dependency>
9898
<dependency>
9999
<groupId>io.dockstore</groupId>
@@ -135,7 +135,7 @@
135135
</execution>
136136
</executions>
137137
<groupId>org.apache.maven.plugins</groupId>
138-
<version>3.2.0</version>
138+
<version>3.6.1</version>
139139
</plugin>
140140
<plugin>
141141
<artifactId>spotbugs-maven-plugin</artifactId>
@@ -150,7 +150,7 @@
150150
</execution>
151151
</executions>
152152
<groupId>com.github.spotbugs</groupId>
153-
<version>4.0.4</version>
153+
<version>4.8.3.1</version>
154154
</plugin>
155155
<plugin>
156156
<artifactId>maven-checkstyle-plugin</artifactId>
@@ -189,8 +189,8 @@
189189
</goals>
190190
</execution>
191191
</executions>
192-
<groupId>com.coveo</groupId>
193-
<version>2.10</version>
192+
<groupId>com.spotify.fmt</groupId>
193+
<version>2.29</version>
194194
</plugin>
195195
<plugin>
196196
<artifactId>maven-shade-plugin</artifactId>
@@ -210,10 +210,10 @@
210210
<plugin>
211211
<artifactId>maven-compiler-plugin</artifactId>
212212
<groupId>org.apache.maven.plugins</groupId>
213-
<version>3.8.1</version>
213+
<version>3.12.1</version>
214214
<configuration>
215-
<source>11</source>
216-
<target>11</target>
215+
<source>21</source>
216+
<target>21</target>
217217
</configuration>
218218
</plugin>
219219
</plugins>

‎nextflow-parsing/template.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Resources:
1616
Properties:
1717
CodeUri: NextflowParsingFunction
1818
Handler: helloworld.App::handleRequest
19-
Runtime: java11
19+
Runtime: java21
2020
MemorySize: 512
2121
Environment: # More info about Env Vars: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#environment-object
2222
Variables:

0 commit comments

Comments
 (0)