Skip to content

Commit b5b46d7

Browse files
committed
Deps have been updated
1 parent eb43dc4 commit b5b46d7

File tree

2 files changed

+18
-17
lines changed

2 files changed

+18
-17
lines changed

pom.xml

+17-16
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,17 @@
55
<modelVersion>4.0.0</modelVersion>
66

77
<groupId>net.unixcode.rts</groupId>
8-
<artifactId>parser</artifactId>
8+
<artifactId>stf-parser</artifactId>
99
<version>0.3.0</version>
1010

1111
<properties>
12-
<maven.compiler.source>17</maven.compiler.source>
13-
<maven.compiler.target>17</maven.compiler.target>
12+
<maven.compiler.source>21</maven.compiler.source>
13+
<maven.compiler.target>21</maven.compiler.target>
1414
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15-
<org.springframework.version>6.0.12</org.springframework.version>
16-
<org.antlr.version>4.13.1</org.antlr.version>
17-
<org.junit.version>5.10.0</org.junit.version>
15+
<org.springframework.version>6.2.5</org.springframework.version>
16+
<org.antlr.version>4.13.2</org.antlr.version>
17+
<org.junit.version>5.12.1</org.junit.version>
18+
<net.sf.saxon.version>12.5</net.sf.saxon.version>
1819
<mvnMainClass>net.unixcode.rts.parser.Main</mvnMainClass>
1920
</properties>
2021

@@ -32,10 +33,10 @@
3233
<plugin>
3334
<groupId>org.apache.maven.plugins</groupId>
3435
<artifactId>maven-compiler-plugin</artifactId>
35-
<version>3.11.0</version>
36+
<version>3.14.0</version>
3637
<configuration>
37-
<source>17</source>
38-
<target>17</target>
38+
<source>21</source>
39+
<target>21</target>
3940
<showWarnings>true</showWarnings>
4041
<showDeprecation>true</showDeprecation>
4142
<compilerArgs>
@@ -47,7 +48,7 @@
4748
<plugin>
4849
<groupId>org.antlr</groupId>
4950
<artifactId>antlr4-maven-plugin</artifactId>
50-
<version>4.13.0</version>
51+
<version>4.13.2</version>
5152
<configuration>
5253
<outputDirectory>src/main/java/net/unixcode/rts/parser/antlr/stf</outputDirectory>
5354
</configuration>
@@ -83,7 +84,7 @@
8384
<plugin>
8485
<groupId>org.apache.maven.plugins</groupId>
8586
<artifactId>maven-assembly-plugin</artifactId>
86-
<version>3.6.0</version>
87+
<version>3.7.1</version>
8788
<configuration>
8889
<descriptorRefs>
8990
<descriptorRef>jar-with-dependencies</descriptorRef>
@@ -131,32 +132,32 @@
131132
<dependency>
132133
<groupId>org.jetbrains</groupId>
133134
<artifactId>annotations</artifactId>
134-
<version>24.0.1</version>
135+
<version>26.0.2</version>
135136
<scope>compile</scope>
136137
</dependency>
137138

138139
<dependency>
139140
<groupId>commons-io</groupId>
140141
<artifactId>commons-io</artifactId>
141-
<version>2.13.0</version>
142+
<version>2.14.0</version>
142143
</dependency>
143144

144145
<dependency>
145146
<groupId>net.sf.saxon</groupId>
146147
<artifactId>Saxon-HE</artifactId>
147-
<version>12.3</version>
148+
<version>${net.sf.saxon.version}</version>
148149
</dependency>
149150

150151
<dependency>
151152
<groupId>org.slf4j</groupId>
152153
<artifactId>slf4j-api</artifactId>
153-
<version>2.0.9</version>
154+
<version>2.0.17</version>
154155
</dependency>
155156

156157
<dependency>
157158
<groupId>org.slf4j</groupId>
158159
<artifactId>slf4j-simple</artifactId>
159-
<version>2.0.9</version>
160+
<version>2.0.17</version>
160161
</dependency>
161162
</dependencies>
162163
</project>

src/main/java/net/unixcode/rts/parser/compiler/DefaultCompilerRunner.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public DefaultCompilerRunner(ICompilerFactory compilerFactory, ICompilerStrategy
3333
*/
3434
public void run() {
3535
if (argv == null) {
36-
throw new IllegalArgumentException("Sources not set.");
36+
throw new IllegalArgumentException("Sources are not set.");
3737
}
3838

3939
var compiler = compilerFactory.get();

0 commit comments

Comments
 (0)