You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Upgrade build to use Java 17 as the baseline version.
* Configure maven-enforcer-plugin to require Java 17.
* Upgrade GitHub Actions workflows to use Java 17.
* Update documentation for Java 17, including developer and user guides.
* Upgrade Jetty from 9.x to 10.0.25, the last version to support `javax.servlet`.
* Replace `com.google.common.base.Objects.equal()` with `java.util.Objects.equal()`.
* Update test configurations to use `localhost:8080` instead of deprecated demo servers.
* Fix REST integration tests and address other issues found during local testing on Java 17.
* Increase heap size for the QA build profile.
* Fix swapped Assert.equals arguments
Plugin version upgrades:
* maven-jar-plugin 2.4 -> 3.0.2
* maven-enforcer-plugin 3.0.0-M3 -> 3.5.0
* maven-compiler-plugin 3.10.1 -> 3.14.0
* maven-surefire-plugin 2.22.1 -> 3.5.3
* maven-failsafe-plugin 3.3.1 -> 3.5.3
* maven-war-plugin 3.3.2 -> 3.4.0
* jetty-maven-plugin 9.4.14.v20181114 -> 10.0.25
* maven-javadoc-plugin 3.4.1 -> 3.11.2
* maven-checkstyle-plugin 3.1.1 -> 3.6.0
Co-authored-by: Andrea Aime <[email protected]>
Co-authored-by: Jody Garnett <[email protected]>
Copy file name to clipboardExpand all lines: documentation/en/user/source/configuration/storage.rst
+31-27Lines changed: 31 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,53 +23,57 @@ does not explicitly indicate which blobstore shall be used.
23
23
24
24
.. note:: **there will always be a "default" blobstore**. If a blobstore to be used by default is not explicitly configured, one will
25
25
be created automatically following the legacy cache location lookup mechanism used in versions prior to 1.8.0.
26
-
26
+
27
+
.. _configuration.file
28
+
27
29
Configuration File
28
30
------------------
29
31
30
-
The location of the configuration file, :file:`geowebcache.xml`, will be defined by the ``GEOWEBCACHE_CACHE_DIR`` application argument.
32
+
The location of the configuration file, :file:`geowebcache.xml`, will be defined by the ``GEOWEBCACHE_CACHE_DIR`` application parameter.
31
33
32
-
There are a few ways to define this argument:
34
+
There are a few ways to define ``GEOWEBCACHE_CACHE_DIR``:
33
35
34
36
* JVM system environment variable
35
37
* Servlet context parameteter
36
38
* Operating system environment variable
37
39
38
40
The variable in all cases is defined as ``GEOWEBCACHE_CACHE_DIR``.
39
41
40
-
To set as a JVM system environment variable, add the parameter ``-DGEOWEBCACHE_CACHE_DIR=<path>`` to your servlet startup script.
41
-
In Tomcat, this can be added to the Java Options (JAVA_OPTS) variable in the startup script.
42
-
43
-
To set as a servlet context parameter, edit the GeoWebCache :file:`web.xml` file and add the following code:
44
-
45
-
.. code-block:: xml
46
-
47
-
<context-param>
48
-
<param-name>GEOWEBCACHE_CACHE_DIR</param-name>
49
-
<param-value>PATH</param-value>
50
-
</context-param>
51
-
52
-
where ``PATH`` is the location of the cache directory.
42
+
1. To set as a JVM system environment variable, add the parameter ``-DGEOWEBCACHE_CACHE_DIR=<path>`` to your servlet startup script.
53
43
54
-
To set as an operating system environment variable, run one of the the following commands:
44
+
In Tomcat, this can be added to the Java Options (``JAVA_OPTS``) variable in the startup script, or by creating :file:`setenv.sh` / :file:`setenv.bat`:
55
45
56
-
Windows::
46
+
2. To set as a servlet context parameter, edit the GeoWebCache :file:`web.xml` file and add the following code:
57
47
58
-
> set GEOWEBCACHE_CACHE_DIR=<path>
48
+
.. code-block:: xml
49
+
50
+
<context-param>
51
+
<param-name>GEOWEBCACHE_CACHE_DIR</param-name>
52
+
<param-value>PATH</param-value>
53
+
</context-param>
59
54
60
-
Linux/OS X::
55
+
where ``PATH`` is the location of the cache directory.
61
56
62
-
$ export GEOWEBCACHE_CACHE_DIR=<path>
57
+
3. To set as an operating system environment variable, run one of the the following commands:
63
58
64
-
Finally, although not recommended, it is possible to set this location directly in the :file:`geowebcache-core-context.xml` file. Uncomment this code:
59
+
Windows::
60
+
61
+
> set GEOWEBCACHE_CACHE_DIR=<path>
62
+
63
+
Linux/OS X::
64
+
65
+
$ export GEOWEBCACHE_CACHE_DIR=<path>
65
66
66
-
.. code-block:: xml
67
+
4. Not recommended: It is possible to set this location directly in the :file:`geowebcache-core-context.xml` file.
Copy file name to clipboardExpand all lines: documentation/en/user/source/development/index.rst
+12-9Lines changed: 12 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,11 +7,11 @@ You are encouraged to help contribute code to GeoWebCache. To do so, you will f
7
7
8
8
This is the current prerequisites:
9
9
10
-
* Java 8 (`OpenJDK <http://openjdk.java.net>`__ linux, `OpenJDK Temurin 8 <https://adoptium.net/?variant=openjdk8&jvmVariant=hotspot>` windows and macOS installers)
11
-
* `Maven <http://maven.apache.org/>`_
12
-
* `Git <http://git-scm.com>`_
10
+
* Java 17 (`OpenJDK <https://openjdk.java.net>`__ linux, `OpenJDK Temurin 17 <https://adoptium.net/temurin/releases/?variant=openjdk8&jvmVariant=hotspot&os=any&arch=any&version=17>` windows and macOS installers)
11
+
* `Maven <https://maven.apache.org/>`_
12
+
* `Git <https://git-scm.com>`_
13
13
14
-
Please make sure you use **Java 8** to compile to ensure that we don't accidentally use new features only available in Java 11.
14
+
Please make sure you use **Java 17** to compile to ensure that we don't accidentally use new features only available in Java 21.
15
15
16
16
You are encouraged to join the `GeoWebCache Developers mailing list <https://lists.sourceforge.net/lists/listinfo/geowebcache-devel>`__ to discuss your work. It is always a good idea to ask whether anyone else has already solved the same problem.
17
17
@@ -27,28 +27,28 @@ Setting Up
27
27
28
28
.. code-block:: bash
29
29
30
-
set JAVA_HOME=c:\Program Files\Temurin\jdk8u322-b06
30
+
set JAVA_HOME=c:\Program Files\Temurin\jdk-17.0.15_6
31
31
32
32
Linux/OS X:
33
33
34
34
.. code-block:: bash
35
35
36
-
export JAVA_HOME=/opt/jdk1.7.0_79
36
+
export JAVA_HOME=/opt/jdk-17.0.15_6
37
37
38
-
#. You can download maven from http://maven.apache.org/download.html, unpack and include the :file:`bin` directory in your PATH variable.
38
+
#. You can download maven from https://maven.apache.org/download.html, unpack and include the :file:`bin` directory in your PATH variable.
39
39
40
40
Windows:
41
41
42
42
.. code-block:: bash
43
43
44
-
set M2_HOME = C:\java\apache-maven-3.8.5
44
+
set M2_HOME = C:\java\apache-maven-3.9.5
45
45
set PATH=%PATH%;%M2_HOME%\bin;%JAVA_HOME%\bin
46
46
47
47
Linux:
48
48
49
49
.. code-block:: bash
50
50
51
-
export M2_HOME = ~/java/apache-maven-3.8.5
51
+
export M2_HOME = ~/java/apache-maven-3.9.5
52
52
export PATH=$PATH:$M2_HOME/bin:$JAVA_HOME/bin
53
53
54
54
For more detail instructions on maven see the `download page <http://maven.apache.org/download.cgi>`_.
@@ -89,6 +89,9 @@ Build
89
89
90
90
cd web
91
91
mvn jetty:run
92
+
93
+
The service is available on http://localhost:8081/geonetwork allowing local testing with http://localhost:8080/geoserver layers. To change the port number use ``jetty.http.port``
94
+
as describde in `jetty 10 documentation <https://jetty.org/docs/jetty/10/programming-guide/maven-jetty/jetty-maven-plugin.html>`_.
92
95
93
96
#. A WAR is built as the last step in ``mvn clean install`` above.
0 commit comments