Skip to content

Commit f26c360

Browse files
committed
Make Jesque Web run
1 parent 27bdaf6 commit f26c360

File tree

6 files changed

+539
-514
lines changed

6 files changed

+539
-514
lines changed

.vscode/settings.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"java.compile.nullAnalysis.mode": "automatic",
3+
"java.configuration.updateBuildConfiguration": "automatic"
4+
}

pom.xml

Lines changed: 83 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -19,26 +19,6 @@
1919
</prerequisites>
2020
<properties>
2121
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
22-
<java.version>1.7</java.version>
23-
<!-- dependency version properties -->
24-
<ch.qos.logback.classic.version>1.1.3</ch.qos.logback.classic.version>
25-
<javax.servlet.api.version>3.1.0</javax.servlet.api.version>
26-
<javax.servlet.jstl.version>1.1.2</javax.servlet.jstl.version>
27-
<junit.version>4.12</junit.version>
28-
<net.greghaines.jesque.version>2.0.2</net.greghaines.jesque.version>
29-
<org.tuckey.urlrewritefilter.version>4.0.4</org.tuckey.urlrewritefilter.version>
30-
<org.aspectj.version>1.8.6</org.aspectj.version>
31-
<org.slf4j.version>1.7.12</org.slf4j.version>
32-
<org.springframework.version>4.1.6.RELEASE</org.springframework.version>
33-
<redis.clients.jedis.version>2.7.2</redis.clients.jedis.version>
34-
<taglibs.standard.version>1.1.2</taglibs.standard.version>
35-
<!-- plugin version properties -->
36-
<org.apache.maven.plugins.compiler.version>3.3</org.apache.maven.plugins.compiler.version>
37-
<org.apache.maven.plugins.javadoc.version>2.10.3</org.apache.maven.plugins.javadoc.version>
38-
<org.apache.maven.plugins.release.version>2.5.2</org.apache.maven.plugins.release.version>
39-
<org.apache.maven.plugins.source.version>2.4</org.apache.maven.plugins.source.version>
40-
<org.apache.maven.plugins.war.version>2.6</org.apache.maven.plugins.war.version>
41-
<org.mortbay.jetty.maven.plugin.version>8.1.16.v20140903</org.mortbay.jetty.maven.plugin.version>
4222
</properties>
4323
<licenses>
4424
<license>
@@ -78,15 +58,14 @@
7858
<build>
7959
<plugins>
8060
<plugin>
81-
<groupId>org.mortbay.jetty</groupId>
61+
<groupId>org.eclipse.jetty</groupId>
8262
<artifactId>jetty-maven-plugin</artifactId>
83-
<version>${org.mortbay.jetty.maven.plugin.version}</version>
63+
<version>11.0.26</version>
8464
<configuration>
85-
<scanIntervalSeconds>10</scanIntervalSeconds>
86-
<webAppConfig>
65+
<scan>10</scan>
66+
<webApp>
8767
<contextPath>/</contextPath>
88-
</webAppConfig>
89-
<webAppSourceDirectory>${project.build.directory}/${project.build.finalName}</webAppSourceDirectory>
68+
</webApp>
9069
</configuration>
9170
<executions>
9271
<execution>
@@ -103,53 +82,82 @@
10382
</profile>
10483
</profiles>
10584
<build>
106-
<plugins>
107-
<plugin>
108-
<groupId>org.apache.maven.plugins</groupId>
109-
<artifactId>maven-compiler-plugin</artifactId>
110-
<version>${org.apache.maven.plugins.compiler.version}</version>
111-
<configuration>
112-
<source>${java.version}</source>
113-
<target>${java.version}</target>
114-
</configuration>
115-
</plugin>
116-
<plugin>
117-
<groupId>org.apache.maven.plugins</groupId>
118-
<artifactId>maven-war-plugin</artifactId>
119-
<version>${org.apache.maven.plugins.war.version}</version>
120-
</plugin>
121-
<plugin>
122-
<groupId>org.apache.maven.plugins</groupId>
123-
<artifactId>maven-release-plugin</artifactId>
124-
<version>${org.apache.maven.plugins.release.version}</version>
125-
</plugin>
126-
<plugin>
127-
<groupId>org.apache.maven.plugins</groupId>
128-
<artifactId>maven-source-plugin</artifactId>
129-
<version>${org.apache.maven.plugins.source.version}</version>
130-
</plugin>
131-
<plugin>
132-
<groupId>org.apache.maven.plugins</groupId>
133-
<artifactId>maven-javadoc-plugin</artifactId>
134-
<version>${org.apache.maven.plugins.javadoc.version}</version>
135-
</plugin>
136-
</plugins>
85+
<pluginManagement>
86+
<plugins>
87+
<plugin>
88+
<groupId>org.apache.maven.plugins</groupId>
89+
<artifactId>maven-compiler-plugin</artifactId>
90+
<version>3.14.1</version>
91+
<configuration>
92+
<release>17</release>
93+
</configuration>
94+
</plugin>
95+
<plugin>
96+
<groupId>org.apache.maven.plugins</groupId>
97+
<artifactId>maven-war-plugin</artifactId>
98+
<version>3.5.1</version>
99+
</plugin>
100+
<plugin>
101+
<groupId>org.apache.maven.plugins</groupId>
102+
<artifactId>maven-release-plugin</artifactId>
103+
<version>3.3.1</version>
104+
<configuration>
105+
<autoVersionSubmodules>true</autoVersionSubmodules>
106+
<useReleaseProfile>false</useReleaseProfile>
107+
<releaseProfiles>release</releaseProfiles>
108+
<goals>deploy</goals>
109+
</configuration>
110+
</plugin>
111+
<plugin>
112+
<groupId>org.apache.maven.plugins</groupId>
113+
<artifactId>maven-source-plugin</artifactId>
114+
<version>3.4.0</version>
115+
</plugin>
116+
<plugin>
117+
<groupId>com.spotify.fmt</groupId>
118+
<artifactId>fmt-maven-plugin</artifactId>
119+
<version>2.29</version>
120+
<executions>
121+
<execution>
122+
<goals>
123+
<goal>format</goal>
124+
</goals>
125+
</execution>
126+
</executions>
127+
<dependencies>
128+
<dependency>
129+
<groupId>com.google.googlejavaformat</groupId>
130+
<artifactId>google-java-format</artifactId>
131+
<version>1.33.0</version>
132+
</dependency>
133+
</dependencies>
134+
</plugin>
135+
<plugin>
136+
<groupId>org.apache.maven.plugins</groupId>
137+
<artifactId>maven-javadoc-plugin</artifactId>
138+
<version>3.12.0</version>
139+
<configuration>
140+
<javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
141+
</configuration>
142+
</plugin>
143+
</plugins>
144+
</pluginManagement>
137145
</build>
138146
<dependencies>
139147
<dependency>
140148
<groupId>net.greghaines</groupId>
141149
<artifactId>jesque</artifactId>
142-
<version>${net.greghaines.jesque.version}</version>
150+
<version>2.3.0</version>
143151
</dependency>
144152
<dependency>
145153
<groupId>redis.clients</groupId>
146154
<artifactId>jedis</artifactId>
147-
<version>${redis.clients.jedis.version}</version>
155+
<version>3.10.0</version>
148156
</dependency>
149157
<dependency>
150158
<groupId>org.aspectj</groupId>
151159
<artifactId>aspectjrt</artifactId>
152-
<version>${org.aspectj.version}</version>
160+
<version>1.9.25.1</version>
153161
</dependency>
154162
<dependency>
155163
<groupId>org.springframework</groupId>
@@ -172,50 +180,49 @@
172180
</exclusions>
173181
</dependency>
174182
<dependency>
175-
<groupId>org.tuckey</groupId>
176-
<artifactId>urlrewritefilter</artifactId>
177-
<version>${org.tuckey.urlrewritefilter.version}</version>
178-
<scope>runtime</scope>
183+
<groupId>jakarta.annotation</groupId>
184+
<artifactId>jakarta.annotation-api</artifactId>
185+
<version>3.0.0</version>
179186
</dependency>
180187
<dependency>
181188
<groupId>javax.servlet</groupId>
182189
<artifactId>jstl</artifactId>
183-
<version>${javax.servlet.jstl.version}</version>
190+
<version>1.1.2</version>
184191
</dependency>
185192
<dependency>
186-
<groupId>taglibs</groupId>
187-
<artifactId>standard</artifactId>
188-
<version>${taglibs.standard.version}</version>
193+
<groupId>org.tuckey</groupId>
194+
<artifactId>urlrewritefilter</artifactId>
195+
<version>5.1.3</version>
189196
<scope>runtime</scope>
190197
</dependency>
191198
<dependency>
192199
<groupId>org.slf4j</groupId>
193200
<artifactId>slf4j-api</artifactId>
194-
<version>${org.slf4j.version}</version>
201+
<version>2.0.17</version>
195202
<scope>compile</scope>
196203
</dependency>
197204
<dependency>
198205
<groupId>org.slf4j</groupId>
199206
<artifactId>jcl-over-slf4j</artifactId>
200-
<version>${org.slf4j.version}</version>
207+
<version>2.0.17</version>
201208
<scope>runtime</scope>
202209
</dependency>
203210
<dependency>
204211
<groupId>ch.qos.logback</groupId>
205212
<artifactId>logback-classic</artifactId>
206-
<version>${ch.qos.logback.classic.version}</version>
213+
<version>1.5.24</version>
207214
<scope>runtime</scope>
208215
</dependency>
209216
<dependency>
210-
<groupId>javax.servlet</groupId>
211-
<artifactId>javax.servlet-api</artifactId>
212-
<version>${javax.servlet.api.version}</version>
217+
<groupId>jakarta.servlet</groupId>
218+
<artifactId>jakarta.servlet-api</artifactId>
219+
<version>6.1.0</version>
213220
<scope>provided</scope>
214221
</dependency>
215222
<dependency>
216223
<groupId>junit</groupId>
217224
<artifactId>junit</artifactId>
218-
<version>${junit.version}</version>
225+
<version>4.13.2</version>
219226
<scope>test</scope>
220227
</dependency>
221228
</dependencies>
@@ -224,7 +231,7 @@
224231
<dependency>
225232
<groupId>org.springframework</groupId>
226233
<artifactId>spring-framework-bom</artifactId>
227-
<version>${org.springframework.version}</version>
234+
<version>7.0.2</version>
228235
<type>pom</type>
229236
<scope>import</scope>
230237
</dependency>

0 commit comments

Comments
 (0)