This is an automated email from the ASF dual-hosted git repository.
mawiesne pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/opennlp-site.git
The following commit(s) were added to refs/heads/main by this push:
new 39e40146d Adjusts website to include OpenNLP 3.0.0-M2 + 2.5.8
39e40146d is described below
commit 39e40146d64679527b961b9d32143277b7a441a8
Author: Martin Wiesner <[email protected]>
AuthorDate: Tue Mar 31 08:50:07 2026 +0200
Adjusts website to include OpenNLP 3.0.0-M2 + 2.5.8
---
.github/workflows/main.yml | 4 +-
pom.xml | 80 +++++++++++++++++----------
src/main/jbake/assets/doap_opennlp.rdf | 4 +-
src/main/jbake/content/docs/index.ad | 49 +++++++++++-----
src/main/jbake/content/docs/legacy.ad | 9 +++
src/main/jbake/content/gradle-dependency.ad | 59 +++++++++-----------
src/main/jbake/content/maven-dependency.ad | 42 ++++++++------
src/main/jbake/content/news/index.html | 2 +-
src/main/jbake/content/news/release-258.ad | 50 +++++++++++++++++
src/main/jbake/content/news/release-300-M2.ad | 68 +++++++++++++++++++++++
src/main/jbake/jbake.properties | 4 +-
11 files changed, 269 insertions(+), 102 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 2988a4b72..c35345a5d 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -75,4 +75,6 @@ jobs:
[ -d target/opennlp-site/docs/2.5.6 ] && echo 'docs for 2.5.6 exists'
[ -d target/opennlp-site/docs/2.5.6.1 ] && echo 'docs for 2.5.6.1
exists'
[ -d target/opennlp-site/docs/2.5.7 ] && echo 'docs for 2.5.7 exists'
- [ -d target/opennlp-site/docs/3.0.0-M1 ] && echo 'docs for 3.0.0-M1
exists'
\ No newline at end of file
+ [ -d target/opennlp-site/docs/2.5.8 ] && echo 'docs for 2.5.8 exists'
+ [ -d target/opennlp-site/docs/3.0.0-M1 ] && echo 'docs for 3.0.0-M1
exists'
+ [ -d target/opennlp-site/docs/3.0.0-M2 ] && echo 'docs for 3.0.0-M2
exists'
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 69c3718f8..e188021d0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -573,36 +573,56 @@
<outputDirectory>${project.build.directory}/distr/2.5.6</outputDirectory>
<excludes>**/lib/**/*</excludes>
</artifactItem>
- <artifactItem>
- <groupId>org.apache.opennlp</groupId>
- <artifactId>opennlp-distr</artifactId>
- <version>2.5.6.1</version>
- <overWrite>false</overWrite>
- <type>zip</type>
- <classifier>bin</classifier>
-
<outputDirectory>${project.build.directory}/distr/2.5.6.1</outputDirectory>
- <excludes>**/lib/**/*</excludes>
- </artifactItem>
- <artifactItem>
- <groupId>org.apache.opennlp</groupId>
- <artifactId>opennlp-distr</artifactId>
- <version>2.5.7</version>
- <overWrite>false</overWrite>
- <type>zip</type>
- <classifier>bin</classifier>
-
<outputDirectory>${project.build.directory}/distr/2.5.7</outputDirectory>
- <excludes>**/lib/**/*</excludes>
- </artifactItem>
- <artifactItem>
- <groupId>org.apache.opennlp</groupId>
- <artifactId>opennlp-distr</artifactId>
- <version>3.0.0-M1</version>
- <overWrite>false</overWrite>
- <type>zip</type>
- <classifier>bin</classifier>
-
<outputDirectory>${project.build.directory}/distr/3.0.0-M1</outputDirectory>
- <excludes>**/lib/**/*</excludes>
- </artifactItem>
+ <artifactItem>
+ <groupId>org.apache.opennlp</groupId>
+ <artifactId>opennlp-distr</artifactId>
+ <version>2.5.6.1</version>
+ <overWrite>false</overWrite>
+ <type>zip</type>
+ <classifier>bin</classifier>
+
<outputDirectory>${project.build.directory}/distr/2.5.6.1</outputDirectory>
+ <excludes>**/lib/**/*</excludes>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.apache.opennlp</groupId>
+ <artifactId>opennlp-distr</artifactId>
+ <version>2.5.7</version>
+ <overWrite>false</overWrite>
+ <type>zip</type>
+ <classifier>bin</classifier>
+
<outputDirectory>${project.build.directory}/distr/2.5.7</outputDirectory>
+ <excludes>**/lib/**/*</excludes>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.apache.opennlp</groupId>
+ <artifactId>opennlp-distr</artifactId>
+ <version>2.5.8</version>
+ <overWrite>false</overWrite>
+ <type>zip</type>
+ <classifier>bin</classifier>
+
<outputDirectory>${project.build.directory}/distr/2.5.8</outputDirectory>
+ <excludes>**/lib/**/*</excludes>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.apache.opennlp</groupId>
+ <artifactId>opennlp-distr</artifactId>
+ <version>3.0.0-M1</version>
+ <overWrite>false</overWrite>
+ <type>zip</type>
+ <classifier>bin</classifier>
+
<outputDirectory>${project.build.directory}/distr/3.0.0-M1</outputDirectory>
+ <excludes>**/lib/**/*</excludes>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.apache.opennlp</groupId>
+ <artifactId>opennlp-distr</artifactId>
+ <version>3.0.0-M2</version>
+ <overWrite>false</overWrite>
+ <type>zip</type>
+ <classifier>bin</classifier>
+
<outputDirectory>${project.build.directory}/distr/3.0.0-M2</outputDirectory>
+ <excludes>**/lib/**/*</excludes>
+ </artifactItem>
</artifactItems>
</configuration>
</execution>
diff --git a/src/main/jbake/assets/doap_opennlp.rdf
b/src/main/jbake/assets/doap_opennlp.rdf
index 475dff35b..bf573f60c 100644
--- a/src/main/jbake/assets/doap_opennlp.rdf
+++ b/src/main/jbake/assets/doap_opennlp.rdf
@@ -37,8 +37,8 @@
<release>
<Version>
<name>Apache OpenNLP</name>
- <created>2026-02-23</created>
- <revision>3.0.0-M1</revision>
+ <created>2026-03-31</created>
+ <revision>3.0.0-M2</revision>
</Version>
</release>
<repository>
diff --git a/src/main/jbake/content/docs/index.ad
b/src/main/jbake/content/docs/index.ad
index d12552a05..061bd1681 100755
--- a/src/main/jbake/content/docs/index.ad
+++ b/src/main/jbake/content/docs/index.ad
@@ -23,26 +23,45 @@
:idprefix:
There exists a manual and Javadoc API documentation for Apache OpenNLP.
-The manual explains how the various OpenNLP components can be used and trained.
+The OpenNLP _developer manual_ explains how the various OpenNLP components can
be used and trained.
NOTE: All the documentation is also included in the binary distribution.
-== Apache OpenNLP {opennlp_3x_version} documentation
+== Apache OpenNLP {opennlp_3x_version}
-* link:/docs/{opennlp_3x_version}/manual/opennlp.html[Apache OpenNLP Manual]
-* link:/docs/{opennlp_3x_version}/opennlp.pdf[Apache OpenNLP PDF Manual]
-* link:/docs/{opennlp_3x_version}/apidocs/opennlp-tools/index.html[Apache
OpenNLP Tools Javadoc]
-// FIXME: Current M1 artifact only contains tools javadoc - see
https://issues.apache.org/jira/browse/OPENNLP-1803
-// *
link:/docs/{opennlp_3x_version}/apidocs/opennlp-tools-models/index.html[Apache
OpenNLP Tools Models Javadoc]
-// * link:/docs/{opennlp_3x_version}/apidocs/opennlp-uima/index.html[Apache
OpenNLP UIMA Javadoc]
-// *
link:/docs/{opennlp_3x_version}/apidocs/opennlp-morfologik-addon/index.html[Apache
OpenNLP Morfologik Addon Javadoc]
+=== Developer documentation
-== Apache OpenNLP {opennlp_version} documentation
+* link:/docs/{opennlp_3x_version}/manual/opennlp.html[Apache OpenNLP Developer
Manual (HTML)]
+* link:/docs/{opennlp_3x_version}/opennlp.pdf[Apache OpenNLP Developer Manual
(PDF)]
+
+=== API Javadoc
+
+* link:/docs/{opennlp_3x_version}/apidocs/opennlp-api/index.html[Apache
OpenNLP API]
+* link:/docs/{opennlp_3x_version}/apidocs/opennlp-cli/index.html[Apache
OpenNLP CLI]
+* link:/docs/{opennlp_3x_version}/apidocs/opennlp-dl/index.html[Apache OpenNLP
DL]
+* link:/docs/{opennlp_3x_version}/apidocs/opennlp-formats/index.html[Apache
OpenNLP Formats]
+* link:/docs/{opennlp_3x_version}/apidocs/opennlp-ml-bayes/index.html[Apache
OpenNLP ML Bayes]
+* link:/docs/{opennlp_3x_version}/apidocs/opennlp-ml-commons/index.html[Apache
OpenNLP ML Commons]
+* link:/docs/{opennlp_3x_version}/apidocs/opennlp-ml-maxent/index.html[Apache
OpenNLP ML Maxent]
+*
link:/docs/{opennlp_3x_version}/apidocs/opennlp-ml-perceptron/index.html[Apache
OpenNLP ML Perceptron]
+*
link:/docs/{opennlp_3x_version}/apidocs/opennlp-model-resolver/index.html[Apache
OpenNLP Model resolver]
+* link:/docs/{opennlp_3x_version}/apidocs/opennlp-morfologik/index.html[Apache
OpenNLP Morfologik]
+* link:/docs/{opennlp_3x_version}/apidocs/opennlp-runtime/index.html[Apache
OpenNLP Runtime]
+* link:/docs/{opennlp_3x_version}/apidocs/opennlp-tools/index.html[Apache
OpenNLP Tools]
+* link:/docs/{opennlp_3x_version}/apidocs/opennlp-uima/index.html[Apache
OpenNLP UIMA]
+
+== Apache OpenNLP {opennlp_version}
+
+=== Developer documentation
* link:/docs/{opennlp_version}/manual/opennlp.html[Apache OpenNLP Manual]
-* link:/docs/{opennlp_version}/apidocs/opennlp-tools/index.html[Apache OpenNLP
Tools Javadoc]
-* link:/docs/{opennlp_version}/apidocs/opennlp-tools-models/index.html[Apache
OpenNLP Tools Models Javadoc]
-* link:/docs/{opennlp_version}/apidocs/opennlp-uima/index.html[Apache OpenNLP
UIMA Javadoc]
-*
link:/docs/{opennlp_version}/apidocs/opennlp-morfologik-addon/index.html[Apache
OpenNLP Morfologik Addon Javadoc]
+* link:/docs/{opennlp_version}/opennlp.pdf[Apache OpenNLP PDF Manual]
+
+=== API Javadoc
+
+* link:/docs/{opennlp_version}/apidocs/opennlp-tools/index.html[Apache OpenNLP
Tools]
+* link:/docs/{opennlp_version}/apidocs/opennlp-tools-models/index.html[Apache
OpenNLP Tools Models]
+* link:/docs/{opennlp_version}/apidocs/opennlp-uima/index.html[Apache OpenNLP
UIMA]
+*
link:/docs/{opennlp_version}/apidocs/opennlp-morfologik-addon/index.html[Apache
OpenNLP Morfologik Addon]
-TIP: Documentation for archived releases can be found
link:/docs/legacy.html[here].
\ No newline at end of file
+NOTE: The documentation of archived releases can be found
link:/docs/legacy.html[here].
\ No newline at end of file
diff --git a/src/main/jbake/content/docs/legacy.ad
b/src/main/jbake/content/docs/legacy.ad
index d9623570c..cc530205d 100755
--- a/src/main/jbake/content/docs/legacy.ad
+++ b/src/main/jbake/content/docs/legacy.ad
@@ -27,6 +27,15 @@ WARNING: This page contains the archived documentation.
Please refer to link:/do
There exists a manual and Javadoc API documentation for Apache OpenNLP. The
manual
explains how the various OpenNLP components can be used and trained.
+== Apache OpenNLP 3.0.0-M1 documentation
+* link:/docs/3.0.0-M1/manual/opennlp.html[Apache OpenNLP Manual]
+* link:/docs/3.0.0-M1/opennlp.pdf[Apache OpenNLP PDF Manual]
+* link:/docs/3.0.0-M1/apidocs/opennlp-dl/index.html[Apache OpenNLP DL Javadoc]
+* link:/docs/3.0.0-M1/apidocs/opennlp-tools-models/index.html[Apache OpenNLP
Model resolver Javadoc]
+* link:/docs/3.0.0-M1/apidocs/opennlp-morfologik-addon/index.html[Apache
OpenNLP Morfologik Javadoc]
+* link:/docs/3.0.0-M1/apidocs/opennlp-tools/index.html[Apache OpenNLP Tools
Javadoc]
+* link:/docs/3.0.0-M1/apidocs/opennlp-uima/index.html[Apache OpenNLP UIMA
Javadoc]
+
== Apache OpenNLP 2.5.7 documentation
* link:/docs/2.5.7/manual/opennlp.html[Apache OpenNLP Manual]
* link:/docs/2.5.7/apidocs/opennlp-tools/index.html[Apache OpenNLP Tools
Javadoc]
diff --git a/src/main/jbake/content/gradle-dependency.ad
b/src/main/jbake/content/gradle-dependency.ad
index 48c9818e1..590448215 100755
--- a/src/main/jbake/content/gradle-dependency.ad
+++ b/src/main/jbake/content/gradle-dependency.ad
@@ -24,28 +24,37 @@
:toc: preamble
:toc-title: Content
-Apache OpenNLP is also distributed via the Maven Central Repository.
-The maven artifacts are located
https://repo1.maven.org/maven2/org/apache/opennlp/[here].
+Apache OpenNLP is also distributed via
link:https://repo1.maven.org/maven2/org/apache/opennlp/[Maven Central
Repository].
The Apache OpenNLP project publishes the library, javadoc and source code jars.
-To use OpenNLP in your https://gradle.org[Gradle,window=_blank] project,
specify exactly one of the following dependencies,
+To use OpenNLP in your link:https://gradle.org[Gradle,window=_blank] project,
specify exactly one of the following dependencies,
all transient dependencies are resolved automatically.
-== 3.x Series
+== Apache OpenNLP 3.x Series
+=== Runtime dependency
To use OpenNLP as a library define the following dependency:
[source,xml,indent=0,subs=attributes+]
----
-compile group: "org.apache.opennlp", name: "opennlp-runtime", version:
"${opennlp_3x_version}"
-compile group: "org.apache.opennlp", name: "opennlp-models", version:
"${opennlp_3x_version}"
+compile group: "org.apache.opennlp", name: "opennlp-runtime", version:
"{opennlp_3x_version}"
----
-Only opennlp-runtime needs to be added as a dependency, and you can add
additional modules
-(e.g. opennlp-ml-maxent, opennlp-models, etc.) as required by your project.
+NOTE: Only `opennlp-runtime` needs to be added as a dependency, and you can
add additional modules
+(e.g. `opennlp-ml-maxent`, `opennlp-dl`, etc.) as required.
-== 2.x Series
-=== OpenNLP Tools Dependency
+=== Model Resolver dependency
+If model classpath scanning support is required, just add:
+
+[source,xml,indent=0,subs=attributes+]
+----
+compile group: "org.apache.opennlp", name: "opennlp-model-resolver", version:
"{opennlp_3x_version}"
+----
+
+TIP: Other components can be declared similarily as in the previous 2.x
release, see below.
+
+== Apache OpenNLP 2.x Series
+=== Tools dependency
To use the OpenNLP Tools define the following dependency:
@@ -56,7 +65,7 @@ dependencies {
}
----
-=== OpenNLP Tools Models Dependency
+=== Tools Model dependency
To use the OpenNLP Tools Models define the following dependency:
@@ -67,7 +76,7 @@ dependencies {
}
----
-=== OpenNLP DL Dependency
+=== DL dependency
To use the OpenNLP DL define the following dependency:
@@ -78,7 +87,7 @@ dependencies {
}
----
-=== OpenNLP DL GPU Dependency
+=== DL GPU dependency
To use the OpenNLP DL GPU define the following dependency:
@@ -89,7 +98,7 @@ dependencies {
}
----
-=== OpenNLP UIMA Annotators Dependency
+=== UIMA Annotators dependency
To use the OpenNLP UIMA Annotators define the following dependency:
@@ -100,7 +109,7 @@ dependencies {
}
----
-=== OpenNLP Morfologik AddOn Dependency
+=== Morfologik AddOn dependency
To use the OpenNLP Morfologik-Addon define the following dependency:
@@ -109,22 +118,4 @@ To use the OpenNLP Morfologik-Addon define the following
dependency:
dependencies {
implementation group: 'org.apache.opennlp', name:
'opennlp-morfologik-addon', version: '{opennlp_version}'
}
-----
-
-== SNAPSHOTS
-=== OpenNLP Tools SNAPSHOT Dependency
-
-To use the current version of the _main_ branch define the following
dependency:
-
-----
-dependencies {
- implementation group: 'org.apache.opennlp', name: 'opennlp-tools', version:
'2.5.1-SNAPSHOT'
-}
-----
-
-NOTE: All `SNAPSHOT` dependencies require the following Maven repository:
-
-[source,indent=0,subs=attributes+]
-----
- https://repository.apache.org/content/repositories/snapshots/
-----
+----
\ No newline at end of file
diff --git a/src/main/jbake/content/maven-dependency.ad
b/src/main/jbake/content/maven-dependency.ad
index f39dd3b40..67092f62a 100755
--- a/src/main/jbake/content/maven-dependency.ad
+++ b/src/main/jbake/content/maven-dependency.ad
@@ -24,36 +24,44 @@
:toc: preamble
:toc-title: Content
-Apache OpenNLP is also distributed via the Maven Central Repository.
-The maven artifacts are located
https://repo1.maven.org/maven2/org/apache/opennlp/[here].
+Apache OpenNLP is also distributed via
link:https://repo1.maven.org/maven2/org/apache/opennlp/[Maven Central
Repository].
The Apache OpenNLP project publishes the library, javadoc and source code jars.
-To use OpenNLP in your https://maven.apache.org[Maven,window=_blank] project,
specify exactly one of the following dependencies,
+To use OpenNLP in your link:https://maven.apache.org[Maven,window=_blank]
project, specify exactly one of the following dependencies,
all transient dependencies are resolved automatically.
-== 3.x Series
+== Apache OpenNLP 3.x Series
To use OpenNLP as a library define the following dependency:
+=== Runtime dependency
[source,xml,indent=0,subs=attributes+]
----
<dependency>
<groupId>org.apache.opennlp</groupId>
<artifactId>opennlp-runtime</artifactId>
- <version>${opennlp_3x_version}</version>
+ <version>{opennlp_3x_version}</version>
</dependency>
-<!-- if model support is needed -->
+----
+
+NOTE: Only `opennlp-runtime` needs to be added as a dependency, and you can
add additional modules
+(e.g. `opennlp-ml-maxent`, `opennlp-dl`, etc.) as required.
+
+=== Model Resolver dependency
+If model classpath scanning support is required, just add:
+
+[source,xml,indent=0,subs=attributes+]
+----
<dependency>
<groupId>org.apache.opennlp</groupId>
- <artifactId>opennlp-models</artifactId>
- <version>${opennlp_3x_version}</version>
+ <artifactId>opennlp-model-resolver</artifactId>
+ <version>{opennlp_3x_version}</version>
</dependency>
----
-Only opennlp-runtime needs to be added as a dependency, and you can add
additional modules
-(e.g. opennlp-ml-maxent, opennlp-models, etc.) as required by your project.
+TIP: Other components can be declared similarily as in the previous 2.x
release, see below. Check the Developer Manual for a detailed outline of
existing components.
-== 2.x Series
-=== OpenNLP Tools Dependency
+== Apache OpenNLP 2.x Series
+=== Tools dependency
To use the OpenNLP Tools define the following dependency:
[source,xml,indent=0,subs=attributes+]
@@ -65,7 +73,7 @@ To use the OpenNLP Tools define the following dependency:
</dependency>
----
-=== OpenNLP Tools Models Dependency
+=== Tools Models dependency
To use the OpenNLP Tools Models define the following dependency:
[source,xml,indent=0,subs=attributes+]
@@ -77,7 +85,7 @@ To use the OpenNLP Tools Models define the following
dependency:
</dependency>
----
-=== OpenNLP DL Dependency
+=== DL dependency
To use the OpenNLP DL define the following dependency:
[source,xml,indent=0,subs=attributes+]
@@ -89,7 +97,7 @@ To use the OpenNLP DL define the following dependency:
</dependency>
----
-=== OpenNLP DL GPU Dependency
+=== DL GPU dependency
To use the OpenNLP DL GPU define the following dependency:
[source,xml,indent=0,subs=attributes+]
@@ -101,7 +109,7 @@ To use the OpenNLP DL GPU define the following dependency:
</dependency>
----
-=== OpenNLP UIMA Annotators Dependency
+=== UIMA Annotators dependency
To use the OpenNLP UIMA Annotators define the following dependency:
[source,xml,indent=0,subs=attributes+]
@@ -113,7 +121,7 @@ To use the OpenNLP UIMA Annotators define the following
dependency:
</dependency>
----
-=== OpenNLP Morfologik AddOn Dependency
+=== Morfologik AddOn dependency
To use the OpenNLP Morfologik-Addon define the following dependency:
[source,xml,indent=0,subs=attributes+]
diff --git a/src/main/jbake/content/news/index.html
b/src/main/jbake/content/news/index.html
index 0c1c6a10c..dd5112387 100644
--- a/src/main/jbake/content/news/index.html
+++ b/src/main/jbake/content/news/index.html
@@ -1,5 +1,5 @@
title=News
-date=2026-02-23
+date=2026-03-31
type=news
status=published
~~~~~~
diff --git a/src/main/jbake/content/news/release-258.ad
b/src/main/jbake/content/news/release-258.ad
new file mode 100644
index 000000000..430e71569
--- /dev/null
+++ b/src/main/jbake/content/news/release-258.ad
@@ -0,0 +1,50 @@
+////
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+////
+= Apache OpenNLP 2.5.8 released
+Apache OpenNLP
+2026-03-31
+:jbake-type: post
+:jbake-tags: community
+:jbake-status: published
+:category: news
+:idprefix:
+
+The Apache OpenNLP team is pleased to announce the release of Apache OpenNLP
2.5.8.
+
+The Apache OpenNLP library is a machine learning based toolkit for the
processing of natural language text.
+
+It supports the most common NLP tasks, such as tokenization, sentence
segmentation, part-of-speech tagging, named entity extraction, chunking,
parsing, and coreference resolution.
+
+Apache OpenNLP 2.5.8 binary and source distributions are available for
download from our link:/download.html[download page].
+
+The OpenNLP library is distributed by Maven Central as well. See the
link:/maven-dependency.html[Maven dependency] page for more details.
+
+== What's new in Apache OpenNLP 2.5.8
+
+Summary:
+
+- Bug Fixes:
+** The SentenceDetector got three fixes in handling edge cases with
abbreviation dictionaries (OPENNLP-1809, OPENNLP-1810, OPENNLP-1811) - NOTE:
These fixes have been back-ported to OpenNLP 2.5.8.
+- Improvements:
+** The OpenNLP developer manual (HTML + PDF) got an uplift for the UIMA
documentation part, being largely extended (OPENNLP-49)
+** Some updates of dependencies
+
+For further details, check the full list of
link:https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311215&version=12356577[changes,role=external,window=_blank]
via the project's issue tracker.
+
+--The Apache OpenNLP Team
diff --git a/src/main/jbake/content/news/release-300-M2.ad
b/src/main/jbake/content/news/release-300-M2.ad
new file mode 100644
index 000000000..49ee7cead
--- /dev/null
+++ b/src/main/jbake/content/news/release-300-M2.ad
@@ -0,0 +1,68 @@
+////
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+////
+= Apache OpenNLP 3.0.0-M2 released
+Apache OpenNLP
+2026-03-31
+:jbake-type: post
+:jbake-tags: community
+:jbake-status: published
+:category: news
+:idprefix:
+
+The Apache OpenNLP team is pleased to announce the release of Apache OpenNLP
3.0.0-M2.
+
+The Apache OpenNLP library is a machine learning based toolkit for the
processing of natural language text.
+
+It supports the most common NLP tasks, such as tokenization, sentence
segmentation, part-of-speech tagging, named entity extraction, chunking,
parsing, and coreference resolution.
+
+Apache OpenNLP 3.0.0-M2 binary and source distributions are available for
download from our link:/download.html[download page].
+
+The OpenNLP library is distributed by Maven Central as well. See the
link:/maven-dependency.html[Maven dependency] page for more details.
+
+== What's new
+
+The 3.x release line of Apache OpenNLP introduces no known breaking changes
while significantly modularizing the project to improve library usage and
future extensibility.
+The core API remains stable and fully compatible with 2.x, so existing
projects can continue using the opennlp-tools artifact without modifications.
+
+Key Highlights and Recommendations:
+
+- Notable Changes:
+ ** The minimum Java compiler level was raised to *21* (OPENNLP-1735)
+ ** The artifact 'opennlp-models' was renamed to 'opennlp-model-resolver'. It
can be used to detect and load OpenNLP compliant models from the classpath
(OPENNLP-1807)
+- New Features:
+ ** Apache OpenNLP can now detect sentiment from text (OPENNLP-855)
+ ** The eval corpus format for GermEval2014 is now supported (OPENNLP-976)
+ ** Document Categorization is now possible via a binding to LibSVM
(OPENNLP-1808)
+- Bug Fixes:
+ ** The SentenceDetector got three fixes in handling edge cases with
abbreviation dictionaries (OPENNLP-1809, OPENNLP-1810, OPENNLP-1811) - NOTE:
These fixes have been back-ported to OpenNLP 2.5.8.
+- Improvements:
+ ** Language Codes passed in are now stricter validated to comply with ISO-693
standard (OPENNLP-991)
+ ** The OpenNLP developer manual (HTML + PDF) got an uplift for the UIMA
documentation part, being largely extended (OPENNLP-49)
+
+For further details, check the full list of
link:https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311215&version=12356724[changes,role=external,window=_blank]
via the project's issue tracker.
+
+== Migrating from 2.x to 3.x
+
+The 3.x release line of Apache OpenNLP upgrades the compiler level to Java 21
and modularizes the project for better usage as a library and to support future
extensibility. The core API remains stable and compatible with 2.x, but the
project structure has been reorganized into multiple modules.
+
+That means, that you can continue to use the previous opennlp-tools artifact
as a dependency. However, we strongly recommend to switch to the new modular
structure and import only the components you need, which will result in a
smaller dependency footprint.
+
+Only opennlp-runtime needs to be added as a dependency, and you can add
additional modules (e.g. opennlp-ml-maxent, opennlp-models, etc.) as required
by your project. For users of the traditional CLI toolkit, nothing changes with
the 3.x release line. CLI usage remains stable
+
+--The Apache OpenNLP Team
diff --git a/src/main/jbake/jbake.properties b/src/main/jbake/jbake.properties
index 759ec0704..721a1e659 100755
--- a/src/main/jbake/jbake.properties
+++ b/src/main/jbake/jbake.properties
@@ -32,8 +32,8 @@ template.news.file=news.ftl
#db.store=local
asciidoctor.attributes.export=true
asciidoctor.attributes.export.prefix=
-opennlp.version=2.5.7
-opennlp.3x.version=3.0.0-M1
+opennlp.version=2.5.8
+opennlp.3x.version=3.0.0-M2
opennlp.next.version=3.0.0-SNAPSHOT
opennlp.models=ud-models-1.3
opennlp.downloads=https://downloads.apache.org/opennlp/models