Skip to content
Open
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
46de7c9
openrewrite
axl8713 Jan 21, 2026
394bcee
not yet ready for jackson3
axl8713 May 6, 2026
bc1705c
jakarta
axl8713 May 6, 2026
db43ba0
spring security filters
axl8713 May 12, 2026
25f2650
removed gzip compression filter due to incompatibility.
axl8713 May 12, 2026
7eaafc8
tomcat 10
axl8713 May 12, 2026
43a721b
cargo upgrade and logging settings.
axl8713 May 13, 2026
d19e7fc
jakarta servlet 6 and tomcat 11
axl8713 May 18, 2026
8e2690b
mapfish-print upgrade
axl8713 May 18, 2026
c71335b
pom template alignment
axl8713 May 18, 2026
e258358
Merge branch 'master' into spring7
axl8713 May 26, 2026
83b3ac6
moved github workflows to JDK 21.
axl8713 May 26, 2026
30bd1f1
Merge branch 'master' into spring7
axl8713 May 26, 2026
d0e8722
Merge branch 'master' into spring7
axl8713 Jun 16, 2026
4326ade
Bumped jackson to 2.19.4.
axl8713 Jun 16, 2026
dde64a7
Set JDK 17 as minimum supported version.
axl8713 Jun 16, 2026
d914048
Merge branch 'master' into spring7
axl8713 Jun 17, 2026
295ddcb
Merge branch 'master' into spring7
axl8713 Jun 18, 2026
73484ee
Merge branch 'master' into spring7
axl8713 Jun 18, 2026
c080ca2
Merge branch 'master' into spring7
axl8713 Jun 22, 2026
3ffd3bb
Set jakarta version to 6.0.
axl8713 Jun 22, 2026
c272d2a
Bumped spring version to latest releases.
axl8713 Jun 23, 2026
3e466f8
Bumped http-proxy to 1.7-SNAPSHOT.
axl8713 Jun 23, 2026
f364fc8
Fixed UploadPluginController temp files usage and simplified code.
axl8713 Jun 24, 2026
8129f4a
Merge branch 'master' into spring7
axl8713 Jun 24, 2026
6f438b6
Merge branch 'master' into spring7
tdipisa Jun 29, 2026
e85a75e
Updated pom templates.
axl8713 Jun 30, 2026
951b66d
Merge branch 'master' into spring7
axl8713 Jun 30, 2026
7542f14
Merge branch 'master' into spring7
axl8713 Jun 30, 2026
ce9f22a
Merge branch 'master' into spring7
axl8713 Jul 6, 2026
2c35603
Update developer guide for Spring 7 upgrade (#12560)
offtherailz Jul 9, 2026
4c0f2b2
Fix compositeOpenIdFilter position: OPENID_FILTER alias removed in Sp…
offtherailz Jul 9, 2026
0ed77d0
Fix project templates for Spring 7 / Jakarta EE 10
offtherailz Jul 15, 2026
ee3d7de
Merge branch 'master' into spring7
offtherailz Jul 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: ['11.x', '17.x', '21.x']
java-version: ['17.x', '21.x']
fail-fast: false
steps:
- name: "checking out"
Expand Down Expand Up @@ -110,19 +110,15 @@ jobs:
strategy:
matrix:
node-version: ['20.x', '22.x', '24.x']
java-version: ['11.x', '17.x', '21.x']
java-version: ['17.x', '21.x']
# Reduce the combinations to reduce the total number of jobs
exclude:
- node-version: '20.x'
java-version: '17.x'
- node-version: '20.x'
java-version: '21.x'
- node-version: '22.x'
java-version: '11.x'
- node-version: '22.x'
java-version: '21.x'
- node-version: '24.x'
java-version: '11.x'
- node-version: '24.x'
java-version: '17.x'
fail-fast: false
Expand Down Expand Up @@ -200,14 +196,14 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11.x'
java-version: '21.x'
############
# Publish
##########
- name: Set up Maven Central Repository
uses: actions/setup-java@v3
with:
java-version: '11'
java-version: '21'
Comment thread
axl8713 marked this conversation as resolved.
Outdated
distribution: 'temurin'
server-id: geosolutions
server-username: MAVEN_USERNAME
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11.x'
java-version: '21.x'
############
# CACHING
##########
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: "setting up Java"
uses: actions/setup-java@v1
with:
java-version: '11.x'
java-version: '21.x'
############
# CACHING
##########
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/post_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
script: |
core.setFailed('This workflow can not run on master branch')
- uses: actions/checkout@v3
- name: Set up JDK 11
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: '11.x'
java-version: '21.x'
distribution: 'adopt'
cache: maven

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pre_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ jobs:
script: |
core.setFailed('This workflow can not run on master branch')
- uses: actions/checkout@v3
- name: Set up JDK 11
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: '11.x'
java-version: '21.x'
distribution: 'adopt'
cache: maven

Expand Down
2 changes: 1 addition & 1 deletion binary/bin-war/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<url>http://www.geo-solutions.it</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<tomcat.version>9.0.116</tomcat.version>
<tomcat.version>11.0.22</tomcat.version>
<binary.number>${mapstore2.version}</binary.number>
</properties>

Expand Down
2 changes: 1 addition & 1 deletion binary/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<url>http://www.geo-solutions.it</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<tomcat.version>9.0.118</tomcat.version>
<tomcat.version>11.0.22</tomcat.version>
<binary.number>${mapstore2.version}</binary.number>
</properties>
<dependencies>
Expand Down
7 changes: 3 additions & 4 deletions binary/tomcat/conf/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,10 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
<web-app xmlns="https://jakarta.ee/xml/ns/jakartaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd"
version="4.0">
xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_6_0.xsd"
version="6.0">

<!-- ======================== Introduction ============================== -->
<!-- This document defines default values for *all* web applications -->
Expand Down
5 changes: 2 additions & 3 deletions java/services/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,9 @@
</dependency>

<!-- servlet -->
<!-- https://mvnrepository.com/artifact/javax.servlet/javax.servlet-api -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
</dependency>

<!-- json-lib -->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package it.geosolutions.mapstore.controllers;

import javax.servlet.ServletContext;
import jakarta.servlet.ServletContext;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
import java.io.IOException;
import java.nio.file.Paths;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;

import org.apache.commons.io.IOUtils;
import org.springframework.stereotype.Controller;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
import java.util.function.Predicate;
import java.util.stream.Stream;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;

import org.apache.commons.io.IOUtils;
import org.springframework.beans.factory.annotation.Value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,8 @@
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;


import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.InputStream;
import java.net.URI;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.ServletContext;
import jakarta.servlet.ServletContext;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package it.geosolutions.mapstore.filters;
import javax.servlet.*;
import javax.servlet.http.HttpServletResponse;
import jakarta.servlet.*;
import jakarta.servlet.http.HttpServletResponse;
import java.io.IOException;

public class NoCacheFilter implements Filter {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import java.util.function.Predicate;
import java.util.stream.Stream;

import javax.servlet.ServletContext;
import jakarta.servlet.ServletContext;

public class ResourceUtils {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import java.io.File;
import java.io.IOException;

import javax.servlet.ServletContext;
import jakarta.servlet.ServletContext;

import org.junit.Before;
import org.junit.Test;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import java.io.File;
import java.io.IOException;

import javax.servlet.ServletContext;
import jakarta.servlet.ServletContext;

import org.apache.commons.io.FileUtils;
import org.junit.Before;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import java.io.File;
import java.io.IOException;

import javax.servlet.ServletContext;
import jakarta.servlet.ServletContext;

import org.apache.commons.io.FileUtils;
import org.junit.Before;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import org.mockito.Mockito;
import org.mockito.stubbing.Answer;

import javax.servlet.ServletContext;
import jakarta.servlet.ServletContext;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
import org.junit.Test;

import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.FilterChain;
import javax.servlet.http.HttpServletResponse;
import jakarta.servlet.ServletException;
import jakarta.servlet.ServletRequest;
import jakarta.servlet.ServletResponse;
import jakarta.servlet.FilterChain;
import jakarta.servlet.http.HttpServletResponse;

import static org.mockito.Mockito.*;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import java.io.IOException;
import java.util.Optional;

import javax.servlet.ServletContext;
import jakarta.servlet.ServletContext;

import org.junit.Before;
import org.junit.Test;
Expand Down
18 changes: 4 additions & 14 deletions java/web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,22 +50,12 @@
</dependency>
<!-- servlet -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
</dependency>
<!-- gzip compression filter -->
<dependency>
<groupId>net.sf.ehcache</groupId>
<artifactId>ehcache-web</artifactId>
</dependency>
<!-- misc -->
<dependency>
<groupId>commons-pool</groupId>
<artifactId>commons-pool</artifactId>
</dependency>
<dependency>
<groupId>javax.xml.ws</groupId>
<artifactId>jaxws-api</artifactId>
<groupId>jakarta.xml.ws</groupId>
<artifactId>jakarta.xml.ws-api</artifactId>
</dependency>
</dependencies>

Expand Down
2 changes: 1 addition & 1 deletion java/web/src/main/webapp/WEB-INF/configs-servlet.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd">
<security:global-method-security secured-annotations="enabled" />
<security:method-security secured-enabled="true"/>
<mvc:annotation-driven/>
<context:component-scan base-package="it.geosolutions.mapstore.controllers.configs" />
<!-- TODO: remove these duplucations -->
Expand Down
2 changes: 1 addition & 1 deletion java/web/src/main/webapp/WEB-INF/extensions-servlet.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd">
<security:global-method-security secured-annotations="enabled" />
<security:method-security secured-enabled="true"/>
<mvc:annotation-driven/>
<context:component-scan base-package="it.geosolutions.mapstore.controllers.extensions" />
<!-- TODO: remove these duplucations -->
Expand Down
2 changes: 1 addition & 1 deletion java/web/src/main/webapp/WEB-INF/loadAssets-servlet.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd">
<security:global-method-security secured-annotations="enabled" />
<security:method-security secured-enabled="true"/>
<mvc:annotation-driven/>
<context:component-scan base-package="it.geosolutions.mapstore.controllers.rest.config" />
<!-- TODO: remove these duplucations -->
Expand Down
21 changes: 2 additions & 19 deletions java/web/src/main/webapp/WEB-INF/web.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4"
<web-app id="WebApp_ID" version="6.0"
xmlns:javaee="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_6_0.xsd">

<!-- pick up all spring application contexts -->
<context-param>
Expand Down Expand Up @@ -54,23 +54,6 @@
<url-pattern>/rest/*</url-pattern>
</filter-mapping>

<!-- GZip compression -->
<filter>
<filter-name>CompressionFilter</filter-name>
<filter-class>net.sf.ehcache.constructs.web.filter.GzipFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>CompressionFilter</filter-name>
<url-pattern>*.css</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>CompressionFilter</filter-name>
<url-pattern>*.html</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>CompressionFilter</filter-name>
<url-pattern>*.js</url-pattern>
</filter-mapping>
<!-- Cache management -->
<filter>
<filter-name>noCacheFilter</filter-name>
Expand Down
Loading
Loading